ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Ant.java
Date Mon, 29 Oct 2001 14:52:11 GMT
On Mon, 29 Oct 2001 20:38, Stefan Bodewig wrote:
> On Fri, 26 Oct 2001, Peter Donald <donaldp@apache.org> 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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message