-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi James,

>I now have my components from the idl in a separate project, and in a
>jar file, and the protocol handler classes in another jar file.

I am not sure that you can split your project into two jar files, I would place
everything into one jar file ...

before we continue, did you manage to install the demo protocolhandler addon
"myprotocolhandler.uno.zip" I send you some days ago ?

use Tools -> Package Manager ... for OO 1.9 or pkgchk for OO 1.1.4 to install

the common.rdb/services.rdb should look like this:

 / SERVICES
   / com.sun.star.frame.ProtocolHandler
     Value: Type = RG_VALUETYPE_STRINGLIST
            Size = 76
            Len  = 2
            Data = 0 = "org.test.OOProtocolHandler"

you should also find the Protocolhandler.xcu in

.\user\uno_packages\cache\registry\com.sun.star.comp.deployment.configuration.PackageRegistryBackend\
registry\data\org\openoffice\Office

with an entry like this:

 <node oor:name="org.test.OOProtocolHandler" oor:op="replace">
   <prop oor:name="Protocols" oor:type="oor:string-list">
    <value>test.java.oo:*</value>
   </prop>
  </node>

remember the demo project was build to run with OO 1.1.4,
so I did not use the new (optional ?) manifest files ...

another question:

are you sure that the service name of your ProtocolHandler class is
"com.sun.star.frame.ProtocolHandler" ?

HTH

Oliver


GnuPG key 0xFB3AB13E: 13E3 5853 66D3 4C0B 3B7A A946 2ED3 1D48 FB3A B13E
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCz5I3LtMdSPs6sT4RAr4TAJ4j/+ooFKr9mfal/zgTxlZKaF/82gCfcMKl
pftU+91te8aPuhUk6VYGBLU=
=hxeU
-----END PGP SIGNATURE-----


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

Reply via email to