ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kamal Chandana Mettananda" <lka...@gmail.com>
Subject Re: Packaging war
Date Wed, 01 Oct 2008 05:21:34 GMT
Inside your jar command you may declare your criteria easily. Try ant
condition.

http://ant.apache.org/manual/CoreTasks/condition.html

First you may declare your criteria as a property, and check that inside a
condition.



---------------------------------------

Kamal Mettananda
http://lkamal.blogspot.com


On Wed, Oct 1, 2008 at 12:24 AM, Mohit Anchlia <mohitanchlia@gmail.com>wrote:

> I have a war file that gets deployed in tomcat and jboss. I need to
> include log4j.xml in WEB-INF/lib only in certain env. How can I
> include this lib file selectively while pacakging war file
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message