ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Leaton <>
Subject fileset problem
Date Mon, 12 Jul 2010 09:36:49 GMT
I'm trying to create a zip file to archive source.

However, I want to exclude the .hg directory (mercurial) apart from
the .hg/hgrc file which contains the configuration for the repository.

I can't get the fileset working properly. This is my attempt.

	<target name="archive">
		<antcall target="clean"/>
		<zip destfile="c:/archive/${}-${DSTAMP}.zip">
			<fileset dir=".">
				<exclude name=".hg"/>
			<fileset dir=".">
				<include name=".hg/hgrc"/>

Any ideas?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message