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

@@ -30,17 +30,15 @@ $(eval $(call gb_Module_Module,scripting))
$(eval $(call gb_Module_add_targets,scripting,\
$(if $(SOLAR_JAVA),\
$(if $(filter $(ENABLE_SCRIPTING_JAVASCRIPT),YES),\
Extension_ScriptProviderForJavaScript) \
$(if $(filter $(ENABLE_SCRIPTING_BEANSHELL),YES),\
Extension_ScriptProviderForBeanShell) \
Jar_HelloWorld \
Jar_Highlight \
Jar_MemoryUsage \
Jar_ScriptFramework \
Jar_ScriptProviderForBeanShell \
$(if $(filter $(ENABLE_SCRIPTING_BEANSHELL),YES),\
Jar_ScriptProviderForBeanShell) \
Jar_ScriptProviderForJava \
Jar_ScriptProviderForJavaScript \
$(if $(filter $(ENABLE_SCRIPTING_JAVASCRIPT),YES),\
Jar_ScriptProviderForJavaScript) \
Zip_ScriptsJava \
) \
$(if $(filter $(ENABLE_SCRIPTING_PYTHON),YES),\