--- On Thu, 5/9/13, Regina Henschel <[email protected]> wrote:

> Hi Vieri,
> 
> Vieri schrieb:
> > Hi,
> >
> > I'm new to making Java macros. I compiled my Java
> class, created the
> > parcel-descriptor.xml file and
> placed the .xml, .jar and .class files within the following
> folders I
> also created:
> >
> >
> C:\Users\<USERNAME>\AppData\Roaming\LibreOffice\4\user\Scripts\java\MACRO1
> >
> >
> >
> C:\Program Files\LibreOffice 4.0\share\Scripts\java\MACRO1
> >
> > When I re-launch LO and go to Macros-> Run Macros, I
> don't see my
> MACRO1 java macro under "My Macros" or "LibreOffice
> Macros".
> >
> > Why is that? Shouldn't I at least see the listing?
> 
> Do you have used Tools > Macros > Organize Macros >
> BeanShell... to add it?

Thanks Regina.
I didn't need to use BeanShell.
I edited the parcel descriptor xml file directly.

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 package" (I'm using NetBeans IDE).

I'm able to launch my Java macros now.
Thanks,

Vieri


-- 
To unsubscribe e-mail to: [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
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

Reply via email to