ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Costin Manolache <cmanola...@yahoo.com>
Subject Re: Improt task and project basedir
Date Wed, 08 Jan 2003 07:21:56 GMT
Conor MacNeill wrote:

> The import task does not currently use the project basedir to resolve
> import files. So, the following does not work as I would have expected
> 
> <project default="test" basedir="..">
>    <import file="base2/base2.xml"/>
> 
>    <echo message="base1.xml"/>
> </project>
> 
> Is this desirable?

No, the basedir was lost during the refactoring, it used to be
extracted from the sax context.

Since Import is a task - the easiest is to change to 
setFile( File ). I can't work on this right now - I'll try tommorow.

Costin


--
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