ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Dean <>
Subject problems using jlink
Date Thu, 22 Feb 2001 21:58:25 GMT
I'm trying to create a JAR file using jlink. I want to produce it
by adding a few individual class files to a preexisting JAR file.
I can not seem to make it preserve the path of the individual
files I'm adding.

I've tried:

         <jlink compress="true" outfile="${InstallDir}/MyApplet2.jar">
             <mergefiles >
                 <pathelement path="${InstallDir}/MyApplet1Applet.jar" />
path="com/acme/viewer/navigator/Navigator.class" />
path="com/acme/viewer/navigator/" />

and also using an embedded fileset for the individual files. In
both cases the files paths were lost when added to the output


View raw message