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
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
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
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
/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
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