summaryrefslogtreecommitdiff
path: root/src/main/resources/boot/SC
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2014-06-05 14:46:28 +0200
committerAndrew Branson <andrew.branson@cern.ch>2014-06-05 14:46:28 +0200
commite34d86fb5114271d5bde4b46659c5b90c72171ad (patch)
tree0c94a879a5a901c1f2220c161e391344f609731c /src/main/resources/boot/SC
parent2c808b6f0940cfae1235db5b60e9bcff4474c5e1 (diff)
Reconstruct domain path for pushing to the tree
Diffstat (limited to 'src/main/resources/boot/SC')
-rw-r--r--src/main/resources/boot/SC/LocalObjectDefCreator.xml3
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.
}