| Summary: | automated build should include building & uploading the command line compiler | ||
|---|---|---|---|
| Product: | [Tools] Objectteams | Reporter: | Stephan Herrmann <stephan.herrmann> |
| Component: | Releng | Assignee: | Stephan Herrmann <stephan.herrmann> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 0.7 | ||
| Target Milestone: | 0.7 M4 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Stephan Herrmann
At a closer look our build first creates a good ecotj-global.jar but later replaces it with an almost empty file. The bogus second export is triggered from p2helper.xml: updateSiteExport -> doUpdateSiteExport -> <ant ... target="build.update.jar"> causing a bogus round of build.jars -> post.build.jars Hopefully this bug can be avoided by switching to PDE/Build's built-in support for creating a p2 repository. Documentation that should be helpful for this migration can be found in the online help of the PDE (searching the web only brings outdated info). Indeed, "modernizing" our build scripts (r418 - r425) has fixed the double processing that deleted the successfully build jar file, which is found in testrun/build-root/src/plugins/org.eclipse.jdt.core_3.6.0.v_OTDT_r070_qualifier/ecj/global/ecotj-global.jar The remaining is just an issue of copying the resulting file to the download area, which will be done using a separate shell script (don't want this to happen for *every* build actually). I'm also still investigating whether "global" should be replaced by the actual buildLabel: should this be done during the build or afterwards when copying to the download area? I can switch between both behaviours using a one-line change in JDT/Core's customBuildCallbacks.xml (r446). has been working in late builds. |