Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-575

unicode escapes in files generated by JJTree

    XMLWordPrintableJSON

Details

    Description

      Maven build fails on windows machines if sources are located in a directory starting with a 'u'. This is because files created by JJTree (javacc) put filename and path in a comment of the generated files, like this:

      /*@bgen(jjtree) Generated By:JJTree: Do not edit this line. D:\usr\projects\workspace\jackrabbit\target\generated-src\main\org\apache\jackrabbit\core\query\sql\JCRSQL.jj */

      The \u in interpreted as an escape characted and so you get a
      "BUILD FAILED ... Invalid escape character"

      Attachments

        Activity

          People

            jukkaz Jukka Zitting
            roberto Roberto Rabe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: