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 Apach

Script task not working

2009-12-08 Thread Harry_
Hi, I have created following Script task and it is not working on Ant version 1.6.5 but is working on 1.7.1. I added js.lib specified as library dependency for this task on 1.6.5 but it is still not working.

Re: ForTask throwing exception for same value for begin and end

2009-12-01 Thread Harry_
;>  build.xml:2: end <= begin, step needs to be < 0 >> >> So I see two possibilities: >> 1) the exceptional 1-jvm-case >>   >>     >>   ... >>   >>     >>     >>     >>       >> >> 2) NullObject >>   M

Could not find xml-commons-apis Java extension for this JVM Error on running ant on CentOS

2009-12-01 Thread Harry_
Hi, I have to run some jmeter scripts on ant. But I am getting the following error on running the scripts. /usr/bin/build-classpath: error: Could not find xml-commons-apis Java extension for this JVM /usr/bin/build-classpath: error: Some specified jars were not found If I simply type ant on com

ForTask throwing exception for same value for begin and end

2009-11-30 Thread Harry_
Hi, I am using ForTask for looping. The end attribute value comes from property. I am using it like The above code works fine. But when I make the value of JVMInstances as 1, then exception comes during the execution of this Ant file. Can Any one tell me if it is a known defect that fo

Re: Killing Ant process through shell script when multiple Java processes are running...

2009-11-25 Thread Harry_
s -efww | grep 'myantprocess' | awk '{print $1}' > > All of this again depends on your OS and the available tools you have. > > -bp > > > On Nov 24, 2009, at 10:32 AM, Harry_ wrote: > >> >> Hello, >> >> I want to sc

Killing Ant process through shell script when multiple Java processes are running...

2009-11-24 Thread Harry_
Hello, I want to schedule a task using ant using crontab. On shell script will start the ant and the task I want to run. This is easy. One shell script will kill the above ant process. But the problem is that multiple java processes are running on machine. I only want to kill only the ant pro

Re: Running parallel targets in Ant loop

2009-11-11 Thread Harry_
ve never used the parallel > attribute, since > most of ant is not parallel safe. > > Peter > >> >> you can use task >> >> >> Harry_ wrote: >>> >>> Hi, >>> >>> I need to run multip

Re: Running parallel targets in Ant loop

2009-11-11 Thread Harry_
es for id param cvsusr wrote: > > you can use task.. > > > > Harry_ wrote: >> >> Hi, >> >> I need to run multiple target in Ant's loop. How can I a

Running parallel targets in Ant loop

2009-11-10 Thread Harry_
Hi, I need to run multiple target in Ant's loop. How can I achieve this. I am able to make antcall in sequential way as described below.