fdo#46102: Fix Java script examples after gbuild'ification
commita6604b06a1d5ff997c38b27c7860f20f48e302d3
authorStephan Bergmann <sbergman@redhat.com>
Fri, 23 Mar 2012 15:11:42 +0000 (23 16:11 +0100)
committerMichael Stahl <mstahl@redhat.com>
Fri, 23 Mar 2012 19:41:21 +0000 (23 20:41 +0100)
treea13a96266e9f2607d997d41af9fc7da187eaa7b1
parentde5e886382f829176a55eefeda98d31e27672cc8
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).
(cherry picked from commit 0b9fda25f321ce2697179064e330843237177668)

Signed-off-by: Michael Stahl <mstahl@redhat.com>
23 files changed:
scripting/Jar_HelloWorld.mk
scripting/Jar_Highlight.mk
scripting/Jar_MemoryUsage.mk
scripting/examples/java/HelloWorld/HelloWorld.java
scripting/examples/java/HelloWorld/parcel-descriptor.xml
scripting/examples/java/Highlight/HighlightText.java
scripting/examples/java/Highlight/parcel-descriptor.xml
scripting/examples/java/MemoryUsage/MemoryUsage.java
scripting/examples/java/MemoryUsage/parcel-descriptor.xml
scripting/examples/java/Newsgroup/MimeConfiguration.java
scripting/examples/java/Newsgroup/NewsGroup.java
scripting/examples/java/Newsgroup/OfficeAttachment.java
scripting/examples/java/Newsgroup/PostNewsgroup.java
scripting/examples/java/Newsgroup/Sender.java
scripting/examples/java/Newsgroup/StatusWindow.java
scripting/examples/java/Newsgroup/SubscribedNewsgroups.java
scripting/examples/java/debugger/DebugRunner.java
scripting/examples/java/debugger/OOBeanShellDebugger.java
scripting/examples/java/debugger/OORhinoDebugger.java
scripting/examples/java/debugger/OOScriptDebugger.java
scripting/examples/java/debugger/parcel-descriptor.xml
scripting/examples/java/selector/ScriptSelector.java
scripting/examples/java/selector/parcel-descriptor.xml