run-script-maven-plugin/src/main/java/org/lcsim
diff -u -r1.5 -r1.6
--- RunScriptMavenPluginMojo.java 5 Jan 2009 22:00:06 -0000 1.5
+++ RunScriptMavenPluginMojo.java 20 Feb 2009 05:53:29 -0000 1.6
@@ -53,8 +53,9 @@
public void execute() throws MojoExecutionException
{
String classPath = makeClassPath(makeClassPathEntries());
-
- String runLine = "java -cp \"" + classPath + "\" " + mainClass + " $*";
+
+ // FIXME: need way to set options, possibly support different platforms (bash,windows)
+ String runLine = "java -cp -Xmx1024m -XX:MaxPermSize=128m \"" + classPath + "\" " + mainClass + " $*";
// Make bin dir.
(new File(binDir)).mkdirs();