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

Bug 327966

Summary: Create PDE Build feature and product
Product: [Eclipse Project] PDE Reporter: Jeff McAffer <jeffmcaffer>
Component: BuildAssignee: pde-build-inbox <pde-build-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: david_williams, gunnar, pwebster
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Bug Depends on: 314486, 327899    
Bug Blocks:    
Attachments:
Description Flags
feature projects
none
updated feature
none
even more updated projects none

Description Jeff McAffer CLA 2010-10-15 22:39:03 EDT
Created attachment 181029 [details]
feature projects

We should provide an easy to consume means of getting PDE Build.  This means a feature that identifies the base pieces of PDE build and a product that pulls that together with Equinox and p2.  Attached are both of these.

Note that the feature references ecj rather than jdt.core.  We still need to ensure that ecj on its own will be hooked in as an Ant compiler (see bug 327899).

Note also that this is just PDE build.  There is no attempt to include testing, mail, api tools, ...  That is all the subject of another effort to create a releng basebuilder.
Comment 1 Jeff McAffer CLA 2010-10-20 21:03:09 EDT
Created attachment 181350 [details]
updated feature

This is an updated feature that uses ecj and a proposed new compiler adapter bundle to enable ecj in OSGi.  With this approach an entire PDE Build system can be built using products etc and it comes  to just 12MB on disk.  Snazzy.
Comment 2 Jeff McAffer CLA 2010-11-08 09:42:41 EST
Created attachment 182616 [details]
even more updated projects

Attached are the most recent projects for this change.  I'm doing a mess of featrues and products today in equinox land and would like to do the pde build ones as well.

Let me know if you have any objections/changes.  I can commit the feature to a locaiton of your choosing. E.g., 
   pde/build/features/org.eclipse.pde.build.feature
   pde/build/org.eclipse.pde.build.feature

There is also a product feature
   org.eclipse.pde.build.product.feature

and for now at least there is the compiler adapter for ECJ in OSGi.
   org.eclipse.pde.build.compiler.adapter
(though this may go away if the JDT guys decide to provide one)
Comment 3 Jeff McAffer CLA 2010-11-15 08:32:43 EST
The pde.build.feature and pde.build.product.feature have been committed directly in the pde/build module in CVS and the map file updated.  A separate bug has been opened to get this in the build.  See Bug 330240.

For now as are using our own compiler adapter fragment so that we are independent of fixes needed in JDT and Ant.  If those fixes come to pass then we can update the approach here and remove the pde.build.compiler.adapter.
Comment 4 David Williams CLA 2012-11-27 17:01:11 EST
closing as "won't fix" since this work was never completed; and no plans to.