Email lists > OpenOffice API developers > RE: [api-dev] Frustrations with Eclipse Plugin for Java Component Dev. > RE: [api-dev] Frustrations with Eclipse Plugin for Java Component Dev.

RE: [api-dev] Frustrations with Eclipse Plugin for Java Component Dev.




This post if a part of  this thread

2007-12-03 10:04:07
RE: Frustrations with Eclipse Plugin for Java Component Dev.
Hi Cedric

> > Please note the three empty files, and the
repetition of 
> > RegistrationHandler.classes
> > These seem indicative of problems.
>
> The empty files:
>   + The RegistrationHandler.classes is only a list of
classes
> implementing your services and is contains only a few
characters: thus
> 0KB is correct. Check if the file contains the string:
>
> org.openoffice.helloworld.comp.HelloworldImpl

Looking at it with an ordinary text editor (VIM) it seems
completely empty!!

>   + The package.properties is an empty file: by
defaults it doesn't
> contain anything, but try to open it: you'll be able to
add files to the
>  generated UNO package. (it doesn't fully supports the
last features of
> .oxt packages).

I'm afraid I don't understand enough yet to know what good
that does me.  And until I can get this working I can't even
see a meaningful effect.

> > The RegistrationHandler.classes appears twice:
>  + It completely normal as the bin directory contains
all the build
> project sources and resources. It's the same in any
other Eclipse project.

True.

> > When I export the package, I get the error:
> > 
> > Register component
>
'file:///C:/hasan/projects/OOoDemo/eclipse/meta/Helloworld2/
Helloworld2.jar'
> in registry 'services.rdb' failed!
> 
> error (CannotRegisterImplementationException):
ImplementationRegistration::registerImplementation()
InvalidRegistryException during registration 
>       (prepareRegistry(): source registry is empty)
>
> What is this Helloworld2 project ? Is this using the
same hierarchy than
> the one you described ? 

Yeah, it was, but from a subsequent attempt.  I've started
completely from scratch yet again and still get the
"source registry is empty" error on deploy.  I
presume the fact that the RegistrationHandler.classes file
is empty is the cause, but I don't know what to do about
it.

> Could you send me your sample project in a private mail
?

Sent to < cedric 'at' openoffice.org >, is that
right?.

Thanks very very much!


Sincere regards,
Hasan
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.16.12/1162 - Release
Date: 2007-11-30 21:26
 
************************************************************
**********************************
"Cláusula de Confidencialidad: La información contenida
en el presente mensaje es confidencial y está 
dirigida exclusivamente a su destinatario. El Servicio de
Rentas Internas no se responsabiliza por su uso y 
deja expresa constancia que en los registros de la
Institución consta la información originalmente 
enviada.Este mensaje está protegido por la Ley de Propiedad
Intelectual, Ley de Comercio Electrónico, 
Firmas y Mensajes de datos, reglamentos y acuerdos
internacionales relacionados. Si usted no es el 
destinatario de este mensaje, recomendamos su eliminación
inmediata. La distribución o copia del mismo, 
esta prohibida y será sancionada de acuerdo al Código Penal
y demás normas aplicables.La transmisión de 
información por correo electrónico, no garantiza que la
misma sea segura o este libre de error, por 
consiguiente, se recomienda su verificación".
*** eSafe scanned this email for viruses, vandals, and
malicious content. ***
************************************************************
**********************************

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org


about | contact  Other archives ( Real Estate discussion Medical topics )