r9597 - helma-ng/trunk/src/org/helma/jack

[email protected]
Newsgroups gmane.comp.java.helma.cvs
Message-ID <20090409102245.729133D0D6@mia>
Author: hannes
Date: 2009-04-09 12:22:45 +0200 (Thu, 09 Apr 2009)
New Revision: 9597

Modified:
   helma-ng/trunk/src/org/helma/jack/JackServlet.java
Log:
Set "modules" as default system module path in JackServlet.

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

Modified: helma-ng/trunk/src/org/helma/jack/JackServlet.java
===================================================================
--- helma-ng/trunk/src/org/helma/jack/JackServlet.java	2009-04-09 10:22:43 UTC (rev 9596)
+++ helma-ng/trunk/src/org/helma/jack/JackServlet.java	2009-04-09 10:22:45 UTC (rev 9597)
@@ -47,7 +47,7 @@
             home = new FileRepository(helmaHome);
         }
         try {
-            HelmaConfiguration helmaConfig = new HelmaConfiguration(home, modulePath, null);
+            HelmaConfiguration helmaConfig = new HelmaConfiguration(home, modulePath, "modules");
             helmaConfig.setHostClasses(new Class[] { JackEnv.class });
             engine = new RhinoEngine(helmaConfig, null);
         } catch (FileNotFoundException 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.