ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lopez, William" <william.lo...@eds.com>
Subject Jar error
Date Mon, 19 May 2003 16:51:09 GMT
Hello list:

I'm attempting to jar a group of class files after compiling them...my task
is defined as so:

<jar destfile="${tempBOJar}" update="true" index="true">
  <fileset dir="${bo.build.dir}\Reference" includes="**\*.class" /> 
</jar>

..the following error is returned:
BUILD FAILED
file:E:/CM/Projects/NEW_BUILD_PROCESS/EDS_Build/Integration/jm_depend.xml:30
9: Unable to rename old file to temporary file
	at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:388)
	at org.apache.tools.ant.Task.perform(Task.java:341)
	at org.apache.tools.ant.Target.execute(Target.java:309)
	at org.apache.tools.ant.Target.performTasks(Target.java:336)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
	at org.apache.tools.ant.Main.runBuild(Main.java:609)
	at org.apache.tools.ant.Main.start(Main.java:196)
	at org.apache.tools.ant.Main.main(Main.java:235)


...I'm guessing that the previous task (compile) still has a "hold" of the
jar file (it is used in the classpath element of the compile task). Any tips
greatly appreciated.

Thanks,
-Will

Mime
View raw message