Conor MacNeill wrote:

> Costin Manolache wrote:
>> 
>> 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.
>> 
> 
> Consider then
> 
> project1 ---> import project2 ---> import project3
> 
> Project2 will specify project3 relative to its basedir. The above approach
> will, I think, load the project relative to project1's basedir which would
> be wrong.
> 
> It must be in the context, I think.

You're right - setFile(File) won't work. It needs the base dir of 
the "current" project. It needs to be in a stack ( i.e. part of the
abstraction in ProjectHelper ). 

Costin


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

Reply via email to