Thanks - I fixed this on the codehaus site. http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Plugin+inside+Eclipse
Matt On 1/28/07, climbingrose <[EMAIL PROTECTED]> wrote:
The only thing I have to change is using "run:jetty" instead of "run:jetty6". On 1/29/07, Matt Raible < [EMAIL PROTECTED]> wrote: > Thanks - I've added this to the Eclipse instructions: > > http://appfuse.org/display/APF/Eclipse#Eclipse-debugging > > Let me know if there's anything I should change, or if anyone has a > similar writeup for IDEA or NetBeans. > > Thanks, > > Matt > > On 1/28/07, climbingrose <[EMAIL PROTECTED]> wrote: > > No worries! I actually found the solution here: > > http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Plugin+inside+Eclipse > > . > > > > > > On 1/29/07, climbingrose <[EMAIL PROTECTED] > wrote: > > > Thanks Matt. So what about debugging the whole web app? > > > I really like the ability to run "mvn jetty:run" and have all the changes > > to java code and jsp reloaded in a few seconds. It save so much time when > > developing AppFuse 2.0 based apps. However, I'm not sure if I can debug it > > just like I did with AppFuse 1.9.x using "debug" variable (ant -Ddebug=...). > > > > > > > > > > > > On 1/29/07, Matt Raible <[EMAIL PROTECTED]> wrote: > > > > That's the beauty of 2.0! You shouldn't *have* to use Maven for the > > > > most part. It has much better IDE support now. Use the following > > > > instructions to configure your project for Eclipse and then run your > > > > tests from Eclipse: > > > > > > > > http://appfuse.org/display/APF/Eclipse > > > > > > > > If you write your tests so they don't depend on data already being in > > > > the database, you should be able to run your tests all day long. If > > > > you depend on pre-existing data, you may have to run "mvn > > > > dbunit:operation" (same as ant db-load) every so often, or use dbunit > > > > to pre-populate your database. > > > > > > > > HTH, > > > > > > > > Matt > > > > > > > > On 1/28/07, climbingrose < [EMAIL PROTECTED]> wrote: > > > > > Hi Matt, > > > > > > > > > > Can you elaborate on how to use Eclipse to debug Appfuse 2.0? With > > Appfuse > > > > > 1.9.x, I can debug JUnit tests in Eclipse. It doesn't seem to be the > > case > > > > > with 2.0 because you have to invoke test cases via Maven. I'm just not > > so > > > > > comfortable with the whole Maven thingy. > > > > > > > > > > Regards, > > > > > > > > > > > > > > > On 1/24/07, Matt Raible < [EMAIL PROTECTED]> wrote: > > > > > > If you're just getting started with AppFuse - you may take a look at > > > > > > what we're doing in 2.0. Since we're moving from Ant to Maven and > > > > > > XDoclet to Annotations, we have *much* better IDE support. In fact, > > if > > > > > > your IDE has good Maven 2 support, it's simply a matter of pressing > > a > > > > > > run button to build/test/deploy/view your application. > > > > > > > > > > > > Eclipse's Maven support is OK > > > > > > ( http://appfuse.org/display/APF/Eclipse), but > > NetBean's > > > > > is much better > > > > > > ( http://appfuse.org/display/APF/NetBeans ). > > > > > > > > > > > > AppFuse 1.x originated before IDEs where any good (2002). We're > > making > > > > > > a major effort for 2.0 to allow you to leverage your IDE as much as > > > > > > you can. Unfortunately, we have a major glaring hole in our IDE > > > > > > documentation: > > > > > > > > > > > > http://appfuse.org/display/APF/MyEclipse > > > > > > > > > > > > ;-) > > > > > > > > > > > > Hope this helps, > > > > > > > > > > > > Matt > > > > > > > > > > > > On 1/24/07, Marc Siramy <[EMAIL PROTECTED] > wrote: > > > > > > > 2007/1/24, theNuge < [EMAIL PROTECTED]>: > > > > > > > > > > > > > > > > I'm using the latest version of Appfuse and the latest release > > of > > > > > Eclipse WTP > > > > > > > > (all in one 1.5.2). Eclipse WTP lets you set up dynamic webapp > > > > > projects and > > > > > > > > run/debug them within eclipse on whatever appserver you want. I > > was > > > > > hoping > > > > > > > > to use this same setup with Appfuse. I'll play around with it a > > bit > > > > > more > > > > > > > > and see if I can get it to work. If not then I'll try your > > > > > suggestion. > > > > > > > > > > > > > > > > Thanks for the quick reply and the great software! > > > > > > > > > > > > > > > > Andy > > > > > > > > > > > > > > > > > > > > > > > > Matt Raible-3 wrote: > > > > > > > > > > > > > > > > > > What version of AppFuse are you using? There's nothing in > > AppFuse > > > > > > > > > that prevents you from debugging it. They Sysdeo Tomcat > > Plugin is > > > > > > > > > often the easiest for folks to figure out, but you should be > > able to > > > > > > > > > setup remote debugging and start Tomcat with jdpa. > > > > > > > > > > > > > > > > > > > > > > > > > http://raibledesigns.com/page/rd?entry=remotely_debug_your_app_in > > > > > > > > > > > > > > > > > > Matt > > > > > > > > > > > > > > > > > > On 1/23/07, theNuge < [EMAIL PROTECTED]> wrote: > > > > > > > > >> > > > > > > > > >> Hi guys, > > > > > > > > >> > > > > > > > > >> I like to run my webapps in eclipse (using tomcat) so I can > > code > > > > > and > > > > > > > > >> debug > > > > > > > > >> all from one place. > > > > > > > > >> > > > > > > > > >> It doesn't seem to like the way appfuse is structured with > > the > > > > > webapp > > > > > > > > >> folder > > > > > > > > >> under the source folder... > > > > > > > > >> > > > > > > > > >> Has anyone tried to get this working with any luck? > > > > > > > > >> > > > > > > > > >> Andy > > > > > > > > >> -- > > > > > > > > >> View this message in context: > > > > > > > > >> > > > > > > > http://www.nabble.com/Using-Eclipse-debugger--tf3078753s2369.html#a8553807 > > > > > > > > >> Sent from the AppFuse - User mailing list archive at > > Nabble.com . > > > > > > > > >> > > > > > > > > >> > > > > > > > --------------------------------------------------------------------- > > > > > > > > >> To unsubscribe, e-mail: > > > > > [EMAIL PROTECTED] > > > > > > > > >> For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > http://raibledesigns.com > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > > > > To unsubscribe, e-mail: > > > > > [EMAIL PROTECTED] > > > > > > > > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > View this message in context: > > > > > > > http://www.nabble.com/Using-Eclipse-debugger--tf3078753s2369.html#a8555617 > > > > > > > > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > > > To unsubscribe, e-mail: > > > > > [EMAIL PROTECTED] > > > > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > "Eclipse WTP lets you set up dynamic webapp projects and run/debug > > > > > > > them within eclipse on whatever appserver you want" > > > > > > > I didn't see where we can configure appserver in Eclipse settings, > > > > > > > except Tomcat or Geronimo. > > > > > > > Another suggestion is to use MyEclipse (free trial - 30€ per year) > > > > > > > which enable you to run/deploy/debug webapps on any server you > > want. > > > > > > > (see www.myeclipseide.com). > > > > > > > > > > > > > > -- > > > > > > > Marc > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > > To unsubscribe, e-mail: > > > > > [EMAIL PROTECTED] > > > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > http://raibledesigns.com > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Regards, > > > > > > > > > > Cuong Hoang > > > > > > > > > > > > -- > > > > http://raibledesigns.com > > > > > > > > > > > > > > > > -- > > > Regards, > > > > > > Cuong Hoang > > > > > > > > -- > > Regards, > > > > Cuong Hoang > > > -- > http://raibledesigns.com > -- Regards, Cuong Hoang
-- http://raibledesigns.com
