Hi,
I tried exporting a sample feature based
project by creating a small helloworld project. Again my feature – com.example.helloworld.feature
– includes 2 plugins - com.example.helloworld & com.example.byeworld.
However I get following error while exporting the project using the export wizard in feature manifest file (in
eclipse 3.3).
Problems during export
D:\abhijit\HELLOWORLD\com.example.helloworld.feature\assemble.com.example.helloworld.feature.win32.win32.x86.xml:69:
Unable to rename old file
(D:\temp\hello_example.zip) to temporary file
Unable to rename old file
(D:\temp\hello_example.zip) to temporary file
D:\abhijit\HELLOWORLD\com.example.helloworld.feature\assemble.com.example.helloworld.feature.win32.win32.x86.xml:69:
Unable to rename old file
(D:\temp\hello_example.zip) to temporary file
Unable
to rename old file (D:\temp\hello_example.zip) to temporary file
I’m attaching the projects. Has anybody
faced this sort of problem? Please guide.
Thanks,
Abhijit.
From:
pde-build-dev-bounces@xxxxxxxxxxx [mailto:pde-build-dev-bounces@xxxxxxxxxxx] On Behalf Of Abhijit Nandkumar Ghonge
Sent: Thursday, August 09, 2007
11:48 AM
To: 'pde-build-dev@xxxxxxxxxxx'
Subject: [pde-build-dev] headless
build
Importance: High
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.