I would like to contribute to ANTLR 3.4 but the Maven build still fails (I
was using antlr-antlr3-release-3.4-150-g8312471.zip). In addition, the tests
failed for the previous committed code. I'm not really interested in
becoming a Maven expert. Is there some other way that I can help?
 
George
 
 
Terry Parr said:
 
wiped .m2 antlr files and tried again:
 
Downloading:
<http://antlr.org/antlr-snapshot/org/antlr/ST4/4.0.4/ST4-4.0.4.jar>
http://antlr.org/antlr-snapshot/org/antlr/ST4/4.0.4/ST4-4.0.4.jar
[INFO] Unable to find resource 'org.antlr:ST4:jar:4.0.4' in repository
antlr-snapshot ( <http://antlr.org/antlr-snapshot>
http://antlr.org/antlr-snapshot)
Downloading:
<http://repo1.maven.org/maven2/org/antlr/ST4/4.0.4/ST4-4.0.4.jar>
http://repo1.maven.org/maven2/org/antlr/ST4/4.0.4/ST4-4.0.4.jar
 
but still 
 
[INFO] org/stringtemplate/v4/STGroup
org.stringtemplate.v4.STGroup
[INFO]
------------------------------------------------------------------------
 
but for gunit.  maybe it doesn't have the appropriate dependency and the pom
file?
 
Ter
 
On Feb 8, 2012, at 9:59 PM, Jim Idle wrote:
 
> Changes to crappy git and not testing the maven build. If we are not
committed to maven then we should not have it at all really, but that would
be a shame in my opinion. Basically if you don't build with maven, it will
always be hit or miss until I can check it out. End if the day it is what it
is my old china ;)
> 
> Jim
> 
> 
> On Feb 8, 2012, at 18:19, Terence Parr <
<http://www.antlr.org/mailman/listinfo/antlr-dev> parrt at cs.usfca.edu
> wrote:
 <http://www.antlr.org/mailman/listinfo/antlr-dev> > 
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> hi. dang that mvn!  on
antlr.org box, fails too:
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> 
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> [INFO] Building ANTLR
gUnit
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> [INFO]
task-segment: [package]
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> [INFO]
------------------------------------------------------------------------
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> [INFO]
[buildnumber:create {execution: default}]
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> [INFO] Storing
buildNumber: Feb 08, 2012 18:17:57 at timestamp: 1328753877538
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> [INFO] [antlr3:antlr
{execution: default}]
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> [FATAL ERROR]
org.antlr.mojo.antlr3.Antlr3Mojo#execute() caused a linkage error
(java.lang.NoClassDefFoundError) and may be out-of-date. Check the realms:
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> [FATAL ERROR] Plugin
realm = app0.child-container[org.antlr:antlr3-maven-plugin:3.4.1-SNAPSHOT]
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> .
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >>
org.stringtemplate.v4.STGroup
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> [INFO]
------------------------------------------------------------------------
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> [INFO] Trace
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >>
java.lang.NoClassDefFoundError: org/stringtemplate/v4/STGroup
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >>   at
org.antlr.Tool.setMessageFormat(Tool.java:1239)
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> .
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> 
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> from:
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> 
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> cd
/usr/local/website/antlr/depot/antlr3
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >>
/usr/local/apache-maven/apache-maven-2.2.1/bin/mvn -Dmaven.test.skip=true
package assembly:assembly
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> 
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> grrr.
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> 
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> Ter
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> On Feb 8, 2012, at
6:02 PM, Alan Condit wrote:
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >> 
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >>> Does anybody have a
build.xml to allow building antlr3.4 with ant?
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >>> 
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >>> I can't get maven to
build the antlr3.4 jar. I am getting a jar but it is only about 1.1mb while
the original is about 2.4mb. So something appears to be missing.
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >>> 
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >>> This first maven
command runs successfully:
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >>> mvn -e
-Dmaven.test.skip=true
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >>> 
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >>> but this second
command fails:
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >>> mvn -e
-Dmaven.test.skip=true package assembly:assembly
 <http://www.antlr.org/mailman/listinfo/antlr-dev> >>> [details of errors
omitted]...
 <http://www.antlr.org/mailman/listinfo/antlr-dev>  
 <http://www.antlr.org/mailman/listinfo/antlr-dev>  
_______________________________________________
antlr-dev mailing list
[email protected]
http://www.antlr.org/mailman/listinfo/antlr-dev

Reply via email to