Hello James,

> Daniel Boelzle wrote:
> 
> 
>>>Your media types are wrong.  I assume you are not only deploying jar
>>>type library files... :)
>>>So specify media types for your configuration data files (xcu) =>
>>>"application/vnd.sun.star.configuration-data", your jar UNO components
>>>=> "application/vnd.sun.star.uno-component;type=Java" etc.
>>>Note: don't specify dependent jar files (like your jaxrpc in the
>>>manifest) as UNO typelibrary, because those are no typelibraries.  List
>>>those dependent jars in your UNO component's manifest.mf ("Class-Path"
>>>line, see manifest.mf spec of your JDK).
>>>Finally, the UNO package deployment scheme is expained in the
>>>developer's guide (see your SDK).
> 
> 
>   I had fixed the media-types for my.xcu files, as I realized I was
> incorrect there.
> 
>   I am curious about application/vnd.sun.star.uno-typelibrary;type=Java
> though.
> 
>   I have one jar file that is created from classes that came from my
> .idl file.

which ought to have media-type
"application/vnd.sun.star.uno-typelibrary;type=Java" (already correct)

>   I have two other jar files that use classes in the OO SDK, but I wrote
> those, such as the ProtocolHandler.
>   How do I put those in the manifest.xml file?

when that jar file(s) are implement as a UNO component which needs to be
registered, then give them media-type

"application/vnd.sun.star.uno-component;type=Java"

HTH,
-Daniel

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

Reply via email to