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
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
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
>
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
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
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
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.