ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/docs/manual/OptionalTasks jlink.html
Date Tue, 21 May 2002 16:41:26 GMT
bodewig     02/05/21 09:41:26

  Modified:    docs/manual/OptionalTasks Tag: ANT_15_BRANCH jlink.html
  Log:
  Show non-deprecated alternative to jlink.
  
  Submitted by:	Brian Deitte <bdeitte@macromedia.com>
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.6.2.2   +20 -6     jakarta-ant/docs/manual/OptionalTasks/jlink.html
  
  Index: jlink.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/manual/OptionalTasks/jlink.html,v
  retrieving revision 1.6.2.1
  retrieving revision 1.6.2.2
  diff -u -r1.6.2.1 -r1.6.2.2
  --- jlink.html	3 May 2002 09:40:31 -0000	1.6.2.1
  +++ jlink.html	21 May 2002 16:41:26 -0000	1.6.2.2
  @@ -98,9 +98,9 @@
   
   <h3>Examples</h3>
   
  -The following will merge the entries in mergefoo.jar and mergebar.jar 
  +<p>The following will merge the entries in mergefoo.jar and mergebar.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.</p>
   <pre>
   &lt;jlink compress=&quot;false&quot; outfile=&quot;out.jar&quot;&gt;
      &lt;mergefiles&gt;
  @@ -114,11 +114,25 @@
   &lt;/jlink&gt;
   </pre>
   
  -Suppose the file foo.jar contains two entries: bar.class and 
  +<p><b>Non-deprecated alternative to the above:</b></p>
  +<pre>
  +&lt;jar compress=&quot;false&quot; destfile=&quot;out.jar&quot;&gt;
  +  &lt;zipgroupfileset dir=&quot;${build.dir}&quot;&gt;
  +    &lt;include name=&quot;mergefoo.jar&quot;/&gt;
  +    &lt;include name=&quot;mergebar.jar&quot;/&gt;
  +  &lt;/zipgroupfileset&gt;
  +  &lt;fileset dir=&quot;${build.dir}&quot;&gt;
  +    &lt;include name=&quot;mac.jar&quot;/&gt;
  +    &lt;include name=&quot;pc.jar&quot;/&gt;
  +  &lt;/fileset&gt;
  +&lt;/jar&gt;
  +</pre>
  +
  +<p>Suppose the file foo.jar contains two entries: bar.class and 
   barnone/myClass.zip.
   Suppose the path for file foo.jar is build/tempbuild/foo.jar. The 
   following example
  -will provide the entry tempbuild/foo.jar in the out.jar.
  +will provide the entry tempbuild/foo.jar in the out.jar.</p>
   <pre>
   &lt;jlink compress=&quot;false&quot; outfile=&quot;out.jar&quot;&gt;
      &lt;mergefiles&gt;
  @@ -127,8 +141,8 @@
   &lt;/jlink&gt;
   </pre>
   
  -However, the next example would result in two top-level entries in out.jar,
  -namely bar.class and barnone/myClass.zip
  +<p>However, the next example would result in two top-level entries in out.jar,
  +namely bar.class and barnone/myClass.zip</p>
   <pre>
   &lt;jlink compress=&quot;false&quot; outfile=&quot;out.jar&quot;&gt;
      &lt;mergefiles&gt;
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message