You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Emmanuel L?charny (JIRA)" <ji...@codehaus.org> on 2005/08/26 12:34:04 UTC

[jira] Created: (MAVEN-1676) Problem generation with antlr

Problem generation with antlr
-----------------------------

         Key: MAVEN-1676
         URL: http://jira.codehaus.org/browse/MAVEN-1676
     Project: Maven
        Type: Bug
    Versions: 1.1-beta-1    
 Environment: Linux
 Reporter: Emmanuel Lécharny


The 1.1-beta-1 version cannot handle multiple antlr generation. 1.0.2 version handles it correctly. 

Here is a sample of this error :

on apacheds, in shared/ldap/common, 

$ maven clean
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-1

plugin maven-cruisecontrol-plugin-1.6 is cached (dynatag dep) but no longer present
Cache invalidated due to out of date plugins
DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml
build:start:

clean:clean:
xdoc:clean:

    [delete] Deleting directory /home/elecharny/workspace-ads-auto/shared-ldap/common/target
BUILD SUCCESSFUL
Total time   : 3 seconds
Finished at  : Friday, August 26, 2005 12:24:38 PM CEST



$ maven java:compile
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-1

DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml
build:start:

java:prepare-filesystem:
    [mkdir] Created dir: /home/elecharny/workspace-ads-auto/shared-ldap/common/target/classes

java:compile:
    [copy] Copying 1 file to /home/elecharny/workspace-ads-auto/shared-ldap/common
antlr:prepare-filesystem:
    [mkdir] Created dir: /home/elecharny/workspace-ads-auto/shared-ldap/common/target/antlr

antlr:generate:
ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com
warning: public lexical rule SIMPLE_STRING is optional (can match "nothing")

antlr:prepare-filesystem:

antlr:generate:
Overriding previous definition of reference to maven.antlr.compile.src.set

antlr:prepare-filesystem:

antlr:generate:
Overriding previous definition of reference to maven.antlr.compile.src.set

antlr:prepare-filesystem:

antlr:generate:
Overriding previous definition of reference to maven.antlr.compile.src.set

antlr:prepare-filesystem:

antlr:generate:
Overriding previous definition of reference to maven.antlr.compile.src.set

antlr:prepare-filesystem:

antlr:generate:
Overriding previous definition of reference to maven.antlr.compile.src.set

antlr:prepare-filesystem:

antlr:generate:
Overriding previous definition of reference to maven.antlr.compile.src.set

antlr:prepare-filesystem:

antlr:generate:
Overriding previous definition of reference to maven.antlr.compile.src.set

    [delete] Deleting: /home/elecharny/workspace-ads-auto/shared-ldap/common/DnCommonTokenTypes.txt
antlr:prepare-filesystem:

antlr:generate:
Overriding previous definition of reference to maven.antlr.compile.src.set

antlr:prepare-filesystem:

antlr:generate:
Overriding previous definition of reference to maven.antlr.compile.src.set

    [echo] Compiling to /home/elecharny/workspace-ads-auto/shared-ldap/common/target/classes
    [javac] Compiling 200 source files to /home/elecharny/workspace-ads-auto/shared-ldap/common/target/classes
    [javac] /home/elecharny/workspace-ads-auto/shared-ldap/common/src/java/org/apache/ldap/common/filter/FilterParserImpl.java:31: cannot find symbol
    [javac] symbol  : class AntlrFilterParser
    [javac] location: class org.apache.ldap.common.filter.FilterParserImpl
    [javac]     private AntlrFilterParser parser;
    [javac]             ^
(... many errors)
    [javac] 16 errors

BUILD FAILED
File...... /home/elecharny/.maven/cache/maven-java-plugin-1.5/plugin.jelly
Element... ant:javac
Line...... 63
Column.... 48
Compile failed; see the compiler error output for details.
Total time   : 4 seconds
Finished at  : Friday, August 26, 2005 12:24:50 PM CEST




The very same operation using maven-1.0.2 :
$ maven clean
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

build:start:

clean:clean:
    [delete] Deleting directory /home/elecharny/workspace-ads-auto/shared-ldap/common/target
BUILD SUCCESSFUL
Total time: 1 seconds
Finished at: Fri Aug 26 12:24:11 CEST 2005



$maven java:compile
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

build:start:

java:prepare-filesystem:
    [mkdir] Created dir: /home/elecharny/workspace-ads-auto/shared-ldap/common/target/classes

java:compile:
    [copy] Copying 1 file to /home/elecharny/workspace-ads-auto/shared-ldap/common
antlr:prepare-filesystem:
    [mkdir] Created dir: /home/elecharny/workspace-ads-auto/shared-ldap/common/target/antlr
ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com
warning: public lexical rule SIMPLE_STRING is optional (can match "nothing")

antlr:generate:

antlr:prepare-filesystem:

antlr:generate:
Overriding previous definition of reference to maven.antlr.compile.src.set
ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com

antlr:prepare-filesystem:

antlr:generate:
Overriding previous definition of reference to maven.antlr.compile.src.set
ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com

antlr:prepare-filesystem:

antlr:generate:
Overriding previous definition of reference to maven.antlr.compile.src.set
ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com

antlr:prepare-filesystem:

antlr:generate:
Overriding previous definition of reference to maven.antlr.compile.src.set
ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com

antlr:prepare-filesystem:

antlr:generate:
Overriding previous definition of reference to maven.antlr.compile.src.set
ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com

antlr:prepare-filesystem:

antlr:generate:
Overriding previous definition of reference to maven.antlr.compile.src.set
ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com

antlr:prepare-filesystem:

antlr:generate:
Overriding previous definition of reference to maven.antlr.compile.src.set
ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com

    [delete] Deleting: /home/elecharny/workspace-ads-auto/shared-ldap/common/DnCommonTokenTypes.txt
antlr:prepare-filesystem:

antlr:generate:
Overriding previous definition of reference to maven.antlr.compile.src.set
ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com

antlr:prepare-filesystem:

antlr:generate:
Overriding previous definition of reference to maven.antlr.compile.src.set

    [echo] Compiling to /home/elecharny/workspace-ads-auto/shared-ldap/common/target/classes
    [javac] Compiling 217 source files to /home/elecharny/workspace-ads-auto/shared-ldap/common/target/classes
BUILD SUCCESSFUL
Total time: 7 seconds
Finished at: Fri Aug 26 12:24:25 CEST 2005






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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MAVEN-1676) Problem generation with antlr

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MAVEN-1676?page=all ]

Brett Porter updated MAVEN-1676:
--------------------------------

    Fix Version: 1.1-beta-2

> Problem generation with antlr
> -----------------------------
>
>          Key: MAVEN-1676
>          URL: http://jira.codehaus.org/browse/MAVEN-1676
>      Project: Maven
>         Type: Bug
>     Versions: 1.1-beta-1
>  Environment: Linux
>     Reporter: Emmanuel Lécharny
>      Fix For: 1.1-beta-2

>
>
> The 1.1-beta-1 version cannot handle multiple antlr generation. 1.0.2 version handles it correctly. 
> Here is a sample of this error :
> on apacheds, in shared/ldap/common, 
> $ maven clean
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-1
> plugin maven-cruisecontrol-plugin-1.6 is cached (dynatag dep) but no longer present
> Cache invalidated due to out of date plugins
> DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml
> build:start:
> clean:clean:
> xdoc:clean:
>     [delete] Deleting directory /home/elecharny/workspace-ads-auto/shared-ldap/common/target
> BUILD SUCCESSFUL
> Total time   : 3 seconds
> Finished at  : Friday, August 26, 2005 12:24:38 PM CEST
> $ maven java:compile
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-1
> DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml
> build:start:
> java:prepare-filesystem:
>     [mkdir] Created dir: /home/elecharny/workspace-ads-auto/shared-ldap/common/target/classes
> java:compile:
>     [copy] Copying 1 file to /home/elecharny/workspace-ads-auto/shared-ldap/common
> antlr:prepare-filesystem:
>     [mkdir] Created dir: /home/elecharny/workspace-ads-auto/shared-ldap/common/target/antlr
> antlr:generate:
> ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com
> warning: public lexical rule SIMPLE_STRING is optional (can match "nothing")
> antlr:prepare-filesystem:
> antlr:generate:
> Overriding previous definition of reference to maven.antlr.compile.src.set
> antlr:prepare-filesystem:
> antlr:generate:
> Overriding previous definition of reference to maven.antlr.compile.src.set
> antlr:prepare-filesystem:
> antlr:generate:
> Overriding previous definition of reference to maven.antlr.compile.src.set
> antlr:prepare-filesystem:
> antlr:generate:
> Overriding previous definition of reference to maven.antlr.compile.src.set
> antlr:prepare-filesystem:
> antlr:generate:
> Overriding previous definition of reference to maven.antlr.compile.src.set
> antlr:prepare-filesystem:
> antlr:generate:
> Overriding previous definition of reference to maven.antlr.compile.src.set
> antlr:prepare-filesystem:
> antlr:generate:
> Overriding previous definition of reference to maven.antlr.compile.src.set
>     [delete] Deleting: /home/elecharny/workspace-ads-auto/shared-ldap/common/DnCommonTokenTypes.txt
> antlr:prepare-filesystem:
> antlr:generate:
> Overriding previous definition of reference to maven.antlr.compile.src.set
> antlr:prepare-filesystem:
> antlr:generate:
> Overriding previous definition of reference to maven.antlr.compile.src.set
>     [echo] Compiling to /home/elecharny/workspace-ads-auto/shared-ldap/common/target/classes
>     [javac] Compiling 200 source files to /home/elecharny/workspace-ads-auto/shared-ldap/common/target/classes
>     [javac] /home/elecharny/workspace-ads-auto/shared-ldap/common/src/java/org/apache/ldap/common/filter/FilterParserImpl.java:31: cannot find symbol
>     [javac] symbol  : class AntlrFilterParser
>     [javac] location: class org.apache.ldap.common.filter.FilterParserImpl
>     [javac]     private AntlrFilterParser parser;
>     [javac]             ^
> (... many errors)
>     [javac] 16 errors
> BUILD FAILED
> File...... /home/elecharny/.maven/cache/maven-java-plugin-1.5/plugin.jelly
> Element... ant:javac
> Line...... 63
> Column.... 48
> Compile failed; see the compiler error output for details.
> Total time   : 4 seconds
> Finished at  : Friday, August 26, 2005 12:24:50 PM CEST
> The very same operation using maven-1.0.2 :
> $ maven clean
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> build:start:
> clean:clean:
>     [delete] Deleting directory /home/elecharny/workspace-ads-auto/shared-ldap/common/target
> BUILD SUCCESSFUL
> Total time: 1 seconds
> Finished at: Fri Aug 26 12:24:11 CEST 2005
> $maven java:compile
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> build:start:
> java:prepare-filesystem:
>     [mkdir] Created dir: /home/elecharny/workspace-ads-auto/shared-ldap/common/target/classes
> java:compile:
>     [copy] Copying 1 file to /home/elecharny/workspace-ads-auto/shared-ldap/common
> antlr:prepare-filesystem:
>     [mkdir] Created dir: /home/elecharny/workspace-ads-auto/shared-ldap/common/target/antlr
> ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com
> warning: public lexical rule SIMPLE_STRING is optional (can match "nothing")
> antlr:generate:
> antlr:prepare-filesystem:
> antlr:generate:
> Overriding previous definition of reference to maven.antlr.compile.src.set
> ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com
> antlr:prepare-filesystem:
> antlr:generate:
> Overriding previous definition of reference to maven.antlr.compile.src.set
> ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com
> antlr:prepare-filesystem:
> antlr:generate:
> Overriding previous definition of reference to maven.antlr.compile.src.set
> ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com
> antlr:prepare-filesystem:
> antlr:generate:
> Overriding previous definition of reference to maven.antlr.compile.src.set
> ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com
> antlr:prepare-filesystem:
> antlr:generate:
> Overriding previous definition of reference to maven.antlr.compile.src.set
> ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com
> antlr:prepare-filesystem:
> antlr:generate:
> Overriding previous definition of reference to maven.antlr.compile.src.set
> ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com
> antlr:prepare-filesystem:
> antlr:generate:
> Overriding previous definition of reference to maven.antlr.compile.src.set
> ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com
>     [delete] Deleting: /home/elecharny/workspace-ads-auto/shared-ldap/common/DnCommonTokenTypes.txt
> antlr:prepare-filesystem:
> antlr:generate:
> Overriding previous definition of reference to maven.antlr.compile.src.set
> ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com
> antlr:prepare-filesystem:
> antlr:generate:
> Overriding previous definition of reference to maven.antlr.compile.src.set
>     [echo] Compiling to /home/elecharny/workspace-ads-auto/shared-ldap/common/target/classes
>     [javac] Compiling 217 source files to /home/elecharny/workspace-ads-auto/shared-ldap/common/target/classes
> BUILD SUCCESSFUL
> Total time: 7 seconds
> Finished at: Fri Aug 26 12:24:25 CEST 2005

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org