ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vijay Aravamudhan <avij...@gmail.com>
Subject Re: exclude test and examples from a jar
Date Thu, 27 Mar 2008 18:03:18 GMT
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: 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