Antoine Levy-Lambert wrote:

Hello Kev,

the question is which piece of code creates the filesets which are added
here to the delete task.
this piece of code is probably creating the filesets in such a way that
the project field is not set.
I imagine this happens in the org.codehaus.cargo.container codebase.

That's my supposition too, however

Changing in Delete.java this line :
553                  fs.getDirectoryScanner().getIncludedDirectories()));

to

fs.getDirectoryScanner(getProject()).getIncludedDirectories()));

Changing this doesn't fix the problem - or rather the problem moves on to another part of the Delete task. It looks like there's some incompatibility between the resource collection code (added after 1.6.5) and the cargo codebase.

I'm going to keep digging, but it may have exposed a slight API change or an inconsistancy which was previously hidden - or I'm being a fool and can't see the real cause!

Thanks
Kev

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

Reply via email to