ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rubun Tang <>
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"/>

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

 Execute failed: 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?

Rubun Tang
Associate Software Engineer
Algorithmics Inc.

View raw message