build.xml file scanning

2009-12-09 Thread Raja Nagendra Kumar
Hi, Looking to give the following user experience. We have directories in the following order A has sub dirs B which inrun has sub dir C. directory C has build.xml file. When the user runs ant from directory A or B (both these directories does not have build.xml) is it possible to say do you

Re: [ANN] AntXtras 2.0.0 (and sub-projects) released.

2009-12-09 Thread Gilbert Rebhan
Wascally Wabbit wrote: > ANNOUNCEMENT: > > The 2.0.0 release of AntXtras and its major sub-projects > has been posted to SourceForge.net for download. > > Location: http://sf.net/projects/antxtras/ > > The 2.0.0 release includes a full refresh of all > User Guides and improved online documentation.

RE: ANT Property substutition in log4j.properties

2009-12-09 Thread Jim Garrison
> -Original Message- > From: Antoine Levy Lambert [mailto:anto...@gmx.de] > Sent: Wednesday, December 09, 2009 6:43 AM > To: Ant Users List > Subject: Re: ANT Property substutition in log4j.properties > > Hello Jim, > > log4j understands system properties, not ant properties. > > So most

Re: Script task not working

2009-12-09 Thread Harry_
Thanks Stefen! Stefan Bodewig wrote: > > On 2009-12-08, Harry_ wrote: > >> It is working fine on 1.7.1... Does ant support this task as core task by >> default in 1.7.1 as I do not have js.jar on machine having 1.7.1. > > The script task in Ant 1.6.5 uses Apache BSF as its sole scripting > e

Ignore Classpath in MANIFEST the 2nd

2009-12-09 Thread Sebastian Altmann
Hi everybody, i defined a classpath in my ant-file which is used for compiling. This classpath countains a lib called XXX.jar for example. In the Manifest of XXX.jar there is declared a classpath containing e.g. dom4j.jar. If i run my compile target now i get a warning: bad path element [direct

Ignore Classpath in MANIFEST

2009-12-09 Thread Sebastian Altmann
Hi everybody, i defined a classpath in my ant-file which is used for compiling. This classpath countains a lib called XXX.jar for example. In the Manifest of XXX.jar there is declared a classpath containing e.g. dom4j.jar. If i run my compile target now i get a warning: [directory where XXX.jar

Re: common lib in tomcat

2009-12-09 Thread Antoine Levy Lambert
kasim ahmed wrote: Hi, I am using Ant target to run the Tomcat, I have db2.jar files, when I keep in common/lib folder it is working fine, but if i keep in different shared location and specify the path for jar, it is not taking those classes, but i have some other jar file in shared location wh

Re: tomcat server start-up with ant target

2009-12-09 Thread Antoine Levy Lambert
Hello Kasim, you are defining a fileset, but you are not referencing it afterwards. To be able to reference the fileset in your invocation, you would need to give an id to the fileset, like this Anyway, when you start tomcat, the bootstrap.jar by default picks up all t

common lib in tomcat

2009-12-09 Thread kasim ahmed
Hi, I am using Ant target to run the Tomcat, I have db2.jar files, when I keep in common/lib folder it is working fine, but if i keep in different shared location and specify the path for jar, it is not taking those classes, but i have some other jar file in shared location which is taking these d

Re: ANT Property substutition in log4j.properties

2009-12-09 Thread Antoine Levy Lambert
Hello Jim, log4j understands system properties, not ant properties. So most likely these ANT_ARGS on linux do not set a system property but just an ant property. System properties are copied to ant properties, but the reverse is not true. Using ANT_OPTS=-Dwork.dir=somepath should work on bot

Re: Script task not working

2009-12-09 Thread Stefan Bodewig
On 2009-12-08, Harry_ wrote: > It is working fine on 1.7.1... Does ant support this task as core task by > default in 1.7.1 as I do not have js.jar on machine having 1.7.1. The script task in Ant 1.6.5 uses Apache BSF as its sole scripting engine, with Ant 1.7.x we added support for javax.script

tomcat server start-up with ant target

2009-12-09 Thread kasim ahmed
Hi, I have target which start-up Tomcat server, I have some external jar(which I shouldnot keep in common/lib) which need to lookup while server startup. I have added property also fileset for jar lookup, but it is not referring the jar where I have specified the location. my target is: >

tomcat server start-up with ant target

2009-12-09 Thread kasim ahmed
Hi, I have target which start-up Tomcat server, I have some external jar(which I shouldnot keep in common/lib) which need to lookup while server startup. I have added property also fileset for jar lookup, but it is not referring the jar where I have specified the location. my target is: