Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Fedora Eclipse Packages"

(add post/postun info)
m
Line 11: Line 11:
 
# There is an additional dependency (not-shown) from the <code>eclipse-pde</code> package to the <code>eclipse-platform-sdk</code> package. The idea here is that a user who installs the <code>eclipse-pde</code> will most likely want the view source code from the Platform when they are coding up their plugins.
 
# There is an additional dependency (not-shown) from the <code>eclipse-pde</code> package to the <code>eclipse-platform-sdk</code> package. The idea here is that a user who installs the <code>eclipse-pde</code> will most likely want the view source code from the Platform when they are coding up their plugins.
  
With this setup the only post/postun tweaking that needs to be done is that <code>eclipse.product</code> needs to be set appropriately in <code>eclipse/configuration/config.ini</code> - we no longer need the rebuild-sdk-features script. When the <code>eclipse-rcp</code> package is installed, <code>eclipse.product</code> should be commentted out (i.e. set to "<code>#eclipse.product</code>"). When the  <code>eclipse-platform</code> package is installed, <code>eclipse.product</code> should be set to <code>org.eclipse.platform.ide</code> (i.e. "<code>eclipse.product=org.eclipse.platform.ide</code>). And finally, when the <code>eclipse-sdk</code> package is installed, <code>eclipse.product</code> should be set to <code>org.eclipse.sdk.ide</code> (i.e. "<code>eclipse.product=org.eclipse.sdk.ide</code>). For details on we do this, refer to the <code>%post/%postun</code> sections of the [http://cvs.fedora.redhat.com/viewcvs/devel/eclipse/eclipse.spec?view=markup Fedora Eclipse spec file].
+
With this setup the only post/postun tweaking that needs to be done is that <code>eclipse.product</code> needs to be set appropriately in <code>eclipse/configuration/config.ini</code> - we no longer need the rebuild-sdk-features script. When the <code>eclipse-rcp</code> package is installed, <code>eclipse.product</code> should be commentted out (i.e. set to "<code>#eclipse.product</code>"). When the  <code>eclipse-platform</code> package is installed, <code>eclipse.product</code> should be set to <code>org.eclipse.platform.ide</code> (i.e. "<code>eclipse.product=org.eclipse.platform.ide</code>). And finally, when the <code>eclipse-sdk</code> package is installed, <code>eclipse.product</code> should be set to <code>org.eclipse.sdk.ide</code> (i.e. "<code>eclipse.product=org.eclipse.sdk.ide</code>). Refer to the <code>%post/%postun</code> sections of the [http://cvs.fedora.redhat.com/viewcvs/devel/eclipse/eclipse.spec?view=markup Fedora Eclipse spec file] for implementation details.

Revision as of 18:45, 11 October 2006

This diagram details the inter-dependancies of the Fedora Eclipse packages. Feel free to modify the original dia source file for your distribution's Eclipse packages.


Fedora-eclipse-packages.png

The packages mirror the features from the upstream SDK with the following exceptions:

  1. The libswt3-gtk2 package contains the jface and jface.databinding plugins from the RCP feature so that these jface plugins can be used without pulling in the RCP feature.
  2. The eclipse-ecj package contains the jdt.core plugin with symlinks in /usr/share/java so that the batch compiler can be used without installing the full JDT and dependencies.
  3. The eclipse-pde-runtime package contains the pde.runtime plugin so that non-SDK features that require pde.runtime don't have to pull in the PDE feature.
  4. There is an additional dependency (not-shown) from the eclipse-pde package to the eclipse-platform-sdk package. The idea here is that a user who installs the eclipse-pde will most likely want the view source code from the Platform when they are coding up their plugins.

With this setup the only post/postun tweaking that needs to be done is that eclipse.product needs to be set appropriately in eclipse/configuration/config.ini - we no longer need the rebuild-sdk-features script. When the eclipse-rcp package is installed, eclipse.product should be commentted out (i.e. set to "#eclipse.product"). When the eclipse-platform package is installed, eclipse.product should be set to org.eclipse.platform.ide (i.e. "eclipse.product=org.eclipse.platform.ide). And finally, when the eclipse-sdk package is installed, eclipse.product should be set to org.eclipse.sdk.ide (i.e. "eclipse.product=org.eclipse.sdk.ide). Refer to the %post/%postun sections of the Fedora Eclipse spec file for implementation details.

Back to the top