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 <[EMAIL PROTECTED]>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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >