ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: prefixedfileset - what to do now?
Date Fri, 09 Feb 2001 14:01:34 GMT
At 01:49  9/2/01 -0000, Paul Hammant wrote:
>In last year's ant, it used to be possible to do:
>
>  <prefixedfileset dir="lib" prefix="WEB-INF/lib"> 
>    <include name="dependant.jar"/>
>  </prefixedfileset >  
>
>Nowadays you have to use <fileset> instead of <prefixedfileset>, but there
>are no instructions on how to do the prefix attribute. This won't work
>
>  <fileset dir="lib" prefix="WEB-INF/lib"> 
>    <include name="dependant.jar"/>
>  </fileset>  
>
>Does anyonw know how to do "prefix" in newers version of ant?

It now uses <zipfileset/> ala 

<zipfileset dir="lib" prefix="WEB-INF/lib">
  <include name="dependant.jar"/>
</zipfileset>


Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


Mime
View raw message