You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Peter Vogel <pv...@arsin.com> on 2001/06/09 07:39:26 UTC

FW: bug?

Didn't hear anything on the normally very responsive
ant-user list, thought I'd try here, since this may
actually be a bug...

-Peter
---
Peter A. Vogel
Manager, Configuration Management
Arsin Corporation, Professional Services 
http://www.arsin.com  


-----Original Message-----
From: Peter Vogel [mailto:pvogel@arsin.com]
Sent: Friday, June 08, 2001 3:34 PM
To: 'ant-user@jakarta.apache.org'
Subject: <tarfileset ..> bug?


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