ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject Re: Printing out patternsets and/or filesets
Date Tue, 18 Apr 2006 22:39:33 GMT
Hello Carlton,

With pathconvert you can convert the fileset to a property which will 
list the files in the fileset.
Please read the manual.
For the patternset nothing obvious.

Regards,

Antoine

>Just to rule it out, I tried the obvious <echo message="the files are
> ${thefiles}"/> which of course didn't work.



Brown, Carlton wrote:
> Hi,
>
>  
>
> I need to know if there is a way to print out a patternset or fileset
> for debugging.  Likesay if I've specified a patternset and given it an
> ID:
>
> <patternset id=thestuff>
>
>             <include name="thing1"/>
>
>             <include name="thing2"/>
>
> </patternset>
>
>  
>
> Or for a fileset, similar situation.
>
> <fileset dir="/theplace" id="thefiles">
>
>             <patternset refid="thestuff"/>
>
> </fileset>
>
>  
>
> How do I go about displaying the list of what the fileset resolved to?
> Or the contents of the patternset?    (I mean other than debug or
> verbose, I'd like to just see this in the output).  
>
> Just to rule it out, I tried the obvious <echo message="the files are
> ${thefiles}"/> which of course didn't work.
>
>  
>
> Help appreciated.
>
>  
>
> -Carlton
>
>   



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message