cvs -z3 -d:pserver:anonymous at cvs.freenet.sourceforge.net:/cvsroot/freenet co -r new_datastore Freenet cvs -z3 -d:pserver:anonymous at cvs.freenet.sourceforge.net:/cvsroot/freenet co Contrib
then: export CLASSPATH=.:Contrib mkdir build javac -d build Freenet/node/Main.java Freenet/client/*.java Freenet/client/cli/*.java or: cd Freenet/scripts export CLASSPATH=../../Contrib make node client You can also give 'make node client JIKES=true' or, theoretically, 'make node client KAFFE=true' (can someone test this?). This builds the node and CLI client. the fproxy target cannot be built at the moment (Freenet/client/http/*.java Freenet/client/http/filter/*.java Freenet/support/StripedBucketArray.java) because there were some changes made in the routing table that broke the NodeStatusServlet. i will try to fix this as soon as i can, but i'd like to discuss it with GJ first because there is now a much more powerful system for getting diagnostic information out of the routing table. Please reply to this thread if these build instructions do not work for you. The node does not currently work; the new code does need some debugging. I think the fastest way to do this right now is to write unit tests for the classes that are causing problems. The other thing that we might want to do soon is implement Freenet.fs.dir.NativeFSDirectory -- this is a "void" implementation of the new datastore API that saves to individual files instead of the single datastore file. In retrospect we probably should have done this much earlier. One reason I think we didn't is because the interface for doing that wasn't clear. Now it is: Freenet.fs.dir.Directory. Doing this could allow the node to stabilize much more quickly at the cost of doing without the single-file datastore. After it was perfected (within a few weeks), we could offer both choices in the config file. I'm currently working on an extensive new unit test for the red-black tree since it was heavily modified and is core to the routing table and the whole accounting system for the new datastore. Thoughts on any of this? -- :: tavin cole (tcole at espnow.com) :: _______________________________________________ Devl mailing list Devl at freenetproject.org http://lists.freenetproject.org/mailman/listinfo/devl