Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-901

SimpleTemplateEngine error :"Caught: Script1.groovy: 1: expecting anything but ''\n''; got it anyway @ line"

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-JSR-2
    • Fix Version/s: 1.0-JSR-3
    • Component/s: groovy-jdk
    • Labels:
      None
    • Environment:
      jdk 1.5.0_02, Windows XP Sp2,Groovy 1.0-JSR-2

      Description

      Simple program, but the result surprised me.
      The template should WYSIWYG, but in this version of SimpleTemplateEngine of Groovy, all text must be written in one row and must use "\n" instead of an enter press.
      I think this should be a bug.

      attachment is the simple program and template file it uses.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              sormuras sormuras
              Reporter:
              tiredhalt Alan L Zhang

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment