Here you go: http://mojo.codehaus.org/sysdeo-tomcat-plugin/
Works like charm for me. Must better than Jetty plugin because I don't have to reload the webapp after every little code change. On 7/11/07, chinofish <[EMAIL PROTECTED]> wrote:
with the command: mvn package you can get expanded war directory. you can write a context file for tomcat with docbase pointing to the war directory. and everything will almost be the same as before. with just one exception: every time you changed your code, you need to mvn package ======= 2007-07-10 20:15:01 Emam Hossain wrote:======= > > >Maven is cool but doesn't it complicated things a little bit? Eclipse with >sysdeo is perfect for me...why cant appfuse makes me a project, with that >project i could simply import to eclipse run with sysdeo and start my >Starter project. Appfuse is Great no doubt about that...it could be more >simpler for newbie to maven like me. > > >syg6 wrote: >> >> Well I am already using the Jetty the plug-in that comes with Appfuse. I >> wouldn't say I am 'happy' about using it. I've always been partial to >> using the myEclipse plug-in to first deploy my app and then start Tomcat. >> >> Now if I use the Maven Jetty plug-in, together with Candy, I can simply >> right-click on my project, choose Run as, and run the jetty:run-war, >> jetty:run-exploded or jetty:run goals. This also seems to let me debug. >> >> My question was, rather than use Maven at all it would be cool to be able >> to simply deploy my Appfuse app to a different Tomcat, and then use Sysdeo >> to start it. But I am not sure how I would do this, because the Maven >> goals currently used to deploy also compile everything, run tests, look >> for dependencies, create a WAR, etc. I would need some kind of 'smart' >> deployer that knows how to correctly do all this. I am sure it's possible >> but I'm a Maven newb, no clue how I'd go about doing it. >> >> As I said, I don't mind using Maven but the cool thing about using the >> myEclipse plug-in to deploy was that it would hot-deploy changes made in >> classes or jsp. With Maven I think I have to stop and start. Apparently >> you can do this by configuring the Maven Jetty plug-in as well, I just >> haven't looked into it yet ... >> >> Thanks for any tips! >> Bob >> >> >> Michael Horwitz wrote: >>> >>> If you are happy using Maven to manipulate the Tomcat container then you >>> can >>> use the Tomcat plugin to deploy/start/stop etc: >>> http://mojo.codehaus.org/tomcat-maven-plugin/ >>> >>> Mike. >>> >>> >>> On 7/10/07, syg6 <[EMAIL PROTECTED]> wrote: >>>> >>>> >>>> Would you mind expanding on 'it went well' ? >>>> >>>> I am just getting started with M5 and don't know much about Maven. I >>>> have >>>> no >>>> problem using it if it's necessary but would prefer to use an Eclipse >>>> plug-in (I was using myEclipse but now am trying to use Sysdeo because >>>> ... >>>> well, it's free!) to deploy my app and start Tomcat. I downloaded Sysdeo >>>> and >>>> have successfully started Tomcat but it's not the Tomcat that comes as a >>>> part of Appfuse but rather another instance of Tomcat I have installed >>>> elsewhere. >>>> >>>> My question is how to use Maven to JUST deploy my project (meaning I >>>> can't >>>> use jetty:run, jetty:run-war, etc. because these goals start >>>> Jetty/Tomcat >>>> and deploy by default to the Jetty/Tomcat that comes with Appfuse) and >>>> then >>>> use Sysdeo to start my Tomcat so debugging works, etc. >>>> >>>> I've also played around with Candy but it seems to do nothing more than >>>> allow you to execute the Appfuse Maven goals within Eclipse, which is >>>> cool >>>> but still doesn't allow me to deploy to and start MY Tomcat ... >>>> >>>> Can you give let me know how you do this? >>>> >>>> Many thanks, >>>> Bob >>>> >>>> >>>> >>>> chinofish-2 wrote: >>>> > >>>> > I run appfuse2.0m5 with sysdeo&tomcat5.5.x, it went well. >>>> > >>>> > so what's your problem ? >>>> > >>>> > >>>> > >>>> > ======= 2007-07-09 19:22:28 Emam Hossain wrote:======= >>>> > >>>> >>Is there any way that I can import the appfuse project into Eclipse >>>> and >>>> make >>>> >>it a web project or Tomcat project and run it / Debug with Sysdeo. I >>>> tried >>>> >>it but sysdeo could not run it. I could run it when I use "ant >>>> test-all". >>>> >>Please could u tell me how can I run an appfuse project without >>>> running >>>> ant >>>> >>command or maven like any other Webproject or Tomcat Project? >>>> >>Thanks >>>> >> >>>> >> >>>> >>-- >>>> >>View this message in context: >>>> http://www.nabble.com/Appfuse-with-Sysdeo-tf4048655s2369.html#a11499918 >>>> >>Sent from the AppFuse - User mailing list archive at Nabble.com. >>>> >> >>>> >>--------------------------------------------------------------------- >>>> >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> >>For additional commands, e-mail: [EMAIL PROTECTED] >>>> > >>>> > = = = = = = = = = = = = = = = = = = = = >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > chinofish >>>> > [EMAIL PROTECTED] >>>> > 2007-07-09 >>>> > >>>> > >>>> > >>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/Appfuse-with-Sysdeo-tf4048655s2369.html#a11517822 >>>> Sent from the AppFuse - User mailing list archive at Nabble.com. >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >>>> >>> >>> >> >> > >-- >View this message in context: http://www.nabble.com/Appfuse-with-Sysdeo-tf4048655s2369.html#a11519613 >Sent from the AppFuse - User mailing list archive at Nabble.com. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > = = = = = = = = = = = = = = = = = = = = chinofish [EMAIL PROTECTED] 2007-07-10
-- Regards, Cuong Hoang
