Re: [Libreoffice] bug in Jar_ScriptProviderForJava.mk?

2011-12-09 Thread Tor Lillqvist
I ran into the same problem today, and I think I fixed it by using a variable called T_CP instead of CLASSPATH in gbuild to collect the -cp option to be passed to javac. (Which is cleaner, too, as the Java CLASSPATH concept and the -cp option to the Java compiler are different things.) Pushed to

Re: [Libreoffice] bug in Jar_ScriptProviderForJava.mk?

2011-11-16 Thread Noel Grandin
Michael Stahl wrote: hmm... if you edit Jar_ScriptProviderForJava.mk, and move ScriptFramework.jar first, what happens then? also you could try to edit solenv/gbuild/JavaClassSet.mk, and in the definition of gb_JavaClassSet_add_jar replace all eval with info, which should print some

Re: [Libreoffice] bug in Jar_ScriptProviderForJava.mk?

2011-11-16 Thread Michael Stahl
On 16/11/11 12:48, Noel Grandin wrote: Michael Stahl wrote: hmm... if you edit Jar_ScriptProviderForJava.mk, and move ScriptFramework.jar first, what happens then? also you could try to edit solenv/gbuild/JavaClassSet.mk, and in the definition of gb_JavaClassSet_add_jar replace all eval

Re: [Libreoffice] bug in Jar_ScriptProviderForJava.mk?

2011-11-16 Thread Noel Grandin
Michael Stahl wrote: hmm...so clearly it is added to CLASSPATH, but it does not end up in the command; that is most mysterious... what is the command like if, in the definition of gb_JavaClassSet__command (solenv/gbuild/JavaClassSet.mk), you a) replace gb_Helper_abbreviate_dirs_native

[Libreoffice] bug in Jar_ScriptProviderForJava.mk?

2011-11-15 Thread Noel Grandin
/scripting/Jar_ScriptProviderForJava.mk has the following lines in it: / 31 $(eval $(call gb_Jar_add_jars,ScriptProviderForJava,\ 32 $(OUTDIR)/bin/juh.jar \ 33 $(OUTDIR)/bin/jurt.jar \ 34 $(OUTDIR)/bin/ridl.jar \ 35 $(OUTDIR)/bin/unoil.jar \ 36

Re: [Libreoffice] bug in Jar_ScriptProviderForJava.mk?

2011-11-15 Thread Michael Stahl
On 15/11/11 09:26, Noel Grandin wrote: /scripting/Jar_ScriptProviderForJava.mk has the following lines in it: /31 $(eval $(call gb_Jar_add_jars,ScriptProviderForJava,\ 32 $(OUTDIR)/bin/juh.jar \ 33 $(OUTDIR)/bin/jurt.jar \ 34 $(OUTDIR)/bin/ridl.jar \ 35 $(OUTDIR)/bin/unoil.jar \ 36