Re: Acessing ANTs execution graph

2015-05-22 Thread Parag Doke
something similar a short while back ... and simply decided to use the depends attribute. For example: ... Parag Doke Save paper, save trees. Do not print emails/documents unless absolutely necessary. On Sun, Apr 19, 2015 at 1:21 AM, Stefan Bodewig wrote: > [pretty impressive build setup, ku

Re: Multiple Arguments Validation

2011-12-01 Thread Parag Doke
Hi Vinodh. Have you tried the contains or matches conditions ? I believe (haven't tried yet) what you are trying to achieve is doable using those. Refer link: http://ant.apache.org/manual/Tasks/conditions.html Hope this helps, Parag Doke Save paper, save trees. Do not print emails/docu

Re: Ant fixcrlf

2011-11-04 Thread Parag Doke
okay to do this via just ant (rather than shell + ant) ? Thanks, Parag Doke Save paper, save trees. Do not print emails/documents unless absolutely necessary. On Fri, Nov 4, 2011 at 1:01 PM, prbharsakle wrote: > Hi All, > > I have defined some logic in my a.csh file. > > e.g. : f

Re: Checking if a Target Exists

2011-11-03 Thread Parag Doke
l for suggesting the way out ! Will keep a watch on the thread if some implementation specific inputs are shared. Regards, Parag Doke Save paper, save trees. Do not print emails/documents unless absolutely necessary. On Thu, Nov 3, 2011 at 7:57 PM, Steve Amerige wrote: > Hi Vimil, > >

Re: Set properties based on Operating System.

2011-10-17 Thread Parag Doke
I read this somewhere (don't recollect where) ... and thought you might find it useful too. Let us say you save the 2 property sets in files unix.properties and windows.properties. Then all you need in the ant file is HTH, Parag Doke Save paper, save trees. Do not print emails/documents u

Re: Best graphing utility for Ant-scripts

2011-08-30 Thread Parag Doke
Hello Kent. Have you tried checking the ant.jar version from grand ? Sometime back I figured updating that jar helped for one similar problem I had run into. Not sure if this helps ... but do give it a try ... Thanks, Parag Doke Save paper, save trees. Do not print emails/documents unless

Re: Why is the java command not executing

2011-08-29 Thread Parag Doke
Hello Venu. That's right ... ant won't execute targets in the order they appear in the build.xml file. Here is the link to the manual: http://ant.apache.org/manual/targets.html Hope this helps, Parag Doke Save paper, save trees. Do not print emails/documents unless absolutely necessary.

Re: variable number of link element in javadoc

2011-08-23 Thread Parag Doke
Hello Shawn. The fileset supports an includesfile attribute which could point to a file containing patterns. If you can generate a file at runtime, would this help ? http://ant.apache.org/manual/Types/fileset.html Thanks, Parag Doke Save paper, save trees. Do not print emails/documents unless

Re: Ant not respecting JAVA_HOME

2011-08-23 Thread Parag Doke
us know how this goes, Parag Doke Save paper, save trees. Do not print emails/documents unless absolutely necessary. On Mon, Aug 22, 2011 at 8:00 PM, Urena, Jose M (Jose) wrote: > another tip, it is not pretty. > in windows when paths have spaces, you can try using windows short names >

Re: Ant not respecting JAVA_HOME

2011-08-22 Thread Parag Doke
f line (precede with "rem ") in ant.bat / ant.cmd under ANT_HOME/bin? Maybe, if you comment that, you will see on the console what executable it is trying to run. Hope this helps, Parag Doke Save paper, save trees. Do not print emails/documents unless absolutely necessary. On Mon,

Re: Mail task on Target failure

2011-08-05 Thread Parag Doke
There is the try/catch task in antcontrib (http://ant-contrib.sourceforge.net/tasks/tasks/index.html) that allows you to catch exceptions in tasks. I haven't tried this anytime ... but maybe you could try calling a target within such a block. Thanks, Parag Doke Save paper, save trees. D

Re: execute script in background with ANT

2011-07-23 Thread Parag Doke
result property settings are not active when spawning a process. since Ant 1.6 Try: "Done." Hope this helps, Parag Doke Save paper, save trees. Do not print emails/documents unless absolutely necessary. On Sat, Jul 23, 2011 at 4:12 PM, vino_hymi wrote: >

Re: How to define a path according to a property

2011-07-04 Thread Parag Doke
dren of project as well as as children of target. <<<<< The nested include element supports attributes "if" and "unless". Hope this helps. Thanks, Parag Doke Save paper, save trees. Do not print emails/documents unless absolutely necessary. On Mon, Jul 4, 2

Re: verifying encoding value using xmlvalidate task

2011-06-06 Thread Parag Doke
Hi Dominic. I'm no ant expert, but just trying to understand the requirement. If you intent to check presence of encoding value in XML files ? Or is your intent to validate the XML files using the encoding ? Thanks in advance, Parag Doke Save paper, save trees. Do not print emails/docu

Re: Weird observation with echoxml w.r.t. order of node text

2011-04-20 Thread Parag Doke
ls of the xslt task and check if I can provide the xsl(t?) instructions inline with the build.xml. If that isn't doable, then will place them in an adjacent external .xsl file and use it using ${basedir}. Thanks once again, Parag Doke Save paper, save trees. Do not print emails/documents unl

Weird observation with echoxml w.r.t. order of node text

2011-04-08 Thread Parag Doke
uncertain, I don't know how to go about it. Has anyone else observed the same ? If yes, is there something wrong in the way I am expecting it to work ? Thanks in advance for any inputs, Parag Doke Save paper, save trees. Do not print emails/documents unless absol

Re: How to manage properties for identical tasks/macros run in parallel?

2011-03-13 Thread Parag Doke
Hello Matt. Many thanks for that. I believe this suits my intent perfectly! Regards, Parag Doke Save paper, save trees. Do not print emails/documents unless absolutely necessary. On Sun, Mar 13, 2011 at 1:08 PM, Matt Benson wrote: > You should see the task, whereby you can set up sco

Re: How to manage properties for identical tasks/macros run in parallel?

2011-03-12 Thread Parag Doke
Any ideas anyone ? Thanks in advance, Parag Doke Save paper, save trees. Do not print emails/documents unless absolutely necessary. On Mon, Mar 7, 2011 at 12:52 PM, Parag Doke wrote: > Hello ant users. > I am facing an issue with handling properties with calls to tasks/macros > nest

How to manage properties for identical tasks/macros run in parallel?

2011-03-06 Thread Parag Doke
l task and let the macros run one after the other. But that would be modifying the requirement to suit the scripting limitation I've run into. So I thought of asking here before jumping on any implementation. Thanks in advance for any pointers, Parag Doke Save paper, save trees. Do not print e