I am having trouble downloading and compiling a new version of existing classes. While they are loading, there are no links to them. The class "Test.Extended" extends the class "Test.Base". The "Extended" class calls ClassMethod in the "Base" class. The problem is that even after loading and performing compilation in both classes, the ClassMethod from the "Base" that is called is not a method of the new compiled class, but an older version (confirmed by writing to the console).
To compile both, I use the following commands from the terminal (f: means power, c: means compilation at boot):
NAMESPACE>w $system.OBJ.Load("C:\Test.Base.cls.xml","fc")
Load started on 01/27/2009 10:10:34
Loading file C:\Test.Base.cls.xml as xml
Imported class: Test.Base
Compiling class Test.Base ..................
Compiling routine Test.Base.1
Load finished successfully.
1
NAMESPACE>w $system.OBJ.Load("C:\Test.Extended.cls.xml","fc")
Load started on 01/27/2009 10:10:34
Loading file C:\Test.Extended.cls.xml as xml
Imported class: Test.Extended
Compiling class Test.Extended ..................
Compiling routine Test.Extended.1
Compiling routine Test.Extended.2
Load finished successfully.
1
, , , . - , Intersystems Caché ?
,