Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 336020

Summary: Improve assemble/package cleanup.assembly target
Product: [Eclipse Project] PDE Reporter: Andrew Niefer <aniefer>
Component: BuildAssignee: pde-build-inbox <pde-build-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: gunnar
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Andrew Niefer CLA 2011-02-01 16:41:40 EST
See bug 335723, if there is a problem deleting the assemblyTempDir in the cleanup.assembly target, then the build will fail.

Such problems could come for various reasons, one being a lagged nfs server (bug 335274).

We should instead do a move to a new location and make the delete use failonerror="false".  This way if the delete fails the build can still continue.

We can also consider changing the assemble scripts to use a per-config specific temporary folder like tmp.os.ws.arch .  This is related to the changes proposed in bug 283300.  I don't know if people's releng setups would be based on knowing the location of the default assemblyTempDir (buildDirectory/tmp)
Comment 1 Andrew Niefer CLA 2011-03-07 14:30:44 EST
fixed by moving tmp folder to tmp.os.ws.arch before trying to delete it
Comment 2 Andrew Niefer CLA 2011-03-08 11:17:28 EST
This fix breaks platform independent builds on windows because tmp.*.*.* is not a valid path.
Comment 3 Lars Vogel CLA 2018-12-03 09:08:05 EST
Currently we are not actively enhancing PDE build anymore. Therefore, I close this bug as WONTFIX. 

Please reopen, if you plan to provide a fix.