Herman

That's right!

Here the answer from Intersystems:
----------------------------------------------------------------------
This is because you did not exported class 'mypackage.A', which is needed by
class 'mypackage.B'
during compilation. You exported only generated routine (OBJ code) for class
A, which is not
sufficient. You need also to export class A in 'cls-code' to get the
definition of the class A and to be able
to compile class B. Hope it helps.
----------------------------------------------------------------------

It is not possible to deploy only obj-code.

Mauro

"Herman Slagman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> "Mauro" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
> > I have export two classes (Class A and Class B; B inherit A) with the
> > classmethod "Export".
> > One class (A) only as obj-code and the other class (B) as cls-code.
> > I have import the code into an other namespace (same server) without any
> > problems.
> > But i can not compile the imported cls-class (B).
> >
> > Cache Objects Version 5.0.5105.0 on Windows 2000 Server
> >
> > The error message are:
> > ERROR #5373: Klasse 'mypackage.A', von 'mypackage.B:super' benutzt,
> > existiert nicht
> >
> > How can i solve this problem! (I will not export all classes as
cls-code!)
> > With the Cache-Explorer i can see the obj-class, it exist!
>
> How do you want class B to compile ? It needs info (properties, methods)
> from its superclass definition to compile.
> If the source of those members isn't available then the compiler cannot
> compile class B
>
> HTH
>
> Herman
>
>



Reply via email to