Hi, On Wed, Oct 1, 2008 at 9:08 AM, 付 尧 <[EMAIL PROTECTED]> wrote: > ...By the way, how can I debug the Servlets(such as SlingMainServlet) in the > sling using Eclipse?...
What I do is start sling using java remote debugging parameters, and setup Eclipse for remote debugging. Example in launchpad/webapp: export MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=30303,server=y,suspend=n" mvn jetty:run ...and connect remote debugger to port 30303 -Bertrand (no time to look at your other issue right now, sorry)
