Carl, Look at the start up script for Jetty. We start it as part of JBoss. What you have to do is to add the following options to the command-line for starting Jetty or any Java process for that matter.
# Debugger arguments #JAVA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n $JAVA_OPTS" Then in Eclipse you create a "Debug" configuration from the Run menu. Select the "Remote Java Application". Right click and select "new". It will give you a new instance. Make sure that you change the port from 8000 to whatever you used on the command-line. In my example above the port is 8787. Now set a breakpoint in your code, copy your .war or whatever into the Jetty directory you normally use to deploy. Before you connect up to Jetty, you need to open a "Debug" Perspective in Eclipse. And you can either connect by using Run->Debug->Your Config. Or at the very top there should be a bug icon that you can select to have it connect. Once that has happened, when you are walking through your app and hit a break point it should just stop. HTH, Mark -----Original Message----- From: Carl Pelletier [mailto:[EMAIL PROTECTED] Sent: Tue 5/23/2006 11:59 AM To: Tapestry users Subject: Re: best development server for Tapestry That look great for me, can you explain a little how you attach it to Eclipse ? For now, I starting it from the prompt. It work great`s but I have to look of my debug log4j in the cmd of windows, who`s pretty bad.... thanks ----- Original Message ---- From: Mark Stang <[EMAIL PROTECTED]> To: "Tapestry users [EMAIL PROTECTED]" <users@tapestry.apache.org>; Tapestry users <users@tapestry.apache.org> Sent: Tuesday, May 23, 2006 11:54:28 AM Subject: RE: best development server for Tapestry We use Jetty running standalone. And then as part of our ant tasks we copy the war file over. It auto-deploys. I attach to it via eclipse and just let it run. Sometimes when I change the code while debugging, it redeploys the code, backs up the jvm a few lines and keeps on running. -----Original Message----- From: Stephane Decleire [mailto:[EMAIL PROTECTED] Sent: Tue 5/23/2006 1:50 AM To: Tapestry users Subject: Re: best development server for Tapestry I've moved last month from this configuration to Jetty (with the Jetty Launcher plugin which permit to avoid Ant too) and i found that Jetty is a great server for the developpement process ! I think it's 10x faster than Tomcat to relaunch ... Kristian Marinkovic wrote: >hi, > >maybe its off topic but i use tomcat 5.5 with the Sysdeo Eclipse Tomcat >Launcher plugin (free) >for development. This plugin uses a separate classloader to load Tomcat and >all the jar files >on the classpath of my project. IMHO this way of developing is much easier >than using ant :) > >btw. the creators of this plugin are french too: >http://www.sysdeo.com/eclipse/tomcatpluginfr > >best regards, >kris > > > > > > Carl Pelletier > <[EMAIL PROTECTED] > ahoo.ca> An > users@tapestry.apache.org > 22.05.2006 20:00 Kopie > > Thema > Bitte antworten best development server for > an Tapestry > "Tapestry users" > <[EMAIL PROTECTED] > pache.org> > > > > > > > >hi everyone, I'm just starting a new development projet with Tapestry 4.0 >and Hibernate 3.1. I'm looking for the best local server to install on my >computer to make my development. > >here are the important point for me: > >1- Must be easy to install >2- Easy to deploy with ant and Eclipse. >3- Quick to start and stop. >4- Less configuration possible. >5- Must support JNDI > 6- Not to much memory ungry... > >Right now, I use Tomcat 5.5.17 with the service installed and I have some >problems. Use about 90mg of memory and is really long to start and stop. > >I'm considaring switching to Jetty 6, is a good idea? > >Maybe some theak in tomcat maybe anough.. > >Please, let me know what you think ! > >Thanks > >Carl Pelletier > >P.S> Sorry for bad english, i'm french > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > -- Stéphane Decleire 05 56 57 99 20 06 63 78 69 06