Semweb4j/Developing
From semanticweb.org
[edit] Prerequisites
- Java 1.5 or higher
- Eclipse SDK, at least 3.2.x, use the latest stable version
- you have to configure the Eclipse JDK code compliance to at least "5.0" (in Window > Preferences > Java > Compiler)
- latest Subclipse or any other working SVN (Subversion) client plug-in for eclipse
- Eclipse update site (13.02.07) is http://subclipse.tigris.org/update_1.0.x
- Maven 2.0.6
[edit] Getting started
- First SVN checkout the project you are interested in into eclipse
http://semweb4j.googlecode.com/svn/trunk/...
You can browse the SVN repository here
The project will have no .classpath - just run "mvn eclipse:eclipse" and it will generate one.
[edit] Project Directory Layout
The projects follows Maven2 conventions.
/src/main/java is the real source code /src/main/resources contains other stuff to be in the classpath /src/test/java source code for JUnit tests /src/test/resources other stuff to be in the class path when testing /META-INF contains the MANIFEST.MF file.
This is used by OSGi. Editing is done through the Eclipse Plug-In Development Environment (PDE). Right-click on a project and select "PDE Tools > Open Manifest" to view/edit the manifest.
/target contains everything that can be generated, e.g. class files or JavaDoc.
Some projects have even more folders:
/src/assembly contains Maven2 assembly descriptors /src/changes contains a changes.xml file with the projects changelog. /src/site contains config files and content for the Maven2 website
