Re: [dev] re: still having problems getting my protocol handler to be called

2005-07-09 Thread Oliver Brinzing
-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
valuetest.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]



Re: [dev] re: still having problems getting my protocol handler to be called

2005-07-09 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi James,

   No, I am not certain that the service name is
 com.sun.star.frame.ProtocolHandler.

you have to use com.sun.star.frame.ProtocolHandler,
otherwise it will not work ... look at the example code ...

 but my computer is turned off due to hurricane concerns.

good luck :-)

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

iD8DBQFC0ActLtMdSPs6sT4RAqi4AJ0QDdRuwC6qw92MNWFDDdgFp/poAACfQk7+
EA3+DLUOnMDRN/gu7wBpync=
=a4Wn
-END PGP SIGNATURE-


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