ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rubun Tang <rt...@algorithmics.com>
Subject problem with exec task
Date Tue, 26 Feb 2002 17:45:26 GMT
the exec task is acting very weird, I think it actually is a bug.

let say you have this target:

<target name="foo">
	<exec dir="${another_dir} executable="run.bat"/>
</target>

Although I have a run.bat in ${another_dir},  I will still get

 Execute failed: java.io.IOException: CreateProcess: run.bat error=2

However if I put an empty "run.bat" in the directory I execute safari, the
exec task will run as expected. Has anyone reported this bug yet?

Cheers,
Rubun Tang
Associate Software Engineer
Algorithmics Inc.
____________________
rtang@algorithmics.com
416.217.4460


Mime
View raw message