Semweb4j/Developing

From semanticweb.org

Jump to: navigation, search

[edit] Prerequisites

[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
Personal tools