Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuir committed Sep 23, 2009
1 parent 812ba48 commit 4a8dc97
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions jsf/numberguess/readme.txt
Expand Up @@ -23,6 +23,8 @@ Run this command to execute the application in an embedded Jetty 6 container:
You can also execute the application in an embedded Tomcat 6 container:

mvn war:inplace tomcat:run -Ptomcat

You'll can access the app at http://localhost:9090

In both cases, any changes to assets in src/main/webapp take affect immediately. If
a change to a webapp configuration file is made, the application may
Expand Down Expand Up @@ -68,3 +70,33 @@ But likely you want to run one or more build goals first before you redeploy:
mvn war:exploded tomcat:redeploy -Ptomcat
mvn compile war:exploded tomcat:redeploy -Ptomcat

The application is available at http://localhost:8080/webbeans-numberguess

== Launching Jetty embedded from Eclipse

First, set up the eclipse environment:

mvn clean eclipse:clean eclipse:eclipse -Djetty-ide

Next, put all the needed resources into the src/main/webapp

mvn war:inplace -Djetty-ide

Now, you are ready to run the server in Eclipse; find the Start class in src/main/jetty, and run it's
main method as a Java Application. The server will launch. You'll find the application at
http://localhost:8080


== Using Google App Engine

First, set up the eclipse environment:

mvn clean eclipse:clean eclipse:eclipse -Dgae

Make sure you have the Google App Engine Eclipse plugin installed.

Next, put all the needed resources into the src/main/webapp

mvn war:inplace -Dgae

Now, in Eclipse, you can either run the app locally, or deploy it to Google App Engine

0 comments on commit 4a8dc97

Please sign in to comment.