Eclipse and Cytoscape
30/04/05 14:45 Filed in: Technology
I finally got my favorite IDE Eclipse working with Cytoscape. Here are the steps I took:
- Create a new project using "Checkout Project from CVS", using the information at the bottom of the Cytoscape download page.Make sure you create a new Java project after checking out from CVS. Designate src as a source directory and use a name other than bin for the project output directory (there is already a bin directory in CVS).
- Add all the JARs in the lib directory of your new project. You should then have no compile errors.
- Create directories called fake_src, fake_src/cytoscape and fake_src/cytoscape/view.
- Symlink or copy the resources directory to fake_src/cytoscape.
- Symlink or copy the images directory to fake_src/cytoscape and to fake_src/cytoscape/view.
- Symlink or copy the help directory to fake_src/cytoscape
- Modify the build properties of your project and designate fake_src as a source directory.
- Create a "Java Application" run configuration that uses the cytoscape.CyMain as the main class.
- Run it!
The above steps essentially duplicate the actions in the run target of the ant build file, except for the compile and copying of resources/images/help files that Eclipse does for us automatically.