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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]