ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <levylamb...@tiscali-dsl.de>
Subject Re: proposed extension of pathconvert to be able to pull the directories from filesets
Date Tue, 27 May 2003 10:56:21 GMT
No, it is not possible to do what I want using dirsets instead, because I
want to implement that to be able to test filesets with selectors in them,
including the directories that they contain.
I can leave <path/> and <pathelement/> as they are, and do my tests by
calling FileScanner#getIncludedFiles() and
FileScanner#getIncludedDirectories() in my test cases. This might be the
simplest thing to do.

Antoine
----- Original Message -----
From: "Stefan Bodewig" <bodewig@apache.org>
To: <dev@ant.apache.org>
Sent: Tuesday, May 27, 2003 12:33 PM
Subject: Re: proposed extension of pathconvert to be able to pull the
directories from filesets


> On Tue, 27 May 2003, Antoine Levy-Lambert <levylambert@tiscali-dsl.de>
> wrote:
>
> > The code of the <path> datatype only pulls the files contained in a
> > fileset,
>
> Yes, and the directories from dirsets.
>
> > <pathconvert property="fileset.expanded" targetos="unix">
> >   <pathelement includedirs="true">
> >     <fileset dir="somedir">
> >       <type type="dir"/>
> >     </fileset>
> >    </pathelement>
> >  </pathconvert>
>
> would add yet another special case (see <apply>'s type attribute).
>
> Is it possible to do what you want by using dirsets instead?
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>



Mime
View raw message