Re: Excute shell command

2009-07-14 Thread David Weintraub
I could simply tell you to use the exec task: However, there must be a better way to get this particular information: You can use , and that would put the value of $var into a property called "ENV.var". Now, to parse it a bit. That could be done with resources and token filtering. See < h

Re: pick version from xml node and replace to another xml file

2009-07-14 Thread Scot P. Floess
What does this XML represent? Is it a properties file? You can certainly do this type of work with XSLT - but not sure how its being used base don your question... On Tue, 14 Jul 2009, jhoomshar...@netscape.net wrote: Hi All, does it possible to pick the version from xml node 3.4.02.02

Excute shell command

2009-07-14 Thread jhoomsharabi
Hi All, I am stuck to shell command execution in my build.xml file, I want to execute the following command from my build.xml file: KAR=`echo $var | awk -F. '{print $4}'` Can anyone help me out in this? Thanks in advance.