dbahar / myschedule

Automatically exported from code.google.com/p/myschedule
0 stars 0 forks source link

Add Maven Jetty plugin support #84

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,
I tried to use the maven tomcat plugin that is configured in the web module 
pom.xml, but mvn tomcat:run will launch tomcat on port 8080 and there is no way 
to access the app (I always get a blank screen on any urls)
In this revision :

http://code.google.com/r/anthonydahanne-myschedule-default/source/detail?r=eb213
0e63b2ad01254efb765169950ea253b26d2

, I added support for the maven jetty plugin, downloaded from maven central, 
that works just fine (go to http:localhost:8080 and you are redirected to the 
myschedule main webpage to create a scheduler)

Thanks

Original issue reported on code.google.com by anthony....@gmail.com on 20 Apr 2012 at 3:12

GoogleCodeExporter commented 9 years ago
Hello Anthony,

Thanks for interested in MySchedule project.

You should able to access the app after "tomcat:run". Have you try 
http://localhost:8080/myschedule-web on your browser? The plugin will default 
to serve the webapp in its context, not under ROOT.

I am more comfortable using and testing the app on Tomcat, so I don't think I 
want add jetty as part of the project pom. But if Jetty is your preference 
during developement, you can just create a maven profile (add to your 
$HOME/settings.xml eg) and you don't have to modify the MySchedule source at 
all.

Have fun!

Original comment by saltnlight5 on 24 Apr 2012 at 6:21

GoogleCodeExporter commented 9 years ago
Closing with reason stated above.

Original comment by saltnlight5 on 1 Jun 2012 at 2:39

GoogleCodeExporter commented 9 years ago

Original comment by saltnlight5 on 3 Jun 2012 at 1:33