This class defines objects that can link together various jar and
zip files.
It is basically a wrapper for the jlink code written originally
by Patrick Beard. The
classes org.apache.tools.ant.taskdefs.optional.jlink.Jlink and
org.apache.tools.ant.taskdefs.optional.jlink.ClassNameReader
support this class.
For example:
<jlink compress="false" outfile="out.jar"/>
<mergefiles>
<pathelement path="${build.dir}/mergefoo.jar"/>
<pathelement path="${build.dir}/mergebar.jar"/>
</mergefiles>
<addfiles>
<pathelement path="${build.dir}/mac.jar"/>
<pathelement path="${build.dir}/pc.zip"/>
</addfiles>
</jlink>
|