Hi guys,
Those who are on IRC chat already now that today I had a lot of problems trying 
to compile freenet from fred-staging (Commit 
100a8d9ebc2af7f3918d9e4c5297e0331597b6ae). 
I finally found what was the problem: the file build.properties is asking to 
have junit.jar on fred/lib directory:
# jars from ${lib.dir} to use, for tests
libtest.jars = junit.jar

The other thing that looks as a problem is that the build is called twice? I 
use the target "package" from build.xml file, which is actually import from 
build-clean.xml. Before I found the source of the problem detailed on above, 
all the test where run perfectly but at the end, the build is launched again 
but at this time is looking the junit.jar at fred/lib. Since junit is on ANT 
HOME directory but not on fred/lib the "BUILD FAILED" appears at the end. As a 
workaround I copy junit.jar on fred/lib however this is not the best solution 
because now all the tests are being done twice. 

I tried to figure out why the tests are launched twice, one using the correct 
junit and the other using the fred/lib. I tried to log the complete output of 
build but the log file contains only the output of the last time the build is 
called. If none of you have a reasonable explanation for this problem I will 
try to find the solution tomorrow. However I hope your experience on Freenet 
help solving this issue. 

See you,

Veronica
_______________________________________________
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to