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

Bug 326666

Summary: Generate basebuilder JARs automatically
Product: [Eclipse Project] Platform Reporter: DJ Houghton <dj.houghton>
Component: RelengAssignee: Kim Moir <kim.moir>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: kim.moir, niels, pwebster
Version: 3.7   
Target Milestone: 3.7 M3   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Bug Depends on: 324682    
Bug Blocks:    
Attachments:
Description Flags
patch none

Description DJ Houghton CLA 2010-09-30 09:27:55 EDT
Unless it is important that the content of buildTools.jar (and others) NOT match the content in the source folders, we should be able to write an external tool builder file which will build the JARs correctly in the workspace when they are being developed. 

This would save the Releng team from having to remember to export and release the new JARs every time a change is made to a source file.
Comment 1 Kim Moir CLA 2010-09-30 10:27:59 EDT
This could be done as part of bug 324682.
Comment 2 DJ Houghton CLA 2010-09-30 12:25:09 EDT
Created attachment 179979 [details]
patch

This patch will delete the buildTools.jar file and replace it with newly JAR'd results from the plugins/bin folder. It is currently set to do it during any build, including auto-build, but can be adjusted so that it only does it when you manually invoke a build, if necessary.

Note: this is done during a workspace build and you still have to release the new JAR to the repo. This is separate from bug 324682 where it talks about building the bundle. 

If the JAR isn't needed in your workspace, then we can make changes to the classpath and build.properties file to generate the JAR file when we do a real (headless) build. In this case, we can delete the JAR from the repository as well.
Comment 3 Kim Moir CLA 2010-09-30 13:45:06 EDT
patch applied, thanks!
Comment 4 Kim Moir CLA 2010-09-30 16:34:04 EDT
released for N20100930-2000.