ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 7046] - Exec doesn't find correct path if using nested ant files.
Date Tue, 12 Mar 2002 15:48:16 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7046>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7046

Exec doesn't find correct path if using nested ant files.

holtdl@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From holtdl@yahoo.com  2002-03-12 15:48 -------
Run the batch file from a command shell (cmd.exe):
        <target name="dist">
                <!--description="Executing test.bat ..."/-->
                <exec dir="." executable="cmd.exe" os="Windows NT">
                  <arg line="/c test.bat"/>
                </exec>
        </target>

Do the same for running a shell script, but change 'executable' to "sh" and
the "/c test.bat" to "-c test.sh" (or whatever you call your shell script).

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


Mime
View raw message