ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: ant unable to find build.xml in another directory?
Date Mon, 13 Jul 2009 11:23:43 GMT
On 2009-07-10, starkc <starkc@tessco.com> wrote:

> Stefan Bodewig wrote:

>> On 2009-07-10, starkc <starkc@tessco.com> wrote:

>>> As part of compiling my projects in windows, I am required to execute a
>>> second ant task, defined in my build.xml as follows:

>>> <target name="maint">
>>> 	<exec failonerror="yes" executable="ant.bat" dir="../maintenance">
>>>   <arg value="ejb"/>
>>>   </exec>
>>> </target>

>> See the "Windows Users" section at the top of
>> http://ant.apache.org/manual/CoreTasks/exec.html

> Adding the "/c" flag resulted in the same error, no change.

Well, it works for me.

> This same command seems to work for the rest of my team, and not me,
> which leads me to further believe this is somehow a setup problem.

Quite likely.

> PATH = C:\jdk1.5.0\bin;.;C:\j2sdk1.4.2_15\bin;C:\oracle\ora92\bin;C:\Program
> Files\Oracle\jre\1.3.1\bin;C:\Program
> Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> Files\Intel\DMIX;C:\Program Files\Seapine\Surround SCM;C:\Program
> Files\QuickTime\QTSystem\;c:\python24;C:\Program
> Files\Git\cmd;c:\dev-jboss\ant\bin;

Maybe there is an ant.bat somewhere prior to c:\dev-jboss\ant\bin in
your PATH?

Stefan

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


Mime
View raw message