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 <[EMAIL PROTECTED]>:

> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to