ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28046] - Ant includes JARs in working directory
Date Tue, 30 Mar 2004 13:05:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28046>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28046

Ant includes JARs in working directory





------- Additional Comments From nsydenham@yahoo.co.uk  2004-03-30 13:05 -------
Try running this twice:

<project name="JARTest" default="jar">
	<target name="jar" description="Create and delete JAR">
		<jar destfile="test.jar" basedir="." update="true" includes="build.xml"/>
	</target>
</project>

The second time you will get an error: D:\tmp\build.xml:3: Unable to rename old
file (D:\tmp\test.jar) to temporary file

Removing the basedir attribute seems to allow it to work.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message