ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: war task question
Date Wed, 05 Feb 2003 13:59:25 GMT
Howdy,
Thanks.  I will try that out to see how it works ;)

I also like the staging idea directory, so thank you Mr. Wey.  I already
have a tested ant target that creates a complete staging directory, so
that may be the easier route to take.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Stefan Bodewig [mailto:bodewig@apache.org]
>Sent: Wednesday, February 05, 2003 2:18 AM
>To: ant-user@jakarta.apache.org
>Subject: Re: war task question
>
>On Tue, 4 Feb 2003, Yoav Shapira <Yoav.Shapira@mpi.com> wrote:
>
>> I have the following source organization I'd like to get into a war
>> file:
>>
>> /lib/jar1.jar
>> /lib/jar2.jar
>> /lib/jar3.jar
>> /build/myjar1.jar
>> /build/myjar2.jar
>> /images/image1.gif
>> /images/image2.gif
>> /config/web.xml
>> /config/otherConfiguration.prop
>> /html/file1.html
>> /html/file2.html
>>
>> I need all the jars in the lib directory except one, and the jars in
>> the build directory, to go into the /WEB-INF/lib directory of the
>> war file.
>
>  <lib dir="lib"/>
>  <lib dir="build"/>
>  <fileset dir=".">
>    <exclude name="lib/**"/>
>    <exclude name="build/**"/>
>  </fileset>
>
>and exclude the "except one" in the appropriate lib element.
>
>Stefan
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: ant-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: ant-user-help@jakarta.apache.org


Mime
View raw message