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 6754] - Problem in Core Task "exec" attribute "dir"
Date Fri, 01 Mar 2002 00:43:42 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=6754>.
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=6754

Problem in Core Task "exec" attribute "dir"





------- Additional Comments From holtdl@yahoo.com  2002-03-01 00:43 -------
Okay, can you try this:
$ cd $ANT_HOME/bin
$ cp antRun antRun.sav
$ #use your favorite editor to change antRun to be:
#! /bin/sh

# Args: DIR command
echo "Running via antRun script..."
echo "Current directory is `pwd`..."
cd "$1"
echo "Current directory is now `pwd`..."
CMD="$2"
shift
shift

exec $CMD "$@"

Now run your "testLS1" target.

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