Note that there are some explanatory texts on larger screens.

plurals
  1. POHow can I increase memory and enable remote debugging when using Jetty with Ant?
    text
    copied!<p>I am trying to use Jetty with ant and for the most part I've followed the instructions outlined <a href="http://docs.codehaus.org/display/JETTY/Ant+Jetty+Plugin" rel="nofollow">here</a>. The webapp starts up ok but I still to make a few more adjustments:</p> <ul> <li>Increase JVM memory (set the -Xms, -Xmx, and -XX:MaxPermSize)</li> <li>Enable remote debugging</li> </ul> <p>My ant task is defined as such:</p> <pre><code> &lt;target name="jetty" depends="make-webapp"&gt; &lt;taskdef resource="tasks.properties" loaderref="jetty.loader"&gt; &lt;classpath&gt; &lt;fileset dir="jetty-lib/"&gt; &lt;include name="eclipse-jdt-core-3.1.1.jar" /&gt; &lt;include name="jetty-6.1.26.jar" /&gt; &lt;include name="jetty-ant-6.1.26.jar" /&gt; &lt;include name="jetty-naming-6.1.26.jar" /&gt; &lt;include name="jetty-plus-6.1.26.jar" /&gt; &lt;include name="jetty-util-6.1.26.jar" /&gt; &lt;include name="jsp-2.1-jetty-6.1.16.jar" /&gt; &lt;include name="jsp-api-2.1-glassfish-9.1.1.B51.25.p1.jar" /&gt; &lt;include name="jsp-2.1-glassfish-9.1.1.B51.25.p1.jar" /&gt; &lt;include name="servlet-api-2.5-6.1.5.jar" /&gt; &lt;/fileset&gt; &lt;/classpath&gt; &lt;/taskdef&gt; &lt;mkdir dir="target/work" /&gt; &lt;jetty tempDirectory="target/work"&gt; &lt;webApp name="myapp" warfile="target/myapp" contextpath="/myapp" /&gt; &lt;/jetty&gt; &lt;/target&gt; </code></pre> <p>target/myapp has everything it needs including the WEB-INF/lib and WEB-INF/classes folders.</p> <p>So how can I increase memory and enable remote debugging with this set up?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload