i think what you want is:
<zipfileset dir="${build.dir}">
<exclude name="**/*example*/**" /> <!-- exclude example files
-->
<exclude name="**/*Test*/**" /> <!-- exclude test files
-->
</zipfileset>
hth,
Vijay
Luca Ferrari wrote:
Hi,
is it correct the following file set to be included in a jar task for
excluding examples and test files?
<zipfileset dir="${build.dir}">
<exclude name="**/*example*" /> <!-- exclude example files
-->
<exclude name="**/*Test*" /> <!-- exclude test files
-->
</zipfileset>
I still got the classes under the example package and the Test classes into my
jar.....
Thanks,
Luca
---------------------------------------------------------------------
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]