diff options
| author | abranson <andrew.branson@cern.ch> | 2011-10-18 17:00:33 +0200 |
|---|---|---|
| committer | abranson <andrew.branson@cern.ch> | 2011-10-18 17:00:33 +0200 |
| commit | 684e01bb190c7d0b95347b732aeb3cdeda4740d7 (patch) | |
| tree | f3b36e96a4e33b6e46a5e17a29e7492e9ecb4796 /source/com/c2kernel/gui/Console.java | |
| parent | 38d30cd4f69178cef983ec13262a6f02826a9a45 (diff) | |
Module support
Diffstat (limited to 'source/com/c2kernel/gui/Console.java')
| -rw-r--r-- | source/com/c2kernel/gui/Console.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/com/c2kernel/gui/Console.java b/source/com/c2kernel/gui/Console.java index a16e6f6..3427f82 100644 --- a/source/com/c2kernel/gui/Console.java +++ b/source/com/c2kernel/gui/Console.java @@ -130,7 +130,9 @@ public class Console extends JFrame { getContentPane().add(inputBox);
try {
- Properties utilProps = FileStringUtility.loadConfigFile( Resource.getDomainResourceURL("ScriptUtils.conf").toString());
+ // TODO: merge module script utilities together and prepend with namespace
+ Properties utilProps = FileStringUtility.loadConfigFile( Resource.findTextResource("ScriptUtils.conf") );
+
Box utilBox = Box.createHorizontalBox();
for (Object name2 : utilProps.keySet()) {
String name = (String) name2;
|
