For the version management of the project we use a Subversion repository. We use a handy Eclipse plugin called Subclipse for reading and writing files to the repository. FishEye provides a nice clean web interface to look through all the recent changes. There is also a RSS feed with the latest commit information available.
Contents |
The following plugins are suggested in working with the project. They can be added using the eclipse Help -> Install New Software....
* SVN support for eclipse * Update URL: http://subclipse.tigris.org/update_1.6.x
* Maven support for eclipse * Update URL: http://q4e.googlecode.com/svn/trunk/updatesite-iam/
* GUI editor * Update URL: http://cloudgarden1.com/update-site
Other recommended plugins to make eclipse even better:
* FindBugs picks up a lot more mistakes then standard eclipse * Update URL: http://findbugs.cs.umd.edu/eclipse/
* Converts tabs to spaces, and removes trailing whitespace * Update URL: http://andrei.gmxhome.de/eclipse/
You need to do a checkout of our repository to get all the contents of our version system. This includes the source of ted, the icons and parts of our website. You can then use these files to add your own changes.
If you installed the Subclipse plugin, then enter the Subclipse Repository perspective (Window -> Open Perspective -> Other -> SVN Repository Exploring)
In this perspective you have to setup the SVN repository. Right-click in the repository window and select New->Repository location. Add https://ted.svn.sourceforge.net/svnroot/ted as repository URL.
If you use another subversion client, check the subversion page on sourceforge how to checkout the ted repository.
In the Repository perspective right-click on the trunk folder in the repository and select Checkout.... Now select Checkout using the New Project Wizard and Head revision. Use the Java project as wizard in the next screen and click Next. Add a name for the project and select Create in workspace option, click Finish.
In the normal Java perspective the project is now installed. The initial build may take a minute or two because Maven will be pulling down the dependencies.
The project is now ready to run. Therefor select in the menu Run->Run.... Locate the main class (ted.tedMain) and in the Arguments tab add localSave as option. By using localSave the configuration and show list this copy of ted uses will not overwrite the configuration of your normal ted which are saved in the system folders. Click Run to run ted!
If you want to get the latest codechanges you have to update the project (if you use Subclipse). Right-click the project and select Team->Update to Head.
If you've made some changes to ted and you are a full ted developer (with Subversion write access) you can commit them (right-click project -> Team->Commit...). Dont forget to always first update your own folder again so that there won't be any version conflicts .
Always fill in some comments about the changes you made.
If you have any problems setting up eclipse, please or post in our support forum.