Skip to content

Commit

Permalink
add urls
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Nov 9, 2009
1 parent 4c357cc commit 1999f29
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions jsf/permalink/readme.txt
Expand Up @@ -15,6 +15,20 @@ the build.

Now you are ready to deploy.

== Deploying to JBoss AS

If you run a normal Maven build, the artifact it produces is deployable to JBoss
AS by default:

mvn package

Just copy target/weld-permalink.war to the JBoss AS deploy directory. Open this
local URL to access the running application:

http://localhost:8080/weld-permalink

But you may want to take advantage of the embedded servlet containers.

== Deploying with an embedded servlet container

Run this command to execute the application in an embedded Jetty 6 container:
Expand All @@ -25,6 +39,10 @@ You can also execute the application in an embedded Tomcat 6 container:

mvn war:inplace tomcat:run -Ptomcat

You can access the application for either container at the following local URL:

http://localhost:9090/weld-permalink

In both cases, any changes to assets in src/main/webapp take effect immediately.
If a change to a webapp configuration file is made, the application may
automatically redeploy. The redeploy behavior can be fine-tuned in the plugin
Expand Down Expand Up @@ -81,6 +99,10 @@ 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 the following local URL:

http://localhost:8080/weld-permalink

= Importing the project into Eclipse

The recommended way to setup a Seam example in Eclipse is to use the m2eclipse
Expand Down

0 comments on commit 1999f29

Please sign in to comment.