Jump to: navigation, search

Difference between revisions of "Equinox Regions Bundle"

Line 1: Line 1:
 
[[Category:Equinox]]
 
[[Category:Equinox]]
 
Work in progress - YMMV...
 
  
 
Steps to build the Equinox regions bundle:
 
Steps to build the Equinox regions bundle:
 
# Ensure you are running Eclipse Indigo or later so that you have a suitable version of JUnit available. (Still to confirm whether this is the best way to access JUnit.)
 
# Ensure you are running Eclipse Indigo or later so that you have a suitable version of JUnit available. (Still to confirm whether this is the best way to access JUnit.)
 
# Clone the git repo at: http://git.eclipse.org/c/equinox/rt.equinox.bundles.git/ - for instance committers can issue "git clone ssh://<committerId>@git.eclipse.org/gitroot/equinox/rt.equinox.bundles.git".
 
# Clone the git repo at: http://git.eclipse.org/c/equinox/rt.equinox.bundles.git/ - for instance committers can issue "git clone ssh://<committerId>@git.eclipse.org/gitroot/equinox/rt.equinox.bundles.git".
# Import the project org.eclipse.osgi from this git repo into Eclipse.
 
# Clone the git repo at: http://git.eclipse.org/c/equinox/rt.equinox.framework.git/ - for instance committers can issue "git clone ssh://<committerId>@git.eclipse.org/gitroot/equinox/rt.equinox.framework.git".
 
 
# Import the org.eclipse.equinox.region.tests and org.eclipse.equinox.region from this git repo into Eclipse.
 
# Import the org.eclipse.equinox.region.tests and org.eclipse.equinox.region from this git repo into Eclipse.
 +
# Clone the git repo at: http://git.eclipse.org/c/equinox/rt.equinox.framework.git/ - for instance committers can issue "git clone ssh://<committerId>@git.eclipse.org/gitroot/equinox/rt.equinox.framework.git".
 +
# Import the project org.eclipse.osgi from this git repo into Eclipse.
 
# Go to the PDE options and target preferences and select the region target.
 
# Go to the PDE options and target preferences and select the region target.
 
# Open up the file org.eclipse.equinox.region.tests/regionTestTarget.target with the the Target Editor (should be the default editor).
 
# Open up the file org.eclipse.equinox.region.tests/regionTestTarget.target with the the Target Editor (should be the default editor).

Revision as of 06:35, 7 November 2011


Steps to build the Equinox regions bundle:

  1. Ensure you are running Eclipse Indigo or later so that you have a suitable version of JUnit available. (Still to confirm whether this is the best way to access JUnit.)
  2. Clone the git repo at: http://git.eclipse.org/c/equinox/rt.equinox.bundles.git/ - for instance committers can issue "git clone ssh://<committerId>@git.eclipse.org/gitroot/equinox/rt.equinox.bundles.git".
  3. Import the org.eclipse.equinox.region.tests and org.eclipse.equinox.region from this git repo into Eclipse.
  4. Clone the git repo at: http://git.eclipse.org/c/equinox/rt.equinox.framework.git/ - for instance committers can issue "git clone ssh://<committerId>@git.eclipse.org/gitroot/equinox/rt.equinox.framework.git".
  5. Import the project org.eclipse.osgi from this git repo into Eclipse.
  6. Go to the PDE options and target preferences and select the region target.
  7. Open up the file org.eclipse.equinox.region.tests/regionTestTarget.target with the the Target Editor (should be the default editor).
  8. On the upper right hand corner there is a link "Set as Target Platform". Click that link. This should download the necessary eazymock and aspectj runtime bundles to compile and run against.
  9. All compile errors should be gone. Actually you will have one in org.eclipse.equinox.region.tests.system.RegionPerformanceTests. This can be ignored for now since it is only used if you run the performance tests.
  10. To run the tests right click on the class org.eclipse.equinox.region.tests.AllTests and select Run As -> JUnit Plug-in Test.
  11. If the tests pass, you can export the regions bundle by right clicking on the org.eclipse.equinox.region project and selecting export -> plug-in development-> deployable plug-ins and fragments.

(Some of these steps may be more generally applicable. This page can be refactored as necessary.)