r9545 - helma-ng/trunk/src/org/helma/javascript

[email protected]
Newsgroups gmane.comp.java.helma.cvs
Message-ID <20090319153225.C495D3D0D6@mia>
Author: hannes
Date: 2009-03-19 16:32:25 +0100 (Thu, 19 Mar 2009)
New Revision: 9545

Modified:
   helma-ng/trunk/src/org/helma/javascript/RhinoEngine.java
Log:
Switch shell to slash separated module names.

Details at http://dev.helma.org/trac/helma/changeset/9545

Modified: helma-ng/trunk/src/org/helma/javascript/RhinoEngine.java
===================================================================
--- helma-ng/trunk/src/org/helma/javascript/RhinoEngine.java	2009-03-19 14:17:44 UTC (rev 9544)
+++ helma-ng/trunk/src/org/helma/javascript/RhinoEngine.java	2009-03-19 15:32:25 UTC (rev 9545)
@@ -211,7 +211,7 @@
             Scriptable parentScope = mainScope != null ? mainScope : topLevelScope;
             ModuleScope scope = new ModuleScope("<shell>", resource, parentScope, cx);
             try {
-                evaluate(cx, getScript("helma.shell"), scope);
+                evaluate(cx, getScript("helma/shell"), scope);
             } catch (Exception x) {
                 log.error("Warning: couldn't load module 'helma.shell'", x);
             }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.