> -----Original Message-----
> From: Alan Brown [mailto:[EMAIL PROTECTED]
> 
> I have a master build file in Project that uses the Ant task to call
> targets in slave build files in the directories below it (tools, server
> and client).  One of these slave build files (Tools) uses Subant to call
> build files dynamically in directories below it.  However, in this
> scenario the baseDirectory is not set correctly and remains as the Tools
> directory.
> 
> This is confirmed by the fact that all runs perfectly well if I run 'ant
> build' directly from the Tools directory.  It's only running it from
> Project that causes the failure.
> 
> Does anyone know a workaround to this problem?

It may be a bug indeed!?

But a possible work around would to not use <ant> from the master build, but
<subant> as well, or use <ant> is such a way that you do not override the
basedir of the Tools build.

The problem might be the interaction of <ant> + <subant>. --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to