ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dcdmailbox-i...@yahoo.it
Subject I: using <resources> in <war> tsk
Date Thu, 21 Feb 2008 17:47:08 GMT
Hi all,
I have the following resource collection with different library paths 
 
  <resources id="classpath.runtime">
   <file file="${lib.jar.3rdparty}"/>
   <file file="${lib.jar.activation}"/>
   ...
  </resources>
 
and the following war task
 
<war warfile="${...}" webxml="${...}/WEB-INF/web.xml">
   <zipfileset prefix="WEB-INF" file="${...}/WEB-INF/weblogic.xml"/>
   <resources refid="classpath.runtime"/>
   <classes dir="${build.classes.dir}"/>
</war>
 
Ant 1.7 war task is resource-enabled and it work gracefully.
 
META-INF
WEB-INF
3rdparty.jar
activation.jar
 
However, how can I specify the library path within the war?
I would like to obtain the following structure:
 
META-INF
WEB-INF
    lib
        3rdparty.jar
        activation.jar
 
Any help is really appreciated.
 
Dino.
 
ps.
ZipFileSet prefix feature does not work with resources.
--





L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail


      ___________________________________ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message