You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Raja Nagendra Kumar <Na...@tejasoft.com> on 2010/01/04 12:47:50 UTC
How to get reference of Fileset.defaultPatterns
Hi,
We would like to log list of includes and exclude patterns used by a
fileset.
Is there a way to reach these patterns. I see there are ways to get the
matching files and directories but not the patterns used.
Such information is stored in defaultPatterns which is a private vairable of
AbstractFileset.
Is there any other ways to have the same info.
Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com
--
View this message in context: http://old.nabble.com/How-to-get-reference-of-Fileset.defaultPatterns-tp27011895p27011895.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: How to get reference of Fileset.defaultPatterns
Posted by Antoine Levy Lambert <an...@gmx.de>.
Raja,
look at the mergePatterns method. It gives you access to the sum of
defaultPatterns and additionalPatterns, it might work for you.
Regards,
Antoine
Raja Nagendra Kumar wrote:
> Hi,
>
> We would like to log list of includes and exclude patterns used by a
> fileset.
>
> Is there a way to reach these patterns. I see there are ways to get the
> matching files and directories but not the patterns used.
>
> Such information is stored in defaultPatterns which is a private vairable of
> AbstractFileset.
>
> Is there any other ways to have the same info.
>
> Regards,
> Raja Nagendra Kumar,
> C.T.O
> www.tejasoft.com
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org