--- On Thu, 5/9/13, Regina Henschel <firstname.lastname@example.org> wrote:
I didn't need to use BeanShell. I edited the parcel
I finally found out why I wasn't seeing the macro (or
at least I
think so). I needed to create my class within "default
using NetBeans IDE).
I'm able to launch my Java macros now.
you earlier mentioned "I followed a guide to run Java macros
in LO". Where is that guide?
I only found the very old guides
Are they still valid from your point of experience? What
should be changed/added?
I followed those guides too but the sentence "The OpenOffice.org Scripting module has been tested
with NetBeans 3.4." got me thinking that it may not be wise to use something that's "apparently"
not updated (I have netbeans 7.3). I'm not saying it's outdated so I may give it a try tomorrow.
Anyway, I then found another guide and I believe it explains the netbeans part a little more deeply
and doesn't really require a module (the only thing I have to do manually is prepare the xml
descriptor and copy the jar files to the LO script dir):
The part that I was doing wrong was related to point "10" in that guide. I wasn't placing my
classes within "default package".
Surely I read other articles here and there but with these two it should be enough.
To unsubscribe e-mail to: email@example.com
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Impressum (Legal Info)
: 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