Skip to content

Commit f08fc4e

Browse files
author
Arun Gupta
committed
Cleaned up some instructions
1 parent c59e267 commit f08fc4e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@ This workspace consists of Java EE 7 Samples. They are divided in different dire
1212

1313
### Cargo ###
1414

15-
By default, all samples are deployed on GlassFish 4. They can be deployed on Widlfly 8 by adding ``-P wildfly`` to all maven commands.
15+
By default, all samples are deployed on GlassFish 4. They can be deployed on Widlfly 8 by adding ``-P wildfly`` to all maven commands. Make sure to edit ``glassfish.home`` or ``wildfly.home`` property value in the top-level ``pom.xml`` to point to your local GlassFish or Wildfly directory respectively.
1616

17-
Make sure to edit ``glassfish.home`` or ``wildfly.home`` property value in the top-level pom.xml to point to your local GlassFish or Wildfly installations respectively.
18-
19-
1. In one terminal, anywhere in the project with a pom.xml: "mvn cargo:run" to start GlassFish server
17+
1. In one terminal, anywhere in the project with a ``pom.xml``: ``mvn cargo:run`` to start GlassFish server or ``mvn -P wildfly`` to start Wildfly server. They are both configured to run on port 8080 so only one can run at a given time.
2018
2. In another terminal, in the actual sample directory
2119
1. ``mvn package cargo:deploy`` to deploy for the first time
2220
2. ``mvn package cargo:redeploy`` to redeploy subsequently
@@ -27,7 +25,7 @@ Make sure to edit ``glassfish.home`` or ``wildfly.home`` property value in the t
2725
### Manual ###
2826

2927
1. ``mvn clean package``
30-
2. ``asadmin deploy target/XXX.war`` to deploy the WAR file
28+
2. Deploy on GlassFish using ``asadmin deploy target/XXX.war`` or deploy on Wildfly using ``TBD``
3129
3. Access http://localhost:8080/XXX/ (main page shows up)
3230
4. Same as 3 in the first one
3331

0 commit comments

Comments
 (0)