So i hope i stated my question more precisely this time. EditRocket requires Sun Java 1.4 or greater. Launch the shell script: sh editrocket.sh (you may need to execute a chmod on editrocket.sh before launching - chmod 755 editrocket.sh) Solaris / Unix. ( i'm asking this again, because my previous post was marked duplicated with something which wasn't my problem. Navigate to the directory where you unzipped the file and then to the editrocket directory. I assume there's some freemarker setting to force it, but i can't find it.įor the moment, i'm replacing the \n for \r\n in Jython when the freemarker-engine provides a chuck of output to the callback routine.īut that replacing negatively impacts other parts of software 1) it results in all strings to be replaced which is resource intensive 2) some files come out differently than before which is not desired. ![]() The problem is that the JVM/freemarker runtime always prints LF, as if it replaces it itself.īut i need the \n to be as the platform, thus a CrLf since i'm on a Windows system. I tried injecting a newline with $ as suggested by this StackOverflow-post But it doesn't have any effect. For the CRLF the order should be rn, not vice versa. ![]() In this case, you can use a regular expression /nr/g to replace all possible linebreaks: All the occurrences above of nr are not in correct order. ![]() Jython 2.5.3 script to setup variables and execute the template engine AFAIK, the r symbol standalone is never used to make a line-break.Is there a way to instruct freemarker to use(force) CrLf instead of the LF character?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |