ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <ddevie...@gmail.com>
Subject Re: ant unable to find build.xml in another directory?
Date Fri, 10 Jul 2009 14:42:00 GMT
On Fri, Jul 10, 2009 at 9:35 AM, 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>

Why exec rather than <ant>?

> compile correctly.  I have tried running ant with the -verbose and -debug
> flags, and there is no extra information given about the situation,

Normally verbose mode shows the exact command line used and
the current dir so this is very surprising. You may have missed it in the sea
of unrelated messages. Have a closer look please.

> Running Ant version: Apache Ant version 1.5.1 compiled on October 2 2002

Why such an old Ant version? --DD

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


Mime
View raw message