From Jalview Wiki
Setting up the Jalview Yoxos Eclipse development environment
- Download and Install the yoxos launcher
- Download and double click the jalviewDeveloper-www profile
- wait a few minutes then click the 'I accept button' and OK
- wait a few minutes more for the eclipse download to happen
- If you want to do commits, then you’ll need to get a username and password over at http://issues.jalview.org
- Press ok for default eclipse workspace paths.
- use your the username and password to log in to Jalview's git repository at http://source.jalview.org if you have one, otherwise you can hit cancel when it prompts you for username/password (If you hit ok then you'll need to set master password details).
- Wait a bit more - Jalview's git repository will be cloned automatically
- Open git repository browser and Switch branches to Release_2_8_Branch to get the latest patched release branch in your desired repository.
- Choose Import ..-> From Git -> Import Existing project -> From Local Repository -> pick the public or personal repository
- Fix paths (some of the below may not be necessary)
- Open builders - there's one invalid builder that you'll need to get rid of
- Open build path - VARNAv3.9-dev.jar reports being not found:
- first remove from project path.
- then add it again by right clicking after browsing to the 'lib' directory
- Fix the plugin.jar user library
- select plugin.jar in the build path and hit 'Edit ...'
- select 'user libraries ...' button.
- create a new user library called plugin.jar that links to the jalview 'plugin.jar' classpath entry
- select 'Add external jar' and locate plugin.jar on your system "Program files (x86)/Java then search for plugin.jar
- hit ok then finish then ok to finish editing the classpath.
- source should be ready to hack ! You can test that you can launch Jalview by :
- right click on project and pick Run As -> External Application
- once main types are found look for jalview.bin.Jalview
- let the program launch.
- to double check - make sure you can import the example alignment at http://www.jalview.org/examples/exampleFile_2_7.jar
- Building the applet is tricker (need to use the makeapplet target to build the jalviewApplet.jar), but it should launch via the appletviewer using as 'launch java applet' runtime profile. Use parameters from one of the examples in the examples/applets.html page.