ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Harnack <harna...@mail05.harlau.de>
Subject Re: particular fileset question
Date Wed, 18 Jan 2006 15:09:31 GMT
A more flexible solution may be:

<property name="myincludes" value="**/folderA/**/*.jar,**/folderB/**/*.jar"/>
<fileset dir="${lib.dir}" includes="${myincludes}"/>

You can define the property "myincludes" in a property file alternatively.

Regards,
Frank


Quoting Markus Innerebner <markus.innerebner@wuerth-phoenix.com>:

> I realized my problem:
>
> the jars where not in the subfolder, but in the subsubfolder.
> with this settings
> <fileset dir="${lib.dir}">
>         <include name="**/folderA/**/*.jar" if="is.folderA.present"/>
>         <include name="**/folderB/**/*.jar" if="is.folderB.present"/>
> </fileset>
>
> the example work.
>
> thanks for your help.
> Markus
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>





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


Mime
View raw message