maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny (JIRA) <j...@codehaus.org>
Subject [jira] Closed: (MAVEN-1676) Problem generation with antlr
Date Thu, 03 Aug 2006 12:46:01 GMT
     [ http://jira.codehaus.org/browse/MAVEN-1676?page=all ]

Emmanuel Lécharny closed MAVEN-1676.
------------------------------------

    Resolution: Fixed

One year old beta bugs are not anymore valid :) Let's burry it...

> Problem generation with antlr
> -----------------------------
>
>                 Key: MAVEN-1676
>                 URL: http://jira.codehaus.org/browse/MAVEN-1676
>             Project: Maven
>          Issue Type: Bug
>    Affects 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

       

Mime
View raw message