Peter Thanks for the info, but the result is the same.
Here the response 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. Mauro "Peter Cooper" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Mauro > > Try te following flags in the compile > > > DO $System.OBJ.CompilePackage("mypackage","brfy",.err) > > to see the poss values of the flags arg > do $System.OBJ.ShowFlags() > > Peter > > > > On Thu, 15 Jul 2004 13:48:11 +0200, "Mauro" <[EMAIL PROTECTED]> > wrote: > > >Hello > > > >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! > > > >Export: > >##class(%SYSTEM.OBJ).Export(classlist, "myfilen.xml", "", .errorstr) > > > >Import: > >do ##class(%SYSTEM.OBJ).Load("myfilen.xml", "", .errorlog, .loadedlist, 0) > > > >Compile: > >do ##class(%SYSTEM.OBJ).CompilePackage("'mypackage", "", .errorstr) > > > >ERROR #5373: Klasse 'mypackage.A', von 'mypackage.B:super' benutzt, > >existiert nicht > > > >Thanks > > > > > >Mauro > > >
