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


On 05/16/2013 03:03 AM, Vieri wrote:
--- On Wed, 5/15/13, Andrew Douglas Pitonyak <andrew@pitonyak.org> wrote:

If you do make this work, I am interested to hear about it.
Hi,

It actually works but unpacking/repacking the zip file with your jar isn't enough. You will get a 
"general I/O error".
After unzipping the odt archive and placing my .jar package within <root>/Scripts/java/MYMACRO/ I 
then had to edit the META-INF\manifest.xml and set:

  <manifest:file-entry manifest:full-path="Scripts/java/MYMACRO/parcel-descriptor.xml" 
manifest:media-type="text/xml"/>
  <manifest:file-entry manifest:full-path="Scripts/java/MYMACRO/MYMACRO.jar" 
manifest:media-type="application/vnd.sun.star.uno-component;type=Java"/>

Then zip it up and rename it.

Vieri


Thank you, I really appreciate the update!

--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
Info:  http://www.pitonyak.org/oo.php


--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
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

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.