Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Equinox Regions Bundle"
(New page: Category:Equinox Work in progress - YMMV... Steps to build the Equinox regions bundle: # Clone the git repo at: http://git.eclipse.org/c/equinox/rt.equinox.bundles.git/ - for instanc...) |
|||
(3 intermediate revisions by the same user not shown) | |||
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.) | ||
+ | # If you want, install egit into Eclipse from http://download.eclipse.org/egit/updates. | ||
# 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. | ||
+ | # In Eclipse's preferences, go to Plug-in Development->Target Platform and select "Region Test 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). | ||
# 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. | # 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. |
Latest revision as of 08:07, 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.)
- If you want, install egit into Eclipse from http://download.eclipse.org/egit/updates.
- 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.
- In Eclipse's preferences, go to Plug-in Development->Target Platform and select "Region Test 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.)