[antlr-interest] Problems with maven build

Jim Idle jimi at temporal-wave.com
Fri Jan 16 16:38:06 PST 2009


Rick Mann wrote:
>
> On Jan 16, 2009, at 13:51:20, Jim Idle wrote:
>
>> When you change your template or codegen target java file, you just 
>> type:
>>
>> mvn
>>
>> And it rebuilds just what has changed in a second or two (depends on 
>> your machine speed of course).
>>
>> All you need do is download and install Maven 2.0.9 on your system 
>> and make sure that the mvn command is in your path. Then download the 
>> source for ANTLR from the Fisheye system (just get the tar of the 
>> antlr tool directory) and cd to the directory containing pom.xml.
>>
>> Type:
>>
>> mvn -Dmaven.test.skip=true
>>
>> And watch the output to see where it puts the jar-with-dependencies. 
>> Create your self a small script that invokes this jar and you are all 
>> set.
>
>
> Jim, Ter gave me p4 access, and I checked out the sources. I then 
> tried to build antlr but ran into problems. Any idea what I left out? 
> Note that I fetched the latest, not knowing the right revision number 
> for 3.1.1.
>
> [INFO] snapshot org.antlr:antlr-runtime:3.1.2-SNAPSHOT: checking for 
> updates from antlr-snapshot
> Downloading: 
> http://antlr.org/antlr-snapshot/org/antlr/antlr-runtime/3.1.2-SNAPSHOT/antlr-runtime-3.1.2-SNAPSHOT.pom 
>
> Downloading: 
> http://antlr.org/antlr-snapshot/org/antlr/antlr-runtime/3.1.2-SNAPSHOT/antlr-runtime-3.1.2-SNAPSHOT.jar 
>
Ah, it is just that I forgot to tell Hudson to deploy the runtime 
snapshot - I will fix that shortly, give it about 30 minutes or so and 
run the command again, it should find the artifacts then...

Jim




More information about the antlr-interest mailing list