Sukesh Hoogan wrote:
> Mauro schreib:
> > I export two classes (Class A and Class B; B inherit A) with the
> > classmethod "Export",
> > Class A as .obj and the class B as .cls.
> > I import the code into another namespace (same server) without any
> > problems.
> > But I cannot compile class B (.cls).
> Check the thread  "Compiler Troubles"
I think his issue is different.

His superclass (mypackage.A) is not being compiled (no source code).

How do the ^oddDEF and ^oddCOM entries get created for mypackage.A?



> > 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 does 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: Class 'mypackage.A', used by 'mypackage.B:super',
> > does not exist

Reply via email to