Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336020 - Improve assemble/package cleanup.assembly target
Summary: Improve assemble/package cleanup.assembly target
Status: RESOLVED WONTFIX
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Build (show other bugs)
Version: 3.7   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: pde-build-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-01 16:41 EST by Andrew Niefer CLA
Modified: 2018-12-03 09:08 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.