On 08/20/08 17:48, Thomas wrote:
hi,

i write a OOCalc Addin with Java and got the following error when i want
to create the java-classes with javamaker:

 [EMAIL PROTECTED]:~$ javamaker  -nD -Gc -BUCR -O ./build/classes/
build/idl/rdb/types.rdb /usr/lib/openoffice/sdk/linux/bin/javamaker.bin ERROR: Bad type
information: com/sun/star/uno/XComponentContext

You also need to specify an rdb file that contains information about XComponentContext and other OOo types, see the javamaker example at <http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/Generating_Source_Code_from_UNOIDL_Definitions> (i.e., for OOo 2, <office-path>/program/types.rdb, and for OOo 3 both <office-path>/openoffice.org/ure/share/misc/types.rdb and <office-path>/openoffice.org/basis3.0/program/offapi.rdb).

-Stephan

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

Reply via email to