Hi,
I suppose the Extension Manager was designed in a way that all extension content is in fact contained in one and the same place. There are certainly pros and cons for allowing to reference "external" jars from within an extension. So one needs to investigate this a bit deeper. But feel free to submit an enhancement so that this idea do not get lost.

Joachim


Rene Engelhard wrote:
Hi,

prompted by http://www.openoffice.org/issues/show_bug.cgi?id=83346 and
http://www.openoffice.org/issues/show_bug.cgi?id=83751 I packaged
writer2latex 0.5 (including the uno.pkg) and have a question how to handle
the jar. As the jar already is present in the system (libwriter2latex-java)
the package for the uno.pkg (openoffice.org-writer2latex) doesn't need to
contain it a second time.
So I tried to patch it out using this (or a similar) patch for
writer2latex' manifest:

--- writer2latex-0.5~/source/package/META-INF/manifest.xml      2006-10-05 
11:47:48.000000000 +0200
+++ writer2latex-0.5/source/package/META-INF/manifest.xml       2007-11-20 
23:26:51.000000000 +0100
@@ -2,7 +2,7 @@
 <!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" 
"Manifest.dtd">
 <manifest:manifest>
     <manifest:file-entry
-     manifest:full-path="writer2latex.jar"
+     manifest:full-path="file:///usr/share/java/writer2latex.jar"
      manifest:media-type="application/vnd.sun.star.uno-component;type=Java"/>

     <manifest:file-entry
@@ -13,4 +13,4 @@
      manifest:full-path="w2l_filters.xcu"
      manifest:media-type="application/vnd.sun.star.configuration-data"/>
 </manifest:manifest>

The problem is that regardless of what I use there, the value there is taken
verbatim and the full thing is searched under the package dir - so
<cache_dir>/usr/share/java/writer2latex.jar or even 
<cache_dir>/file:///usr/share/java/writer2latex.jar.

How do I make it to make it use the normal jar. Is this even possible for
uno.pkgs? (For the report-designer I used
http://svn.gnome.org/viewvc/ooo-build/branches/ooo-build-2-3/patches/src680/debian-system-jfreereport.diff?revision=10735&view=markup
which seems to work...

Regards,

Rene


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to