Prequips:Eclipse Setup
From SPCTools
Revision as of 00:41, 20 June 2006 Gehlenbo (Talk | contribs) (→Checking Out the Main Application) ← Previous diff |
Revision as of 21:00, 20 June 2006 Gehlenbo (Talk | contribs) Next diff → |
||
Line 1: | Line 1: | ||
+ | This page describes how to set up Eclipse to modify or add features of [[Prequips]]. | ||
+ | |||
== Required Eclipse Features == | == Required Eclipse Features == | ||
Revision as of 21:00, 20 June 2006
This page describes how to set up Eclipse to modify or add features of Prequips.
Contents |
Required Eclipse Features
You will need the following Eclipse features to build and launch Prequips:
- Eclipse Project SDK 3.1.2 (download from http://www.eclipse.org or a mirror site)
- EMF SDK 2.1.2 (update site: http://download.eclipse.org/tools/emf/updates/site.xml)
- Subclipse to access the Subversion repository (update site: http://subclipse.tigris.org/update/site.xml)
Getting the Eclipse Project SDK
Go to http://www.eclipse.org/downloads/index_project.php and select Platform under Eclipse Project. On the next page select build 3.1.2, as of January 18th, 2006. Then select the *.zip or *.tar.gz archive for your platform. Once Eclipse Project 3.2.x becomes available we will test it and post instructions on how to use it to build Prequips. Until then it is not recommended to build Prequips with any releases from the 3.2.x branch.
Download the archive and extract it into a directory of your choice. Your Eclipse installation can live within that directory and there's no need to have administrator privileges to set up the software.
Installing Features From Within Eclipse
Once you have downloaded and set up the Eclipse Project SDK you can use the Eclipse Update Manager to add the other features. Simply go to Help > Software Updates > Find and Install .... Select Search for new features to install and then select New Remote Site .... Enter a name and the corresponding update site URLs. Then select the latest version of the feature and install.
Subversion Repository
Prequips source code can be retrieved from the Subversion repository located at http://db.systemsbiology.net/svn/ngehlenb. To browse the repository comfortably use http://db.systemsbiology.net/cgi-bin/ngehlenb-cgi/viewcvs/viewcvs.cgi.
The repository is world-readable. If you want to write to the repository please contact Nils Gehlenborg.
Checking Out the Main Application
After you have installed the Subclipse plug-in go to Window > Open Perspective > Other ... and select SVN Repository Exploring. Right-click in the SVN Repository tab and go to New > Repository Location .... Enter the repository location shown in the previous section and click Finish.
A list of projects will show up in the view. Select the prequips_core project and right-click it. Select Checkout ... and then Check out as project configured using the New Project Wizard. Don't select the other option, it will get you into trouble when you try to build the project.
Click on Finish and then select Plug-in Project under Plug-in Development in the New Project Wizard. Enter prequips_core or something similar as project name and click Next. On the next page click Finish. All project settings will be imported from the repository. There is no need to enter anything.
To be continued.