You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by John Kohler <jk...@daforma.com> on 2001/04/02 20:30:09 UTC
[SUBMIT] New jar task
I'm donating the <genjar> task to the project.
Yes, it's another jar task that:
o given a set of 'root' classes will determine all dependant
classes and include them in the jar (subject to filtration rules)
o include 'resource' files (non-class files) into the jar and allows
'repackaging', i.e. forcing the file's path to whatever you like
o optionally generates manifest entries for every file included
in the jar
o allows setting manifest attributes (both main and per-entry)
from the project file.
The source is attached as well as the doc page:
- unjar to its own directory
- build with ant
'ant usage' displays all relevant targets
- documentation is in ./docs
- examples are in dist-build.xml and test/build.xml
- check dist-build.xml for example usage of an
optional task
Caveat: Java2 is required and only 1.3 is tested
Send bug reports or enhancement requests directly
to me. Contact info is in the docs.
jwk
------------------------------------------------------------------
What if the Hokey Pokey is really what it's all about?