ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Fetzer <elstonk...@yahoo.com>
Subject Calling CYGWIN from Ant in XP
Date Tue, 04 Aug 2009 19:55:32 GMT
I'm trying to call CYGWIN from Ant in XP unsuccessfully.  I need to run a shell script from
winders that returns a value to me.  Tried:

    <exec dir="C:\cygwin" executable="Cygwin.bat" os="Windows XP" timeout="1000" outputproperty="returnValue">
      <arg line="/cygdrive/c/cygwin/home/myuser/myShellScript.sh"/>
    </exec>

I get:

BUILD FAILED
C:\BuildDeployScripts\testCYGWIN.xml:3: Execute failed: java.io.IOException: Crea
teProcess: Cygwin.bat /cygdrive/c/cygwin/home/myuser/myShellScript.sh error=2

Any help?

Thanks,
Eric


      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message