From SeSAm-Wiki

Jump to: navigation, search

Eclipse is an integrated software development environment in which you can edit the SeSAm source code, run tests, run SeSAm within a debugger etc.

Imporing the sources from CVS server

There does not seem to be a public read-only access availble, so you'd need a valid developer account. For this option refer to CVS.

Importing from

In every installation of SeSAm there is a file - this is the complete source code of your version of SeSAm. You can import this zip file into eclipse (actually it is exported from eclipse).

The SeSAm class you need to run for running SeSAm is:

Steps to take

First create a new java project "sesam" in eclipse and import the into sesam/src.

However, when you try to run/build you will probably encounter a lot of unmet dependency errors. To meet the dependencies you'll need to import the corresponding .jar files into the project.

SeSAm depends on:

  • jgoodies
  • junit
  • xerces,
  • jfree chart

[On debian/*ubuntu systems those are readily available as packages. Afer installing those I added their .jars from under /usr/share/java into the projects build path and checked they are activated. (Don't know if that is the correct way to do it.)]

Others you'd need to locate on the net, download, extract and import into the project include:

  • wrapper (
  • junit.swingui
  • castor (
  • org.apache.commons.logging
  • sun apache bcel
  • jts.geom (
  • sun awt geom
  • systray (snoozesoft)

From looking at the SeSAm.psf file mentioned on the CVS page I think there may be more needed things available in the cvs than are available in the

I got further "access restriction errors" and found a setting in eclipse to treat them just as warnings.

Now, when trying to run SeSAm, the error message says the following:

org.exolab.castor.xml.MarshalException: The following exception occured while validating field: _seSAmMainDesktopFrameX of class: Expecting an Long, received instead: java.lang.Integer{File: [not available]; line: 25; column: 20}
at org.exolab.castor.xml.Unmarshaller.convertSAXExceptionToMarshalException(
at org.exolab.castor.xml.Unmarshaller.unmarshal(
at org.exolab.castor.xml.Unmarshaller.unmarshal(
at org.exolab.castor.xml.Unmarshaller.unmarshal(
Personal tools