[antlr-interest] test release of antlr 3.4

Bart Kiers bkiers at gmail.com
Mon Jun 20 10:30:29 PDT 2011


The file `/META-INF/MANIFEST.MF` is missing the 'Main-Class' attribute. Add
the line:

    Main-Class: org.antlr.Tool

to the file (inside the JAR) and all should be OK.

Regards,

Bart.


On Mon, Jun 20, 2011 at 6:28 PM, Julien BLACHE <jb at jblache.org> wrote:

> A Z <asicaddress at gmail.com> wrote:
>
> Hi,
>
> > How is this jar different than 3.2? I tried the same command
> >
> >>java -jar antlr-3.4.jar grammar.g
> >
> > but I get an error message:
> > "Invalid or corrupt jarfile antlr-3.4.jar"
>
> Same issue here. It works when invoked this way
>  java -cp antlr-3.4.jar org.antlr.Tool grammar.g
>
> I'll leave it up to the Java-literate to investigate/explain/fix ;)
>
> (Sun^WOracle Java 1.6.0_26 if it makes any difference)
>
> JB.
>
> --
> Julien BLACHE                                   <http://www.jblache.org>
> <jb at jblache.org>                                  GPG KeyID 0xF5D65169
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>


More information about the antlr-interest mailing list