Move a class from one package to another or rename the class.
class move source destination
Name of class that is to be moved
New class name
class move /system:NAS sugarcrm/local:NAS
move class from global catalog to local application catalog
class move /system:NAS sugarcrm:NAS
move class from global catalog to application singleton
class move sugarcrm:NAS /system:NAS
move application singleton class to global catalog
Notes: The move command can move a class:
a) from one catalog to another;
b) from a catalog to a singleton;
c) from singleton to application catalog class.
The move command can be used to rename a class within a catalog or the application package.
A singleton assembly (an assembly class in the application package) cannot be moved to a catalog if any of its subordinates is a singleton. This is because having a singleton subordinate would prevent the instantiation of such class.
Also, moving a class will not automatically change the .class attribute of subordinates using this class - this needs to be done manually in all affected assemblies.
|
Copyright © 2011 CA.
All rights reserved.
|
|