0 Replies Latest reply on Apr 11, 2013 12:11 PM by Andy McC

    Problem with designer "losing" newline characters in Script Tasks

    Andy McC Newbie

      My set up: jBPM-5.4.0.Final, Windows 7 & 8.

       

      I have implemented a multi-line Java script in a Script Task using the default Eclipse tooling.

       

      When I deploy it in Guvnor and edit using Designer the script at first appears OK but on a second edit all the lines have been concatentated into a single statement.

       

      As my original script started with a comment line (which the old Eclipse tooling did by default), this resulted in the whole line being treated as a comment and my task not building/running correctly.

       

      Is this a known feature/bug? Is there a work around? (It sounds a bit like a windows/unix end of line issue).

       

      Many thanks

       

      Andy McC