Skip to main content
Jump to: navigation, search

Orbit/Adding Bundles to Orbit

< Orbit
Revision as of 08:55, 15 October 2006 by (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Moving an existing bundle to Orbit

Taking a library that is already bundled in another Eclipse project and adding it to Orbit is quite straightforward.

    1. In your workspace, create a project with the desired name (see [how to name bundles]). For this example we'll use
    2. In the project, create a readme.txt file that alerts users to the fact that the real content of the project is maintained in CVS branches. Something like

Work in this project happens in various branches according to the version of the library being maintained. For example, if you are looking for javax.servlet version 2.3, check out the v2_3 branch of the javax.servlet project.

    1. Share the project into the Orbit repository using the Team > Share Project... wizard. There select CVS then the repository. In the following page, choose "Use specified module name" and enter "org.eclipse.orbit/

" (remember to fill-in your bundle name). Finish off the wizard steps.

    1. Since all real content in Orbit is maintained in branches, immediately create a branch using the Team > Branch... wizard. You will be asked to enter a branch name. The typical pattern for that is "v<version number> where the version number is that which was assigned by the original library producers with the '.' (period) characters replaced with '_' (underscore) characters. So a library whose version is 2.3 would go in the v2_3 branch. Ensure that the "Work with this branch" option is selected and and finish off the wizard.
    1. Delete the readme.txt file
    1. Check out the existing version of the library using Team > Check Our As... wizard from the repository navigator. Pick any name you like for the new project. For example, helps keep things clear. This project will only be in your workspace for a few minutes
    1. Once the original project is checked out, copy and paste all content from the old project into the project you created at the beginning of these steps and delete the old project.
    1. Commit the changes to the new project (e.g., to create an exact copy of the original bundle project in a branch in the Orbit repository.

Adding a library for the first time


Adding a library that is already a bundle


Back to the top