Prequips:Eclipse Setup

From SPCTools

Revision as of 22:01, 3 October 2006; view current revision
←Older revision | Newer revision→
Jump to: navigation, search

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:

  1. Eclipse Project SDK 3.1.2 (download from http://www.eclipse.org or a mirror site)
  2. EMF SDK 2.1.2 (update site: http://download.eclipse.org/tools/emf/updates/site.xml)
  3. 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.

Access: The repository is no longer world-accessible. If you want to read from or 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.

Checking Out the prequips_external

prequips_external holds 3rd party libraries such as log4j and xerces. These libraries are needed by MSXMLParser

Open the SVN repository perspective again (Window -> Open Perspective -> Other -> SVN Repository Exploring)

Right click on prequips_external

Select Checkout

Select "Check out as a project in the workspace"

Select Finish

Add prequips_external to Java Build Path Libraries

Open the Java perspective (Window -> Open Perspective -> Java)

Right click on prequips_core

Select Build Path --> Configure Build Path

Select the "Libraries" tab in the new window

Select "Add Class folder"

Check prequips_external and then select "Okay"


Check out prequips.feature

Open the SVN repository perspective again (Window -> Open Perspective -> Other -> SVN Repository Exploring)

Right click on prequips.feature

Select Checkout

Select "Check out as a project in the workspace"

Select Finish

Personal tools