You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Roberto Fonti (JIRA)" <ji...@apache.org> on 2006/09/19 20:56:22 UTC

[jira] Created: (JCR-575) unicode escapes in files generated by JJTree

unicode escapes in files generated by JJTree
--------------------------------------------

                 Key: JCR-575
                 URL: http://issues.apache.org/jira/browse/JCR-575
             Project: Jackrabbit
          Issue Type: Bug
         Environment: Windows
            Reporter: Roberto Fonti


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"


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (JCR-575) unicode escapes in files generated by JJTree

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated JCR-575:
------------------------------

    Component/s: jackrabbit-spi-commons
                 jackrabbit-core
       Priority: Trivial  (was: Major)

> unicode escapes in files generated by JJTree
> --------------------------------------------
>
>                 Key: JCR-575
>                 URL: https://issues.apache.org/jira/browse/JCR-575
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-core, jackrabbit-spi-commons
>         Environment: Windows
>            Reporter: Roberto Fonti
>            Priority: Trivial
>
> 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"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-575) unicode escapes in files generated by JJTree

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12640468#action_12640468 ] 

Jukka Zitting commented on JCR-575:
-----------------------------------

This seems to be fixed in JavaCC 4.0, see https://javacc.dev.java.net/issues/show_bug.cgi?id=81

I'll see if we could upgrade our JavaCC dependency.





> unicode escapes in files generated by JJTree
> --------------------------------------------
>
>                 Key: JCR-575
>                 URL: https://issues.apache.org/jira/browse/JCR-575
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-core, jackrabbit-spi-commons
>         Environment: Windows
>            Reporter: Roberto Fonti
>            Priority: Trivial
>
> 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"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-575) unicode escapes in files generated by JJTree

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting resolved JCR-575.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.0
         Assignee: Jukka Zitting

Fixed in trunk and 1.5 by upgrading to JavaCC 4.0.

> unicode escapes in files generated by JJTree
> --------------------------------------------
>
>                 Key: JCR-575
>                 URL: https://issues.apache.org/jira/browse/JCR-575
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-core, jackrabbit-spi-commons
>         Environment: Windows
>            Reporter: Roberto Fonti
>            Assignee: Jukka Zitting
>            Priority: Trivial
>             Fix For: 1.5.0
>
>
> 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"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.