ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Vogel <pvo...@arsin.com>
Subject <tarfileset ..> bug?
Date Fri, 08 Jun 2001 22:33:54 GMT
Am I just missing something here?  I've tried all kinds of
permutations of <includes> and <excludes> directives but I'm
still getting two copies of almost everything in my tarball, for
example

C:\e2open\b1003\ehub>tar tzf ehub.tar.gz | grep bw30
dist/lib/bw30.jar
dist/lib/bw30.jar

The <tar> task in question:

	<tar tarfile="${ant.project.name}.tar" basedir="realdist">
	    <tarfileset dir="realdist" mode="755">
	        <include name="**/*.sh"/>
	        <include name="**/*.csh"/>
	    </tarfileset>
	    <tarfileset dir="realdist">
	        <include name="**/*"/>
	        <exclude name="**/*.sh"/>
	        <exclude name="**/*.csh"/>
	    </tarfileset>
	</tar>


Thanks!
-Peter

Mime
View raw message