[antlr-interest] Runtime-only JAR?
Brian Smith
brian-l-smith at uiowa.edu
Thu Mar 20 11:47:35 PST 2003
Hi,
The mkjar scripts are gone. According to install.html:
"I have removed all of the build shell scripts and mkjar type scripts I
had since there is only one all encompassing antlr.jar now and a
self-build tool."
For NetBeans, we can create our own mkjar-like scripts. However, some
people for NetBeans expressed concern that if all the classes are mixed
together in the same JAR file then it will be too easy to create
inappropriate dependencies (i.e. some runtime class depending on one of
the development-time classes), and also we didn't really want to
maintain our own build scripts just for ANTLR/NetBeans integration.
I am willing to contribute the necessary changes to implement this back
to ANTLR.org.
Regards,
Brian
mzukowski at yci.com wrote:
> See the mkjar and mkjar.bat scripts in the distribution. It could probably
> use some better documentation that they make the runtime jars.
>
> Monty
>
> -----Original Message-----
> From: Brian Smith [mailto:brian-l-smith at uiowa.edu]
> Sent: Thursday, March 20, 2003 11:17 AM
> To: antlr-interest at yahoogroups.com
> Subject: [antlr-interest] Runtime-only JAR?
>
>
> Hi,
>
> In ANTLR versions prior to 2.7.2 there were seperate JAR files,
> antlr.jar and antlrall.jar. antlr.jar had the runtime library and
> antlrall.jar had the runtime library plus everything else. As of 2.7.2,
> antlr.jar now contains everything (i.e. it is the equivalent of
> antlrall.jar) and there is no seperate runtime library JAR.
>
> I think that the seperate runtime library JAR was very useful because of
> its small size. It is only 1/6th the size of antlrall.jar:
>
> combined runtime-only
> compressed 360K 60K
> uncompressed 685K 108K
>
> With web-deployed applications (applets, web start applications,
> NetBeans Autoupdate, etc.), the JAR file size is important. So, I would
> like to see the runtime-only JAR file added back to the ANTLR build
> system. Actually, for the applications I have it would be best if there
> were two JAR's, one for the runtime lib and one that had everything
> except the runtime lib.
>
> Does this sound like a reasonable change?
>
> Thanks,
> Brian
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list