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.
Difference between revisions of "Equinox Regions Bundle"
Line 1: | Line 1: | ||
[[Category:Equinox]] | [[Category:Equinox]] | ||
− | |||
− | |||
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 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 07:35, 7 November 2011
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.)
- 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 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.
- Open up the file org.eclipse.equinox.region.tests/regionTestTarget.target with the the Target Editor (should be the default editor).
- 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.
- 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.
- To run the tests right click on the class org.eclipse.equinox.region.tests.AllTests and select Run As -> JUnit Plug-in Test.
- 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.)