ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pedro Cristian <pedro_crist...@yahoo.fr>
Subject Jlink deprecation et refids path
Date Fri, 04 Oct 2002 08:31:06 GMT
Hi everybody,

Since Ant 1.5, the JLink task is deprecated.
The documentation suggest the replacement : 
---------------------------------------------------------
<jlink compress="false" outfile="out.jar">
   <mergefiles>
     <pathelement path="${build.dir}/mergefoo.jar"/>
     <pathelement path="${build.dir}/mergebar.jar"/>
   </mergefiles>
</jlink>

Non-deprecated alternative to the above:

<jar compress="false" destfile="out.jar">
  <zipgroupfileset dir="${build.dir}">
    <include name="mergefoo.jar"/>
    <include name="mergebar.jar"/>
  </zipgroupfileset>
</jar>
----------------------------------------------------

But what would be the replacement of : 
<jlink outfile="my.jar">
  <mergefiles>
    <path refid="aRefId"/>
  </mergefiles>
</jlink>

I think that refid are more elegant than include because they enable a single
definition point.
Have I missed something about zipgroupfileset?

thank you for your help.

Pedro



___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran├žais !
Yahoo! Mail : http://fr.mail.yahoo.com

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


Mime
View raw message