On 15/07/13 23:16, leuchtkaefer wrote:
> 
> 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. 
> 

It looks like people have been seriously fucking with build-clean.xml,
accepting bullshit patches that don't understand how ANT works, and repeatedly
pushing 1-line commits and subsequent reverts just to fix their immediate
problem instead of understand how this affects the entire build process. Crap
especially like <antcall> is almost never necessary.

Apologies, I don't have time to deal with this bullshit. Sure, blame ant for
being complex, but if it's fucking complex people shouldn't be messing with it.

I suggest someone with some time on their hands revert that file to the last
commit that I touched it, then rebuild the current functionality from there,
following my examples (since I actually spent a non-trivial amount of time
understanding how ANT actually works).

> See you,
> 
> Veronica
> 
> 
> 
> 
> 
> _______________________________________________
> Devl mailing list
> [email protected]
> https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
> 


-- 
GPG: 4096R/5FBBDBCE
https://github.com/infinity0
https://bitbucket.org/infinity0
https://launchpad.net/~infinity0

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Devl mailing list
[email protected]
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to