summaryrefslogtreecommitdiffstats
path: root/scripting/examples/java/Highlight/parcel-descriptor.xml
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-03-23 16:11:42 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-03-23 16:20:17 +0100
commit0b9fda25f321ce2697179064e330843237177668 (patch)
tree9be4cf5c4cc7a6f0a6c5d0bf02ae09bd7cd87a5d /scripting/examples/java/Highlight/parcel-descriptor.xml
parentfdo#46102: Load Java scripts with class loaders that actually find them (diff)
downloadcore-0b9fda25f321ce2697179064e330843237177668.tar.gz
core-0b9fda25f321ce2697179064e330843237177668.zip
fdo#46102: Fix Java script examples after gbuild'ification
...they contained no class files anymore, due to missing gb_Jar_set_packageroot calls. However, those calls only work for subdirectories, i.e., the example .java files need to be put into a package (I chose org.libreoffice.example.java_scripts) for all of them). This in turn required adaption of the parcel-descriptor.xml files; not sure what the logicalname entries there are good for if anything -- the macro names at "Tools - Macros - Run Macro..." now unfortunately(?) contain the fully qualified paths for the HelloWorld, HighlightText, and MemoryUpdate examples. There are additional examples at scripting/examples/java/ that apparently do not get packaged (but I adapted them anyway).
Diffstat (limited to 'scripting/examples/java/Highlight/parcel-descriptor.xml')
-rwxr-xr-xscripting/examples/java/Highlight/parcel-descriptor.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/examples/java/Highlight/parcel-descriptor.xml b/scripting/examples/java/Highlight/parcel-descriptor.xml
index 2612eaec4632..54e2a88f5c5b 100755
--- a/scripting/examples/java/Highlight/parcel-descriptor.xml
+++ b/scripting/examples/java/Highlight/parcel-descriptor.xml
@@ -8,7 +8,7 @@
Text highlighting
</description>
</locale>
- <functionname value="HighlightText.showForm"/>
+ <functionname value="org.libreoffice.example.java_scripts.HighlightText.showForm"/>
<logicalname value="HighlightText.showForm"/>
<languagedepprops>
<prop name="classpath" value="Highlight.jar"/>