summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2011-05-12 11:57:59 +0200
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-05-12 11:59:33 +0200
commit1057ccb6fad3fd7c37733aefc620a0d13cb33dba (patch)
treef63be12e52781060e484d047177d9852c70494d1 /scripting
parent9d7995a280db2077f50525cacd42483361603f48 (diff)
fdo#36915, fdo#36916: Fixed JS and BeanShell script providers classpath
Signed-off-by: Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>
Diffstat (limited to 'scripting')
-rwxr-xr-xscripting/util/provider/beanshell/makefile.mk7
-rwxr-xr-xscripting/util/provider/javascript/manifest.xml3
2 files changed, 7 insertions, 3 deletions
diff --git a/scripting/util/provider/beanshell/makefile.mk b/scripting/util/provider/beanshell/makefile.mk
index cbb0c40e6215..1f70fcbf5bb7 100755
--- a/scripting/util/provider/beanshell/makefile.mk
+++ b/scripting/util/provider/beanshell/makefile.mk
@@ -36,6 +36,7 @@ EXTENSIONNAME:=ScriptProviderForBeanShell
EXTENSION_ZIPNAME:=script-provider-for-beanshell
COMPONENT_JARFILES=$(EXTENSIONDIR)$/$(EXTENSIONNAME).jar
+EXTENSION_PACKDEPS=$(SOLARBINDIR)$/bsh.jar
.IF "$(ENABLE_SCRIPTING_BEANSHELL)" != "YES"
@all:
@@ -46,6 +47,12 @@ COMPONENT_JARFILES=$(EXTENSIONDIR)$/$(EXTENSIONNAME).jar
.INCLUDE : target.mk
.INCLUDE : extension_post.mk
+ALLTAR : $(EXTENSIONDIR)$/bsh.jar
+
+$(EXTENSIONDIR)$/bsh.jar : $(SOLARBINDIR)$/bsh.jar
+ @@-$(MKDIRHIER) $(@:d)
+ $(COMMAND_ECHO)$(COPY) $< $@
+
.ELSE
.INCLUDE : target.mk
diff --git a/scripting/util/provider/javascript/manifest.xml b/scripting/util/provider/javascript/manifest.xml
index 4c61747f4dcf..d052ad8bc3ea 100755
--- a/scripting/util/provider/javascript/manifest.xml
+++ b/scripting/util/provider/javascript/manifest.xml
@@ -3,8 +3,5 @@
<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
<manifest:file-entry
manifest:media-type="application/vnd.sun.star.uno-component;type=java"
- manifest:full-path="js.jar"/>
- <manifest:file-entry
- manifest:media-type="application/vnd.sun.star.uno-component;type=java"
manifest:full-path="ScriptProviderForJavaScript.jar"/>
</manifest:manifest>