On Mon, 29 Oct 2001 20:38, Stefan Bodewig wrote:
> On Fri, 26 Oct 2001, Peter Donald <[EMAIL PROTECTED]> wrote:
> > <ant antfile="build.xml" dir="../.." target="compile"
> >      inheritall="false"/>
>
> This is supposed to set the basedir of the called project to
> ../.. where this ../.. will be resolved as being relative to the
> current project's basedir.

right.

> > What happens is that the base build.xml inherits the current
> > projects basedir and does not use it's own
>
> (should do so if you omit the dir attribute)

but the dir attribute is not omitted ;)

> > , nor does it use the dir passed in.
>
> Sure?  I don't really see how this could happen from looking at the
> code:
>
>             if (dir != null) {
>                 newProject.setBaseDir(dir);
>
> strange ...

precisely why I was asking the group. I looked at the code and it looks a-ok. 
Why the cornerstone build files started breaking after the change I dunno ;/

-- 
Cheers,

Pete

--------------------------------------------------
 Logic: The art of being wrong with confidence...
--------------------------------------------------

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

Reply via email to