Re: Excute shell command

2009-07-16 Thread David Weintraub
this code platform specific where else it can fail, because I am least > bothered of platform as the things will always remain on Linux we are not > going to move out from Linux. > > > > > > > > > > -Original Message- > From: David Weintraub > To: An

Re: Excute shell command

2009-07-15 Thread jhoomsharabi
remain on Linux we are not going to move out from Linux. -Original Message- From: David Weintraub To: Ant Users List Sent: Thu, Jul 16, 2009 2:52 am Subject: Re: Excute shell command I just tested this: * Output = ${KAR}* The problem is you

Re: Excute shell command

2009-07-15 Thread David Weintraub
o" task outside shellscript task is not able to get the > value of "KAR" and "MAR" > Can anyone give me an idea on how I can use "KAR" and "MAR" outside of > shellscript task? > > > -Original Message- > From: David Weintraub >

Re: Excute shell command

2009-07-15 Thread jhoomsharabi
k is not able to get the value of "KAR" and "MAR" Can anyone give me an idea on how I can use "KAR" and "MAR" outside of shellscript task? -Original Message- From: David Weintraub To: Ant Users List Sent: Tue, Jul 14, 2009 11:20 pm Subje

Re: Excute shell command

2009-07-15 Thread jhoomsharabi
quot; task outside shellscript task is not able to get the value of "KAR" and "MAR" Can anyone give me an idea on how I can use "KAR" and "MAR" outside of shellscript task? -Original Message- From: David Weintraub To: Ant Users List Sent: Tue, Jul

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

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.