Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi all,

There seems to be a problem with component registration of the Java
macro scripting component registration in 3.5.1.2 on Mac OSX.

If you fire up LO, then Tools > Macro > Run Macro :
1) Scroll down the list of macros to "Memory Usage"
2) Enter the folder, and only 1 entry is present (the beanshell script).
3) In the corresponding folder of the app,

/Applications/LibreOffice.app/Contents/share/Scripts/java/MemoryUsage

memoryusage.jar is actually present, so it is not being shown in the UI.


If you try to execute the macro from the console :
/Applications/LibreOffice.app/Contents/MacOS/scalc
"vnd.sun.star.script:MemoryUsage.MemoryUsage.updateMemoryUsage?language=Java&location=share"

You get a UI error message :

LibreOffice Error
A script structure error has occurred when executing the Java
MemoryUsage.MemoryUsage.updateMemoryUsage script.

Message : The scripting language Java is not supported.


If I compare this to 3.3.4, for example, I can select the script
directly from the UI list of macros, and it will run. I haven't compared
to 3.4.x or 3.5.0 or even master (yet).

Will open a bug report.

Alex



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.