summaryrefslogtreecommitdiff
path: root/scp2/source/extensions/file_extensions.scp
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-11-03 14:11:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2011-11-03 14:18:59 +0100
commita72a7dc500ffd57662e8b9be61e4676266861c33 (patch)
tree6cc21e11fbaec37563ad42d5749f103c0a635146 /scp2/source/extensions/file_extensions.scp
parent7a17b2b9d0e9bc0a95ba8bee72c2b24fb529005b (diff)
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?).
Diffstat (limited to 'scp2/source/extensions/file_extensions.scp')
-rw-r--r--scp2/source/extensions/file_extensions.scp30
1 files changed, 20 insertions, 10 deletions
diff --git a/scp2/source/extensions/file_extensions.scp b/scp2/source/extensions/file_extensions.scp
index 4397c3716e9a..502bcf1b02b2 100644
--- a/scp2/source/extensions/file_extensions.scp
+++ b/scp2/source/extensions/file_extensions.scp
@@ -302,26 +302,36 @@ End
/* ** Script provider for BeanShell ** */
-#ifndef WITHOUT_EXTENSION_SCRIPTING_BEANSHELL
+#if defined SOLAR_JAVA && !defined WITHOUT_EXTENSION_SCRIPTING_BEANSHELL
-File gid_File_Oxt_Script_Provider_For_Beanshell
+#if !defined SYSTEM_BSH
+STD_JAR_FILE( gid_File_Jar_Bsh, bsh )
+#endif
+
+STD_JAR_FILE( gid_File_Jar_Scriptproviderforbeanshell, ScriptProviderForBeanShell )
+
+File gid_File_Rdb_Scriptproviderforbeanshell
TXT_FILE_BODY;
- Styles = (PACKED, ARCHIVE);
- Dir = gid_Brand_Dir_Share_Extensions_Script_Provider_For_Beanshell;
- Name = "script-provider-for-beanshell.oxt";
+ Name = "scriptproviderforbeanshell.rdb";
+ Dir = gid_Brand_Dir_Program_Services;
+ Styles = (PACKED);
End
#endif
/* ** Script provider for JavaScript ** */
-#ifndef WITHOUT_EXTENSION_SCRIPTING_JAVASCRIPT
+#if defined SOLAR_JAVA && !defined WITHOUT_EXTENSION_SCRIPTING_JAVASCRIPT
-File gid_File_Oxt_Script_Provider_For_Javascript
+STD_JAR_FILE( gid_File_Jar_Js, js )
+
+STD_JAR_FILE( gid_File_Jar_Scriptproviderforjavascript, ScriptProviderForJavaScript )
+
+File gid_File_Rdb_Scriptproviderforjavascript
TXT_FILE_BODY;
- Styles = (PACKED, ARCHIVE);
- Dir = gid_Brand_Dir_Share_Extensions_Script_Provider_For_Javascript;
- Name = "script-provider-for-javascript.oxt";
+ Name = "scriptproviderforjavascript.rdb";
+ Dir = gid_Brand_Dir_Program_Services;
+ Styles = (PACKED);
End
#endif