Re: Ant 1.7.0 and Junit error

2007-06-08 Thread Peter Reilly
This is normally due to having an old (pre ant 1.7.0) version of JUnitTask somewhere in the classpath. It is for example in weblogic.jar, "slurping up" spring jars including an old ant.jar file, or using WAS see: http://issues.apache.org/bugzilla/show_bug.cgi?id=41511 Peter On 6/8/07, Eric Wood

RE: How we will check the jsp with Ant script

2007-06-08 Thread Chun Ji
If I have lots of jsp files, and they have some fancy dependence of each other, I would not use "tomcat" or "jboss" to do the precompile, because it will give you nothing, but pain. Chun -Original Message- From: Saurabh Dave [mailto:[EMAIL PROTECTED] Sent: Thursday, June 07, 2007

Ant 1.7.0 and Junit error

2007-06-08 Thread Eric Wood
When I run JUNIT (using junit-3.8.1.jar) on my code I get the following error: java.io.FileNotFoundException: /cclocal/viewroot/content_management/wim/build_wim_Integration/vob/conte nt_management/wim/WIM-Service/junitvmwatcher1813934409.properties (No such file or directory) [junit] at j

Re: can filesets be stored in a properties file?

2007-06-08 Thread Matt Benson
Oh, is THAT what he meant? :) well, whatever... --- Gilbert Rebhan <[EMAIL PROTECTED]> wrote: > Hi, > > caleysoldman wrote: > > [ ...] > > :arguing: > > > > regardless, what i did was create a working build > ...all i really need to > > understand is how to move the fileset to an > external

Re: can filesets be stored in a properties file?

2007-06-08 Thread Matt Benson
--- caleysoldman <[EMAIL PROTECTED]> wrote: > > hi matt, thanks for your reply...here you are ant > folx: > > my requirement is to produce sql using ant. i am > enjoined not to use > velocity, groovy, or anything but ant. > > as such, what i am trying to replicate is shell > script logic beca

Re: can filesets be stored in a properties file?

2007-06-08 Thread Gilbert Rebhan
Hi, caleysoldman wrote: [ ...] :arguing: regardless, what i did was create a working build ...all i really need to understand is how to move the fileset to an external file that will then be used based on the DBMS property which value is passed at the command line. thanks in advance for your h

Re: AW: how to get a process id from a spawned task?

2007-06-08 Thread Gilbert Rebhan
Hi, arijit wrote: I was thinking more of listing the current running processes in windows and then killing one of them. if you're runnning on windows maybe you can go via combined with PSKILL which is part of the PTOOLS suite, formerly Sysinternals now under the hood of Mystersoft = http

Re: can filesets be stored in a properties file?

2007-06-08 Thread caleysoldman
hi matt, thanks for your reply...here you are ant folx: my requirement is to produce sql using ant. i am enjoined not to use velocity, groovy, or anything but ant. as such, what i am trying to replicate is shell script logic because those are my marching orders. i mention this because i'm sure

Can properties set in a build called from another build be reference by the calling buildfile?

2007-06-08 Thread Dave
I have two ant scripts. A target in build-1 has dependencies on a target in build-2. Those dependences are called using the task. The target in build-1 will run depending on whether or not a property is set by a task in the target in build-2. I wondering can (and if not, how could it be done) th

Re: can filesets be stored in a properties file?

2007-06-08 Thread Matt Benson
Show us an example of what you're trying to do. -Matt --- caleysoldman <[EMAIL PROTECTED]> wrote: > > > hi folx, > > is it possible to use the refid of a fileset that is > stored in a properties > file? if so, how?? > > i am new to ant and to java. i have successfully > created a build that

can filesets be stored in a properties file?

2007-06-08 Thread caleysoldman
hi folx, is it possible to use the refid of a fileset that is stored in a properties file? if so, how?? i am new to ant and to java. i have successfully created a build that uses one of two properties files based on a variable that is passed at the command line via -D option. now i would like t

Re: AW: how to get a process id from a spawned task?

2007-06-08 Thread arijit
I was thinking more of listing the current running processes in windows and then killing one of them. Knuplesch, Jürgen wrote: > > As far as I know, there is the possibilty to set a timeout, if that is > waht you want! > > > -- > Jürgen Knupleschwww.icongmbh.de > icon Sy

AW: how to get a process id from a spawned task?

2007-06-08 Thread Knuplesch , Jürgen
As far as I know, there is the possibilty to set a timeout, if that is waht you want! -- Jürgen Knupleschwww.icongmbh.de icon Systemhaus GmbHTel. +49 711 806098-275 Sophienstraße 40 D-70178 Stuttgart Fax. +49 711 806098-

Re: how to get a process id from a spawned task?

2007-06-08 Thread arijit
I followed the suggestion that Prashant had provided and executed jps from within ant by using . However, if I want to kill a process running under windows, how will I be able to do that ? arijit wrote: > > Being a newbie here, can you please elaborate a little more on how you > resolved this p

Re: javac task with classpath issue

2007-06-08 Thread David Weintraub
Please, please change your email preferences to not send HTML email messages! This is a text only list, and I simply cannot read your email. I think what you're saying is that you have two directories: eg1 and eg2. You compile a JAR in ej1, and need that JAR in eg2. However, eg2 recompiles and re

Re: how to get a process id from a spawned task?

2007-06-08 Thread arijit
Being a newbie here, can you please elaborate a little more on how you resolved this problem ? Jay Dickon Glanville wrote: > > Thanks. That helped. I used the task from > ant-contrib to retrieve just the process id, and then echoed that to > the user. > > Much appreciated. > > JDG > > On

RE: call other build files

2007-06-08 Thread Mike Stewart
>>> [EMAIL PROTECTED] 08/06/2007 12:12 >>> Hi, -Original Message- From: arijit [mailto:[EMAIL PROTECTED] Sent: Friday, June 08, 2007 1:05 PM To: user@ant.apache.org Subject: call other build files /* 1. Is it possible to call Build2 file from Build1 which is executed using ANT

Re: call other build files

2007-06-08 Thread arijit
Thanks Bob. Gilbert pointed me to the same location. I have got a sample working :) Bob Aiello-2 wrote: > > Yes > http://ant.apache.org/manual/CoreTasks/ant.html > > It is pretty common to structure your ant build by using separate > build.xml's for > each module. This is similar to the way t

Re: call other build files

2007-06-08 Thread Bob Aiello
Yes http://ant.apache.org/manual/CoreTasks/ant.html It is pretty common to structure your ant build by using separate build.xml's for each module. This is similar to the way that Maven is often used with a separate pom.xml for each module. If you have trouble finding a working example - let me

RE: call other build files

2007-06-08 Thread arijit
Thanks Gilbert. This means that task will be able to help me out Rebhan, Gilbert wrote: > > > > Hi, > > -Original Message- > From: arijit [mailto:[EMAIL PROTECTED] > Sent: Friday, June 08, 2007 1:05 PM > To: user@ant.apache.org > Subject: call other build files > > > /* > > 1.

RE: call other build files

2007-06-08 Thread Rebhan, Gilbert
Hi, -Original Message- From: arijit [mailto:[EMAIL PROTECTED] Sent: Friday, June 08, 2007 1:05 PM To: user@ant.apache.org Subject: call other build files /* 1. Is it possible to call Build2 file from Build1 which is executed using ANT ? 2. Is it possible to execute a particular tas

call other build files

2007-06-08 Thread arijit
Hi, 1. Is it possible to call Build2 file from Build1 which is executed using ANT ? 2. Is it possible to execute a particular task in Build2, by calling it from Build1 ? Regards, Arijit -- View this message in context: http://www.nabble.com/call-other-build-files-tf3889095.html#a11024407 Sent

[Ann] New related projects : Ant WebUI

2007-06-08 Thread Cédric CHAMPEAU
Hi there, I've developped a tool for my company which relies on Apache Ant : it's an Ajax-based web application which allows running Ant tasks from an intuitive web interface. I've managed to get it released open source (Apache 2.0 licence). Running tasks from the web allows a large variety of us

javac task with classpath issue

2007-06-08 Thread query
I have already compiled some java source files using ANT task and created a jar file(eg1.jar). I am using eg1.jar in the classpath to compile files in E:\\ANTBUILD\\eg\\eg2\\sources.The log shows that in the classpath, it is also including the destination folder as a classpath. Is it an