ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rez <pon...@hotmail.com>
Subject Running exec tast
Date Thu, 20 Nov 2008 20:31:47 GMT

Hi
 
 
I can run the below command from a Windows cmd line just fine
cvs -f stat | grep "Repository revision" | gawk '{print $4 " " $3}'
but now I'd like to add it to my build.xml file in a target
 
<target name="stat"> <exec executable="cmd">  <arg value="/c"/>      <arg
line="cvs -f stat | grep "Repository revision" | gawk '{print $4 " " $3}'"/> </exec></target>
 
I've changed the double quotes with &#34; and single quotes with &#39; and every other
combination imaginable and I still get errors.  Please help.
 
 
Thanks
_________________________________________________________________
Access your email online and on the go with Windows Live Hotmail.
http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_access_112008
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message