fdo#42312: Change bsh and js script providers from extensions to optional modules.

Their jar files reference other non-URE jars, so they cannot be extensions.
bsh.jar has been moved into the optional module (it used to be installed
always, but it looks like only the bsh script provider needs it; also, it
had been added to URE_MORE_JAVA_CLASSPATH_URLS if SYSTEM_BSH, which also
appears unnecessary as it is mentioned with an absolute file URL in the
Class-Path of the script provider jar).
js.jar has been included in the optional module (it used to be not installed
at all?).
This commit is contained in:
Stephan Bergmann
2011-11-03 14:11:00 +01:00
parent 7a17b2b9d0
commit a72a7dc500
25 changed files with 166 additions and 259 deletions

View File

@@ -37,6 +37,13 @@ $(eval $(call gb_Jar_add_jars,ScriptProviderForJavaScript,\
$(OUTDIR)/bin/js.jar \
))
$(eval $(call gb_Jar_set_manifest,ScriptProviderForJavaScript,$(SRCDIR)/scripting/java/com/sun/star/script/framework/provider/javascript/MANIFEST.MF))
$(eval $(call gb_Jar_set_jarclasspath,ScriptProviderForJavaScript, \
unoil.jar ScriptFramework.jar js.jar))
$(eval $(call gb_Jar_set_componentfile,ScriptProviderForJavaScript,scripting/java/ScriptProviderForJavaScript,OOO))
$(eval $(call gb_Jar_set_packageroot,ScriptProviderForJavaScript,com))
$(eval $(call gb_Jar_add_sourcefiles,ScriptProviderForJavaScript,\