- About
- Docs
- Development
- Community
Developing DL-Learner using Eclipse
Instructions on how to prepare Eclipse for developing DL-Learner:
- Make sure you have Java 6, Maven 2 and Eclipse installed.
- Install the
Subclipse plugin for Subversion support.
- Install the
Eclipse m2e Maven plugin for Maven support and
m2e extras Maven SCM handler for Subclipse.
- File >> New >> Other... >> Checkout Maven Projects from SCM
- Set SCM URL type to svn and enter
https://dl-learner.svn.sourceforge.net/svnroot/dl-learner/trunk as URL
- Choose Finish
You should now be ready to develop DL-Learner in Eclipse. DL-Learner uses the standard code conventions with the only difference that the maximum line length is 100 instead of 80 (Project >> Properties >> Java Code Style >> Formatter >> Edit >> Line Wrapping Tab >> enter 100 as maximum).
Some Java 6 versions ship with restrictions of the internal com.sun.net classes, since there is no long term support for those classes. If you see access restriction errors in Eclipse, then go to Window >> Preferences >> Java >> Compiler >> "Errors / Warnings" >> Deprecated and Restricted API >> Forbidden Reference and set to Ignore instead of Error. This is only necessary in some Java 6 JDKs.
Similar instructions apply to other IDEs.
Hint: DL-Learner is a Maven multi module project. If you have several such projects in Eclipse, the package explorer can become cluttered. We recommend to put all DL-Learner modules in a working set. We also recommend to use the hierarchical view in the package explorer, because DL-Learner contains many nested packages.
Information
Last Modification:
2011-03-29 16:00:12 by Jens Lehmann