--- On Wed, 5/15/13, Andrew Douglas Pitonyak <[email protected]> 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


-- 
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