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

Bug 85065

Summary: [jars] Enable Eclipse to run with plug-ins as JARs
Product: [Eclipse Project] Platform Reporter: DJ Houghton <dj.houghton>
Component: RuntimeAssignee: platform-runtime-inbox <platform-runtime-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: birsan, bogofilter+eclipse.org, ed.burnette, gunnar, karasiuk, panagiotis.korros, pascal, pombredanne, torsten.schlumm
Version: 3.1   
Target Milestone: 3.1 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 76436, 76653, 78535, 83469, 85013    
Bug Blocks:    

Description DJ Houghton CLA 2005-02-11 17:13:01 EST
We would like to be able to ship and run Eclipse with plug-ins existing each as
a single JAR file. 

This bug report will be used as an umbrella report to serve as a "being blocked"
report for any outstanding issues which are preventing this from happening.
Comment 1 DJ Houghton CLA 2005-02-11 17:22:59 EST
Running with OSGi as a jar - bug 83469.

Manifest problems - bug 78535.

Source code look-up - bug 76653 and bug 76436
Comment 2 DJ Houghton CLA 2005-03-16 14:02:43 EST
Update: Today we are running test builds with OSGi and Runtime as JARs. So
hopefully tonight the nightly build will contain JAR'd versions of those plug-ins.

Over the next few days we will be submitting file changes to people who have
agreed to be an early adopter of being shipped as a JAR file.

See the following doc for more information:

http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-core-home/documents/3.1/run_from_jars.html
Comment 3 DJ Houghton CLA 2005-03-17 09:54:06 EST
Update: 

Last night's nightly build worked out a few kinks:
- need to ensure that plug-ins with custom build scripts update them for JAR'd
plug-ins (bug 88317)
- some of the releng tests assume the directory structure (bug 88311)

Today we will modify the plug-ins which are a part of the RCP and include them
as JARs in tonight's nightly build.
Comment 4 DJ Houghton CLA 2005-03-23 15:31:35 EST
Update: 

A lot of changes were made in PDE-Build to handle the change to JARs as well as
some bugs in the plugin.xml -> manifest.mf convertor surfaced this week.

We now have all of the RCP plug-ins set to be shipped as JARs. We will have a
clean build by the end of the week, ready for M6. 

We will defer the conversion of the rest of the SDK plug-ins to JARs until after
M6 is released.
Comment 5 Ed Burnette CLA 2005-03-23 16:18:52 EST
In addition to the bare RCP jars would it be possible to get
org.eclipse.update.configurator in as a jar in M6 too? A good percentage of RCP
apps use that one.

Also by RCP jars I'm assuming you're including the SWT fragments for various
systems, right? I'm just looking forward to trying my jnlp example again, only
without all the pain this time.
Comment 6 DJ Houghton CLA 2005-03-23 17:30:01 EST
Yes, the update.configurator is already JAR'd as well. In fact, there are 22
JAR'd plug-ins/fragments + the SWT platform-specific fragments.

Check out the table in the doc from comment #2 for a complete list.
Comment 7 DJ Houghton CLA 2005-04-12 15:23:32 EDT
Update: almost all plug-ins will be JAR'd for this week's integration build.
Comment 8 DJ Houghton CLA 2005-05-11 14:50:14 EDT
I'm going to declare this issue as a sucess and close this bug report now.
Eclipse now ships with JAR'd plug-ins! Woo hoo!

There are minor issues but they are being tracked in separate bug reports. (like
bug 78535)