Hi all,
We have developed a feature based product. The feature
consists of 5 plugins. When I try to build the product (headless build) using
build.properties and other templates, I get this error:
build\assemble.org.eclipse.pde.build.container.feature.win32.win32.x86.xml:25:
Unable to delete file build\tmp\testbuild\plugins\com.infy.finacle.fss.utils_1.0.0\jars\org.eclipse.emf.ecore_2.2.1.v200609210005.jar
at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:541)
at
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418)
at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at
sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at
java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at
org.apache.tools.ant.Task.perform(Task.java:348)
at
org.apache.tools.ant.Target.execute(Target.java:357)
at
org.apache.tools.ant.Target.performTasks(Target.java:385)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at
org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
Probably ant is holding up the jars, because the error is
thrown for different jars, all in the “tmp” folder, every time I
run the headless build. Can I some how pass the attribute “fork=true”
for ant tasks “javac”, assemble and package during the headless
build.
Please help.
Regards,
Abhijit.