FreenetWiki : FreenetSourceCompiling

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Most recent edit on 2006-11-08 17:50:17 by MatthewToseland [slightly more verbose]

Additions:
Note that if you do ant distclean, you will need jflex installed to rebuild the CSS parser.

Deletions:
Note that if you do ant distclean, you will need jflex installed.



Edited on 2006-11-08 17:49:57 by MatthewToseland [jflex]

Additions:
Note that if you do ant distclean, you will need jflex installed.



Oldest known version of this page was edited on 2006-09-12 15:24:02 by JaQa []
Page view:

Compiling Freenet from Source


Once you have downloaded the source code (Instructions here) you will see there is a freenet directory with these files:

build_binary.xml
build.xml
LICENSE.Freenet
LICENSE.Mantissa
README


The build.xml file is similar to the Makefiles you often get with C/C++ programs. It contains all the information necessary to build freenet from the source. To do this, you need a program called ant. You should be able to build Freenet just by changing to this directory and running this simple command:

ant


This should compile all the source code and output a file called freenet-cvs-snapshot.jar in the lib directory. You can then stop Freenet, copy this to your main Freenet installation and overwrite the freenet.jar file with it, then restart Freenet again.
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0534 seconds