-
Notifications
You must be signed in to change notification settings - Fork 20
Compiling
Bombe edited this page Nov 5, 2010
·
14 revisions
Compiling Sone is currently a bit tricky.
Installing the utils package is straight-forward. Use mvn install
to compile and install the compiled package; remember to compile the next
branch!
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.
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.