From the freenet board on Frost, thought you'd be interested: > ----- Just Me of course at yJzbZf0gGttK3O2poXs02dENwmI ----- 2005.11.01 - > 00:12:29GMT ----- > > Hello experts, > > I downloaded the sources (wasn't that easy) but when I try to compile them > (build.bat) I get an error > message asking me to download freenet-ext.jar into the (not existing) 'lib' > directory. > > Is that normal? > > ----- VolodyA! V A at r0pa7z7JA1hAf2xtTt7AKLRe+yw ----- 2005.11.01 - > 08:38:50GMT ----- > > Yes, batch files haven't been updated in ages. There should be lib directory > somewhere, you will need to copy freenet-ext.jar into it... Found it... it's > in the stable/lib, that's the directory we are talking about... but i'd > suggest that you go through ant rather than using this batch file anyway... > get it off the internet, it's free and 0-pay. > > ----- Just Me of course at yJzbZf0gGttK3O2poXs02dENwmI ----- 2005.11.01 - > 14:14:09GMT ----- > > Thank you VolodyA and Vanessa, > > I will give ant a try. > In the meantime I was successful with the .bat file. > freenet-ext.jar is in the source package already (at > freenet\freenet_ext\freenet-ext.jar), I changed the .bat file as following: > >>>>>>>>>>>>>>>>>>>>>> > ... > :b > > mkdir build > mkdir lib > > if not exist lib\freenet-ext.jar copy freenet_ext\freenet-ext.jar lib > set CLASSPATH=%CLASSPATH%;src;lib\freenet-ext.jar > > echo Building the Freenet node and servlets... >>>>>>>>>>>>>>>>>>>>>> > > I also added "src\freenet\node\http\ColoredPixelServlet.java" to the line > javac -target 1.4 -source 1.4 -d build src\freenet\node\Main.java ... > Otherwise there was a class not found exception and the mainport servlet > didn't start. > As you can see above I changed "-target 1.1" to "-target 1.4 -source 1.4" > everywhere. > There are some problems remaining with test cases and "cannot read: > src\freenet\fs\dir\FSConsole.java" > but freenet.jar can be built and runs successfully. > > Performance seems to be better (Web interface is much more responsive) than > with the original version. > Is this possible (build.xml shows that 1.4 is used as target version)?
-- === Contact details: Alt e-mail: k0324474 at kingston.ac.uk ICQ: 253627744 Frost: VolodyA! V A at r0pa7z7JA1hAf2xtTt7AKLRe+yw pm4pigs: VolodyA! V A at cbp7LznKx9JltftFQSSc2QVKhzc,5T0rxHZ7rar4uOtnHlSY5A Forum: ethical_anarhist on www.kingstonuniversity.org Please visit http://www.whengendarmesleeps.org/ When Gendarme Sleeps - Anarchy's Zine of Poetry ======================== "None of us are free until all of us are free." ~ Mihail Bakunin