Skip to content
Bombe edited this page Nov 5, 2010 · 14 revisions

Compiling Sone is currently a bit tricky.

Things that you need:

  • Maven.
  • The utils package.
  • A checkout of fred.

Install the utils package

Installing the utils package is straight-forward. Use mvn install to compile and install the compiled package; remember to compile the next branch!

Install a package of fred

Compile fred normally, then use Maven to install the file in a Maven-conform location that Sone can use.

ant clean dist
mvn install:install-file -Dfile=lib/freenet-cvs-snapshot.jar -DgroupId=org.freenetproject -DartifactId=fred -Dversion=0.7.5.1298 -Dpackaging=jar -DgeneratePom=true

Remember to substitute the correct version number of your fred checkout.

Install Sone

Now, compiling Maven is trivial:

mvn clean package

Now you have a JAR file with all dependencies in the target directory. Feed that file to fred’s plugin manager, and you’re done.

Clone this wiki locally