You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Eduardo Burgos (JIRA)" <ji...@apache.org> on 2007/04/17 21:07:15 UTC

[jira] Created: (JCR-848) javacc-maven-plugin version in jackrabbit-core pom file

javacc-maven-plugin version in jackrabbit-core pom file
-------------------------------------------------------

                 Key: JCR-848
                 URL: https://issues.apache.org/jira/browse/JCR-848
             Project: Jackrabbit
          Issue Type: Bug
          Components: core
         Environment: linux desktop, normal pc, java 1.5
            Reporter: Eduardo Burgos
            Priority: Minor


Hi, I noticed that the pom.xml file of the jackrabbit-core project needs to specify version "2.1" for the javacc-maven-plugin because if it takes the 2.2-SNAPSHOT it won't compile. I put the 2.1 version and it worked fine.

<plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>javacc-maven-plugin</artifactId>
        <version>2.1</version>
        <executions>


Im working with revision 529712 [April 17, 2007, 15:05 EST]

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


[jira] Reopened: (JCR-848) javacc-maven-plugin version in jackrabbit-core pom file

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

Marcel Reutegger reopened JCR-848:
----------------------------------

      Assignee: Marcel Reutegger  (was: Jukka Zitting)

> javacc-maven-plugin version in jackrabbit-core pom file
> -------------------------------------------------------
>
>                 Key: JCR-848
>                 URL: https://issues.apache.org/jira/browse/JCR-848
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: core
>         Environment: linux desktop, normal pc, java 1.5
>            Reporter: Eduardo Burgos
>            Assignee: Marcel Reutegger
>            Priority: Minor
>         Attachments: jackrabbit-core.patch
>
>
> Hi, I noticed that the pom.xml file of the jackrabbit-core project needs to specify version "2.1" for the javacc-maven-plugin because if it takes the 2.2-SNAPSHOT it won't compile. I put the 2.1 version and it worked fine.
> <plugin>
>         <groupId>org.codehaus.mojo</groupId>
>         <artifactId>javacc-maven-plugin</artifactId>
>         <version>2.1</version>
>         <executions>
> Im working with revision 529712 [April 17, 2007, 15:05 EST]

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


[jira] Resolved: (JCR-848) javacc-maven-plugin version in jackrabbit-core pom file

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

Jukka Zitting resolved JCR-848.
-------------------------------

    Resolution: Cannot Reproduce
      Assignee: Jukka Zitting

I'm sorry, I still cannot reproduce this. I've tried multiple combinations of Maven 2.0.x, JDK 1.4/5/6 and Linux/Windows.

Please reopen with exact Maven and JDK versions if you still see this (after cleaning your local Maven repository).

> javacc-maven-plugin version in jackrabbit-core pom file
> -------------------------------------------------------
>
>                 Key: JCR-848
>                 URL: https://issues.apache.org/jira/browse/JCR-848
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: core
>         Environment: linux desktop, normal pc, java 1.5
>            Reporter: Eduardo Burgos
>            Assignee: Jukka Zitting
>            Priority: Minor
>
> Hi, I noticed that the pom.xml file of the jackrabbit-core project needs to specify version "2.1" for the javacc-maven-plugin because if it takes the 2.2-SNAPSHOT it won't compile. I put the 2.1 version and it worked fine.
> <plugin>
>         <groupId>org.codehaus.mojo</groupId>
>         <artifactId>javacc-maven-plugin</artifactId>
>         <version>2.1</version>
>         <executions>
> Im working with revision 529712 [April 17, 2007, 15:05 EST]

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


[jira] Updated: (JCR-848) javacc-maven-plugin version in jackrabbit-core pom file

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

Ed Burnette updated JCR-848:
----------------------------

    Attachment: jackrabbit-core.patch

Lucene had the same problem (see http://issues.apache.org/jira/browse/LUCENE-490). JavaCC 4.0 broke two of the grammar files, QueryParser.jjt, and XPath.jjt. The attached patch fixes it.

> javacc-maven-plugin version in jackrabbit-core pom file
> -------------------------------------------------------
>
>                 Key: JCR-848
>                 URL: https://issues.apache.org/jira/browse/JCR-848
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: core
>         Environment: linux desktop, normal pc, java 1.5
>            Reporter: Eduardo Burgos
>            Assignee: Jukka Zitting
>            Priority: Minor
>         Attachments: jackrabbit-core.patch
>
>
> Hi, I noticed that the pom.xml file of the jackrabbit-core project needs to specify version "2.1" for the javacc-maven-plugin because if it takes the 2.2-SNAPSHOT it won't compile. I put the 2.1 version and it worked fine.
> <plugin>
>         <groupId>org.codehaus.mojo</groupId>
>         <artifactId>javacc-maven-plugin</artifactId>
>         <version>2.1</version>
>         <executions>
> Im working with revision 529712 [April 17, 2007, 15:05 EST]

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


[jira] Commented: (JCR-848) javacc-maven-plugin version in jackrabbit-core pom file

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

Jukka Zitting commented on JCR-848:
-----------------------------------

Which Maven version are you using? I guess the default javacc-maven-plugin version comes from Maven. The current jackrabbit-core POM works fine for me with Maven 2.0.4 and 2.0.6.

> javacc-maven-plugin version in jackrabbit-core pom file
> -------------------------------------------------------
>
>                 Key: JCR-848
>                 URL: https://issues.apache.org/jira/browse/JCR-848
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: core
>         Environment: linux desktop, normal pc, java 1.5
>            Reporter: Eduardo Burgos
>            Priority: Minor
>
> Hi, I noticed that the pom.xml file of the jackrabbit-core project needs to specify version "2.1" for the javacc-maven-plugin because if it takes the 2.2-SNAPSHOT it won't compile. I put the 2.1 version and it worked fine.
> <plugin>
>         <groupId>org.codehaus.mojo</groupId>
>         <artifactId>javacc-maven-plugin</artifactId>
>         <version>2.1</version>
>         <executions>
> Im working with revision 529712 [April 17, 2007, 15:05 EST]

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


[jira] Resolved: (JCR-848) javacc-maven-plugin version in jackrabbit-core pom file

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

Marcel Reutegger resolved JCR-848.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4

Thank you for the provided patch.

Applied the patch in revision: 555897

I also adapted src/main/javacc/xpath/javacc.xsl, which generates XPath.jjt.

> javacc-maven-plugin version in jackrabbit-core pom file
> -------------------------------------------------------
>
>                 Key: JCR-848
>                 URL: https://issues.apache.org/jira/browse/JCR-848
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: core
>         Environment: linux desktop, normal pc, java 1.5
>            Reporter: Eduardo Burgos
>            Assignee: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: jackrabbit-core.patch
>
>
> Hi, I noticed that the pom.xml file of the jackrabbit-core project needs to specify version "2.1" for the javacc-maven-plugin because if it takes the 2.2-SNAPSHOT it won't compile. I put the 2.1 version and it worked fine.
> <plugin>
>         <groupId>org.codehaus.mojo</groupId>
>         <artifactId>javacc-maven-plugin</artifactId>
>         <version>2.1</version>
>         <executions>
> Im working with revision 529712 [April 17, 2007, 15:05 EST]

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


[jira] Commented: (JCR-848) javacc-maven-plugin version in jackrabbit-core pom file

Posted by "Eduardo Burgos (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498646 ] 

Eduardo Burgos commented on JCR-848:
------------------------------------

Wow, this was more than a month ago, now when I did svn update nothing compiles at all. I'm using Maven 2.0.6, that time I was using 2.0.4.




[INFO] Compiling 503 source files to /root/src/jackrabbit/trunk/jackrabbit-core/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/root/src/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/sql/ASTIdentifier.java:[21,35] cannot find symbol
symbol: class SimpleNode
public class ASTIdentifier extends SimpleNode {

/root/src/jackrabbit/trunk/jackrabbit-core/target/generated-src/main/java/org/apache/jackrabbit/core/query/sql/JCRSQLParser.java:[26,53] cannot find symbol
symbol: class JCRSQLParserTreeConstants
public class JCRSQLParser/*@bgen(jjtree)*/implements JCRSQLParserTreeConstants, JCRSQLParserConstants {/*@bgen(jjtree)*/


> javacc-maven-plugin version in jackrabbit-core pom file
> -------------------------------------------------------
>
>                 Key: JCR-848
>                 URL: https://issues.apache.org/jira/browse/JCR-848
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: core
>         Environment: linux desktop, normal pc, java 1.5
>            Reporter: Eduardo Burgos
>            Priority: Minor
>
> Hi, I noticed that the pom.xml file of the jackrabbit-core project needs to specify version "2.1" for the javacc-maven-plugin because if it takes the 2.2-SNAPSHOT it won't compile. I put the 2.1 version and it worked fine.
> <plugin>
>         <groupId>org.codehaus.mojo</groupId>
>         <artifactId>javacc-maven-plugin</artifactId>
>         <version>2.1</version>
>         <executions>
> Im working with revision 529712 [April 17, 2007, 15:05 EST]

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


[jira] Updated: (JCR-848) javacc-maven-plugin version in jackrabbit-core pom file

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

Jukka Zitting updated JCR-848:
------------------------------

    Fix Version/s:     (was: 1.4)
                   1.3.1

Merged to the 1.3 branch in revision 558161.

> javacc-maven-plugin version in jackrabbit-core pom file
> -------------------------------------------------------
>
>                 Key: JCR-848
>                 URL: https://issues.apache.org/jira/browse/JCR-848
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: core
>         Environment: linux desktop, normal pc, java 1.5
>            Reporter: Eduardo Burgos
>            Assignee: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.3.1
>
>         Attachments: jackrabbit-core.patch
>
>
> Hi, I noticed that the pom.xml file of the jackrabbit-core project needs to specify version "2.1" for the javacc-maven-plugin because if it takes the 2.2-SNAPSHOT it won't compile. I put the 2.1 version and it worked fine.
> <plugin>
>         <groupId>org.codehaus.mojo</groupId>
>         <artifactId>javacc-maven-plugin</artifactId>
>         <version>2.1</version>
>         <executions>
> Im working with revision 529712 [April 17, 2007, 15:05 EST]

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