Hi all,

I hope this is the right place to post this question. If not, please tell me the right one.

Ok, I am new to UNO and I want to develop a filter for textdocuments. Therefor I started with the AsciiReplaceFilter-example of the development guide, which I can compile, package and install via unopkg. The idea is to customize that filter until I have my own one.

My filter needs an additional jar-file to do its work. So I tried to create a uno package that contains this additional jar file at the root of the package. Moreover I inserted the following to the manifest file:

<manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=Java" manifest:full-path="third-party.jar"/>


Adding that uno package results in the following error:

###### Progress log entry 2007-09-04 15:51:46 ######
Copying: MyFilter.uno.pkg
Enabling: MyFilter.uno.pkg
Enabling: TypeDetection.xcu
Enabling: MyFilter.uno.jar
rollback...
 Disabling: TypeDetection.xcu
 rollback finished.
ERROR: (com.sun.star.ucb.CommandFailedException) { { Message = "An error occurred while enabling: MyFilter.uno.jar", Context = (com.sun.star.uno.XInterface) @181c2c8 }, Reason = (any) { (com.sun.star.registry.CannotRegisterImplementationException) { { Message = "", Context = (com.sun.star.uno.XInterface) @0 } } } }


Can anyone tell me what to to to use additional java libraries within my uno package?

Any help is welcome. Cheers,
Tobias

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

Reply via email to