Skip to content

Commit

Permalink
Minor fixes to documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
VineetReynolds committed Jan 15, 2015
1 parent 0e93771 commit 3832735
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions tutorial/JBossDeployment.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ This appendix demonstrates how to import, develop and deploy the TicketMonster e
We don't recommend using the *Internal Web Browser*, although it is configured as the default web browser in the IDE.
In certain environments, it may lack features present in modern web browsers, thus providing a sub-optimal user and developer experience.

We shall therefore set the IDE default web browser to be your default system web browser. Click *Window**Web
Browser**Default system web browser*.
We shall therefore set the IDE default web browser to be your default system web browser. Click *Window**Web
Browser**Default system web browser*.

== Import the Project source code

Once the TicketMonster source code is obtained and unpackaged, you must import it into JBoss
Developer Studio, as detailed in the procedure below. TicketMonster is a Maven-based project so a
specific Import Maven Project wizard is used for the import.

. Click *File**Import* to open the *Import* wizard.
. Click *File**Import* to open the *Import* wizard.
. Expand *Maven*, select *Existing Maven Projects* and click *Next*.
. In the *Root Directory* field, enter the path to the TicketMonster source code. Alternatively,
click *Browse* to navigate to the source code location. The *Import Maven Project* wizard
Expand All @@ -41,7 +41,7 @@ Once you have imported the TicketMonster source code into JBoss Developer Studio
application can be deployed to the JBoss EAP server and the running application viewed in the
default system web browser, as detailed in the procedure below:

. In the *Project Explorer* view, right-click *ticket-monster* and click *Run As**Run on
. In the *Project Explorer* view, right-click *ticket-monster* and click *Run As**Run on
Server*.
. Under *How do you want to select the server?*, ensure *Choose an existing
server* is selected.
Expand Down Expand Up @@ -162,7 +162,7 @@ modules
+
Replace the values for the `connection-url`, `user-name` and `password` with the correct ones for your environment.
. Build and deploy the application, using the `mysql` profile defined in the project POM :
.. In JBoss Developer Studio, you can do this by opening the project's context menu: right-click on the project, click *Maven**Select Maven Profiles...*, and activate the `mysql` profile by selecting it's checkbox. Once you have activated the profile, you can publish the project to a JBoss EAP instance from JBoss Developer Studio in the same manner described previously.
.. In JBoss Developer Studio, you can do this by opening the project's context menu: right-click on the project, click *Maven**Select Maven Profiles...*, and activate the `mysql` profile by selecting it's checkbox. Once you have activated the profile, you can publish the project to a JBoss EAP instance from JBoss Developer Studio in the same manner described previously.
.. If you are building and deploying from the command-line, activate the `mysql` profile, by specifying it during the build command like so:
+
----
Expand Down Expand Up @@ -242,7 +242,7 @@ modules
+
Replace the values for the `connection-url`, `user-name` and `password` with the correct ones for your environment.
. Build and deploy the application, using the `postgresql` profile defined in the project POM :
.. In JBoss Developer Studio, you can do this by opening the project's context menu: right-click on the project, click *Maven**Select Maven Profiles...*, and activate the `postgresql` profile by selecting it's checkbox. Once you have activated the profile, you can publish the project to a JBoss EAP instance from JBoss Developer Studio in the same manner described previously.
.. In JBoss Developer Studio, you can do this by opening the project's context menu: right-click on the project, click *Maven**Select Maven Profiles...*, and activate the `postgresql` profile by selecting it's checkbox. Once you have activated the profile, you can publish the project to a JBoss EAP instance from JBoss Developer Studio in the same manner described previously.
.. If you are building and deploying from the command-line, activate the `postgresql` profile, by specifying it during the build command like so:
+
----
Expand Down
4 changes: 2 additions & 2 deletions tutorial/OpenShiftDeployment.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export MAVEN_ARGS="clean package -Popenshift,mysql-openshift -DskipTests"
+
This OpenShift action hook sets up the `MAVEN_ARGS` environment variable used by OpenShift to configure the Maven build process. The exported variable now activates the `mysql-openshift` profile, in addition to the default values originally present in the variable.
. Publish the changes to OpenShift:
.. If you are using JBoss Developer Studio, right-click the project, go to *Team**Commit...* to commit the changes. Select the `pre_build_jbosseap` file to add to the commit. Choose the *Commit and Push* button during committing, to push the changes to the OpenShift repository.
.. If you are using JBoss Developer Studio, right-click the project, go to *Team**Commit...* to commit the changes. Select the `pre_build_jbosseap` file to add to the commit. Choose the *Commit and Push* button during committing, to push the changes to the OpenShift repository.
.. If you are using the command line, add the `pre_build_jbosseap` file to the git index, and commit it, and push to the OpenShift repository, as follows:
+
----
Expand Down Expand Up @@ -304,7 +304,7 @@ export MAVEN_ARGS="clean package -Popenshift,postgresql-openshift -DskipTests"
+
This OpenShift action hook sets up the `MAVEN_ARGS` environment variable used by OpenShift to configure the Maven build process. The exported variable now activates the `postgresql-openshift` profile, in addition to the default values originally present in the variable.
. Publish the changes to OpenShift:
.. If you are using JBoss Developer Studio, right-click the project, go to *Team**Commit...* to commit the changes. Select the `pre_build_jbosseap` file to add to the commit. Choose the *Commit and Push* button during committing, to push the changes to the OpenShift repository.
.. If you are using JBoss Developer Studio, right-click the project, go to *Team**Commit...* to commit the changes. Select the `pre_build_jbosseap` file to add to the commit. Choose the *Commit and Push* button during committing, to push the changes to the OpenShift repository.
.. If you are using the command line, add the `pre_build_jbosseap` file to the git index, and commit it, and push to the OpenShift repository, as follows:
+
------
Expand Down

0 comments on commit 3832735

Please sign in to comment.