ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pedro Cristian <>
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">
     <pathelement path="${build.dir}/mergefoo.jar"/>
     <pathelement path="${build.dir}/mergebar.jar"/>

Non-deprecated alternative to the above:

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

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

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.


Do You Yahoo!? -- Une adresse gratuite et en fran├žais !
Yahoo! Mail :

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message