ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael_...@NAI.com
Subject exec task dir attribute
Date Wed, 15 May 2002 18:06:42 GMT
anyone have problems getting the exec task to execute a command under the
directory specified in the dir attribute?

for example:  i want to execute test.sh in the scripts directory.  my
build.xml is at the same level as my script directory.

build.xml
scripts
   |
   +--- test.sh

<target name="test">
  <exec dir="scripts" executable="test.sh"/>
    <arg value="..."/>
  </exec>
</target>

ant complains that test.sh doesn't exist.

thanks for your replies.

mike

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message