Hi,
the best solution would be to revert my changes in
AbstractFileSet#setupDirectoryScanner(FileScanner, Project),
and change this in mergePatterns :
PatternSet ps = new PatternSet();
ps.append(defaultPatterns, p);
to
ps = defaultPatterns.clone();
the fact that PatternSet#append removes the include/exclude patterns
which are not valid due to if or unless clauses made us lose the
information that
there was an include pattern, leading to "<include if="property"> logic
changed for <javac> since ant 1.6.5"
at this occasion we should add a Clone() method to DataType and to
ProjectComponent.
What do you think ?
Regards,
Antoine
[1] http://issues.apache.org/bugzilla/show_bug.cgi?id=40722.
Antoine Levy-Lambert wrote:
> Hi,
>
> I am pretty sure that Matt will rework my changes.
> AbstractFileset#mergePatterns is called from Sync#removeOrphans, so I
> could not remove it without changing sync.
>
> Regards,
>
> Antoine
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]