task + timeout property

2007-10-24 Thread Dharmesh Vyas
Hello, I am runninng exec task to run particular tests. Few of these tests gets stuck in between and keeps on waiting for some infinite time. In order to avoid that I have put timeout and failonerror="No" so that once it times out it can move forward to run other targets. From Ant manual - exec ta

[Ant task] Calling different targets by passing it to a batch file

2007-10-18 Thread Dharmesh Vyas
Hello, I have a batch file ABC.bat, which I use to set ant path and run the build file. ABC.bat contents are somewhat like: rem Set Ant path over here ant -verbose -buildfile "RunBuild.xml" %1 -emacs I have few targets for e.g A, B, C, D in my build file RunBuild.xml. These targets are my defaul

Using Replace

2007-10-11 Thread Dharmesh Vyas
Hello Group, I have a configuration file for running my test scripts. It's in this format I need to change the values of A.xml to B.xml or C.xml or D.xml. Previously I used to know the order of it so I used to have token A.xml and replace it with B.xml, after B to C and likewise. But right now I

[help] ANT + Clearcase

2007-08-14 Thread Dharmesh Vyas
changes in the sourcode. Does anyone know about any such tool for clearcase? If there is any tool then how can I integrate that with my ANT scripts so that on each change my build gets kicked off? Thanks and Regards, - Dharmesh Vyas.

Re: visibility of the variable/parameter

2007-02-21 Thread Dharmesh Vyas
tum: Wed, 21 Feb 2007 16:57:41 +0100 Von: "Dharmesh Vyas" <[EMAIL PROTECTED]> An: "Ant Users List" CC: Betreff: visibility of the variable/parameter > Hello Group, > > Shown below is the small illustration of something which I am tryin

visibility of the variable/parameter

2007-02-21 Thread Dharmesh Vyas
he value of view in Y. ( I want to call target Y only from all and not other target) Please forgive me if this is a stupid question but finally after trying here and there i thought of asking. Thanks in advance, - Dharmesh Vyas.

Re: Stop the ant script execution

2007-02-15 Thread Dharmesh Vyas
Fail task should solve my problem. Thanks, - Dharmesh. On 2/15/07, Dharmesh Vyas <[EMAIL PROTECTED]> wrote: Hello, I want to stop the exection of ant script if some condition gets satisfied i.e. it should skip all the taks which are inlined to be carried out. Is there any task to st

Stop the ant script execution

2007-02-15 Thread Dharmesh Vyas
Hello, I want to stop the exection of ant script if some condition gets satisfied i.e. it should skip all the taks which are inlined to be carried out. Is there any task to stop the execution of the script. Thanks in advance, - Dharmesh Vyas.

Re: [Copying of a file] Issue

2006-12-18 Thread Dharmesh Vyas
ome other target (maybe scanlogs). Go to line 94 in your script to see if you're looking at the right target. -Andrew On 12/15/06, Dharmesh Vyas <[EMAIL PROTECTED]> wrote: > > Hello Group, > > I am trying to call one target from another and while calling the other > targ

[Copying of a file] Issue

2006-12-15 Thread Dharmesh Vyas
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) Total time: 1 second Please let me know If I am missing something over here. Thanks in advance, - Dharmesh Vyas.

Re: [help] Search a string in a file

2006-11-30 Thread Dharmesh Vyas
We have multiple solutions here now. :) . Thanks a lot for all your suggestions. - Dharmesh Vyas. On 11/30/06, Patrick Martin <[EMAIL PROTECTED]> wrote: Replying to my own email, using antcount (http://antcount.sourcefor

[help] Search a string in a file

2006-11-27 Thread Dharmesh Vyas
Hello all, Here is what I am trying to implement to identify if my build process has failed. For e.g this are the contents of the input file: abcd xyz what why Rebuild All: 1 failed, 0 skipped new world Rebuild All: 0 failed, 0 skipped techno - Read this file to search for string "Rebuild All:

Re: [HELP] How to use ant-contrib inside an ant plugin?

2006-11-27 Thread Dharmesh Vyas
. Thanks and Regards, - Dharmesh Vyas. On 11/24/06, Peter Reilly <[EMAIL PROTECTED]> wrote: Use the antlib:net.sf.antcontrib namespace i is @{i} Also, you should upgrade to ant 1.6.5 as ant1.6.5 fixes a number of bugs found in ant 1.6.3. (or ant 1.7.0 when it comes

[HELP] How to use ant-contrib inside an ant plugin?

2006-11-24 Thread Dharmesh Vyas
ld.xmlfile ? Please let me know where am I going wrong. Thanks a lot in Advance, - Dharmesh Vyas