Checking out Bioclipse 2.0
From BioclipseWiki
Contents |
Obtaining the necessary Bioclipse 2 plugins
See also Checking out Bioclipse 2.2.
Setting up Eclipse for Bioclipse 2 development
- Install Eclipse version ≥ 3.4 (Ganymede) NOTE : The Eclipse SDK is essential - install it if you don't have it already. (Note: Eclipse 3.5 is not working for Bioclipse 2.0).
- Install Git
- the egit 0.5.0 plugin for Eclipse (or better)
- the git command line utilities
- Install the Apache Commons Codec Feature
Getting the Bioclipse 2 plugins and features as projects in the Eclipse workspace
- Clone the git repository at http://github.com/olas/bioclipse.core/tree/master
- either use: git clone git://github.com/olas/bioclipse.core.git
- or the 'Download' button and unzip the archive you downloaded
- Make sure you are working in the 2.0.x branch:
- git checkout -b 2.0.x origin/2.0.x
- Open all features and plugins in this git checkout in a clean Eclipse workspace
- File -> Import ..., and select from the dialog 'General' -> 'Existing Projects into WorkSpace'
- select the just checked out bioclipse.core/ as root folder.
- make sure all plugins and features are selected for import. Make sure 'Copy project into workspace' is not selected:
The result should be many projects opened in your 'Project Explorer':
- File -> Import ..., and select from the dialog 'General' -> 'Existing Projects into WorkSpace'
- Open
target-platform.targetinnet.bioclipse.target.platformand click "Set as Target Platform" in the top right corner of the editor frame. You will probably get a dialog telling you about missing plugins, because the target definition file mentions plugin fragments that are specific to the various operating system Bioclipse can be built on. As long as you are not lacking any critically needed plugins for your particular OS, you should be able to continue anyway. Give it a try. - Rebuild your workspace, or, if you have automatic build turned on, wait for it to finish to be sure that you have no build errors in the projects you need.
Getting ready to run Bioclipse 2
- In the plugin net.bioclipse.platform_feature, double-click the bioclipse.product file (or do in Eclipse Ctrl-Shift-R and type bioclipse.product), and on the overview tab choose "Launch an Eclipse application". If the application runs and all your plugins are in place, you're done and good to go. Otherwise, follow the rest of the steps. Make sure that the ID and Application are properly set (as the sometimes seem to reset to Eclipse variants):
- From the menu, pick
Run -> Open run dialogand select your new run configuration (which is probably called "bioclipse.product"). - Under the Plug-ins tab, press
Deselect All. - Uncheck
Include optional dependencies when computing required plugins. - Check the required Bioclipse plugins, same as in the list above.
- Press "Add Required Plug-ins". This will resolve any remaining plugin dependencies.
- It is advisable to check the box "Validate plug-ins automatically prior to launching", as it will save you effort if plugin dependencies change with time. (You don't need to worry about the
-consoleLogparamater as you had to in Bioclipse 1, since that one is added automatically by the product.) - If you have run Bioclipse 1.1.x, you should clear the runtime workspace. Go to menu
Run... -> Open Run Dialog...and under the tabMain, tickClear workspace. Do that only once, otherwise it will wipe your newly created projects on every startup.
That should be it.
--Jonalv 18:08, 15 January 2008 (CET)
--updated: Rklancer 05:53, 10 March 2008 (CET)
--- updated for externals and cdk-externals egonw 15:01, 14 January 2009 (CET)
Other Git repositories for other Bioclipse Features
The above bioclipse.core repository contains the bare Bioclipse minimum. There are many other Git repositories around, for various extensions of the Bioclipse core (in alphabetical order):
- http://github.com/olas/bioclipse.balloon/tree/master
- http://github.com/masak/bioclipse.bioinformatics/tree/master
- http://github.com/jonalv/bioclipse.brunn/tree/master
- http://github.com/egonw/bioclipse.cheminformatics/tree/master
- http://github.com/olas/bioclipse.data/tree/master
- http://github.com/olas/bioclipse.ds/tree/master
- http://github.com/olas/bioclipse.experimental/tree/master
- http://github.com/miguelrojasch/bioclipse.medea/tree/master
- http://github.com/olas/bioclipse.qsar/tree/master
- http://github.com/egonw/bioclipse.rdf/tree/master
- http://github.com/olas/bioclipse.statistics/tree/master
- http://github.com/jonalv/bioclipse.structuredb/tree/master
Non-Git repositories:
- http://speclipse.svn.sourceforge.net/viewvc/speclipse/bioclipse.seneca/
- http://speclipse.svn.sourceforge.net/viewvc/speclipse/bioclipse.speclipse/
Eclipse Extensions you may Need
Some plugins require Eclipse plugins that are not part of the core Eclipse distribution, such as EMF and Zest. If you cannot find the missing plugin listed as dependency for a Bioclipse plugin, you can search it on the update sites already listed in Eclipse, or after adding the following update sites:
- http://download.eclipse.org/tools/gef/updates/milestones/ (needed for Zest, for net.bioclipse.rdf)
Make sure to rerun 'Set as target Platform' after the installation is finished, in order for Eclipse to find them.


