|
@@ -98,7 +98,7 @@ The following will merge the entries in mergefoo.jar and mergebar.jar |
|
|
into out.jar. |
|
|
into out.jar. |
|
|
mac.jar and pc.jar will be added as single entries to out.jar. |
|
|
mac.jar and pc.jar will be added as single entries to out.jar. |
|
|
<pre> |
|
|
<pre> |
|
|
<jlink compress="false" outfile="out.jar"/> |
|
|
|
|
|
|
|
|
<jlink compress="false" outfile="out.jar"> |
|
|
<mergefiles> |
|
|
<mergefiles> |
|
|
<pathelement path="${build.dir}/mergefoo.jar"/> |
|
|
<pathelement path="${build.dir}/mergefoo.jar"/> |
|
|
<pathelement path="${build.dir}/mergebar.jar"/> |
|
|
<pathelement path="${build.dir}/mergebar.jar"/> |
|
@@ -116,7 +116,7 @@ Suppose the path for file foo.jar is build/tempbuild/foo.jar. The |
|
|
following example |
|
|
following example |
|
|
will provide the entry tempbuild/foo.jar in the out.jar. |
|
|
will provide the entry tempbuild/foo.jar in the out.jar. |
|
|
<pre> |
|
|
<pre> |
|
|
<jlink compress="false" outfile="out.jar"/> |
|
|
|
|
|
|
|
|
<jlink compress="false" outfile="out.jar"> |
|
|
<mergefiles> |
|
|
<mergefiles> |
|
|
<pathelement path="build/tempbuild"/> |
|
|
<pathelement path="build/tempbuild"/> |
|
|
</mergefiles> |
|
|
</mergefiles> |
|
@@ -126,7 +126,7 @@ will provide the entry tempbuild/foo.jar in the out.jar. |
|
|
However, the next example would result in two top-level entries in out.jar, |
|
|
However, the next example would result in two top-level entries in out.jar, |
|
|
namely bar.class and barnone/myClass.zip |
|
|
namely bar.class and barnone/myClass.zip |
|
|
<pre> |
|
|
<pre> |
|
|
<jlink compress="false" outfile="out.jar"/> |
|
|
|
|
|
|
|
|
<jlink compress="false" outfile="out.jar"> |
|
|
<mergefiles> |
|
|
<mergefiles> |
|
|
<pathelement path="build/tempbuild/foo.jar"/> |
|
|
<pathelement path="build/tempbuild/foo.jar"/> |
|
|
</mergefiles> |
|
|
</mergefiles> |
|
|