diff options
| author | Andrew Branson <andrew.branson@cern.ch> | 2014-06-05 14:46:28 +0200 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@cern.ch> | 2014-06-05 14:46:28 +0200 |
| commit | e34d86fb5114271d5bde4b46659c5b90c72171ad (patch) | |
| tree | 0c94a879a5a901c1f2220c161e391344f609731c /src/main/resources/boot | |
| parent | 2c808b6f0940cfae1235db5b60e9bcff4474c5e1 (diff) | |
Reconstruct domain path for pushing to the tree
Diffstat (limited to 'src/main/resources/boot')
| -rw-r--r-- | src/main/resources/boot/SC/LocalObjectDefCreator.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/resources/boot/SC/LocalObjectDefCreator.xml b/src/main/resources/boot/SC/LocalObjectDefCreator.xml index 28eac12..5fc3627 100644 --- a/src/main/resources/boot/SC/LocalObjectDefCreator.xml +++ b/src/main/resources/boot/SC/LocalObjectDefCreator.xml @@ -6,6 +6,7 @@ importClass(com.c2kernel.process.Bootstrap);
importClass(com.c2kernel.lifecycle.CompositeActivityDef);
importClass(com.c2kernel.lifecycle.ActivityDef);
+ importClass(com.c2kernel.lookup.DomainPath);
importClass(com.c2kernel.process.resource.DefaultResourceImportHandler);
var name = job.getOutcome().getField("ObjectName");
@@ -30,7 +31,7 @@ try {
var tree = Packages.com.c2kernel.gui.MainFrame.treeBrowser;
if (tree != null) // open new item in the gui
- tree.push(newPath);
+ tree.push(new DomainPath(domPath+"/"+name));
} catch (e) { // hopefully catch any classloading errors on headless systems. hopefully.
}
|
