Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


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 $(OUTDIR)/bin/ScriptFramework.jar \
37 ))
/
But when I execute build --verbose in /scripting I get

/[ build JCS ] Jar/ScriptProviderForJava
R=c:/libreoffice && O=$R/libo/solver/wntmsci12.pro &&
W=$R/libo/workdir/wntmsci12.pro && S=$R/libo && mkdir -p
$W/JavaClassSet/Jar/ScriptProviderForJava/ &&
RESPONSEFILE=C:/cygwin/tmp/gbuild.4DIIuw &&
C:/PROGRA~2/Java/JDK16~1.0_2/bin/javac.exe -cp
"C:/PROGRA~2/Java/JDK16~1.0_2/jre/lib/rt.jar;.;$O/bin/juh.jar;$O/bin/jurt.jar;$O/bin/ridl.jar;$O/bin/unoil.jar;$W/JavaClassSet/Jar/ScriptProviderForJava"
-d $W/JavaClassSet/Jar/ScriptProviderForJava @$RESPONSEFILE && rm -f
$RESPONSEFILE && touch $W/JavaClassSet/Jar/ScriptProviderForJava/done
[ build CHK ] loaded modules: scripting
c:\libreoffice\libo\scripting\java\com\sun\star\script\framework\provider\java\ScriptProviderForJava.java:50:
package com.sun.star.script.framework.container does not exist
/
Note that despite being added in the build script, is
ScriptFramework.jar is NOT on the command line.

that is clearly impossible :-/

Any ideas? I'm afraid I'm still getting to grips with the gbuild framework.

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 debug output (but it won't build that way...)

in other words i have no idea what could cause this.

Thank, Noel Grandin


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.