diff --git a/tutorial/CONTRIBUTING.md b/tutorial/CONTRIBUTING.md index fdd744bfd..a9cb77dbd 100644 --- a/tutorial/CONTRIBUTING.md +++ b/tutorial/CONTRIBUTING.md @@ -6,5 +6,6 @@ Each section of the tutorial is contained in a `.asciidoc` file in this git repo * [AsciiDoc](http://www.methods.co.nz/asciidoc/index.html) installed. It's available via most major packaging systems (e.g. Debian, Fedora Extra, MacPorts), and has a Windows installer. * You'll also need pygments for syntax highlighting. It's available as a python egg. Easiest to install via `easy_install` e.g. `sudo easy_install pygments`. * dblatex, once again available in most major packaging systems, or as a python egg e.g. `sudo easy_install dblatex` +* asciidoctor, also available in most major packaging systems, or as a ruby gem -- as explained at http://asciidoctor.org/docs/install-toolchain/ Once you have installed AsciiDoc, you can build individual sections by invoking `asciidoc -b `. If you want to generate the whole tutorial as html, you can call `./generate-guides.sh`. diff --git a/tutorial/JBossDeployment.asciidoc b/tutorial/JBossDeployment.asciidoc index 8729ad4a3..2f50b3612 100644 --- a/tutorial/JBossDeployment.asciidoc +++ b/tutorial/JBossDeployment.asciidoc @@ -179,7 +179,7 @@ mvn clean package jboss-as:deploy -Pmysql -s TICKETMONSTER_MAVEN_PROJECT_ROOT/se Just like MySQL, you can deploy TicketMonster to JBoss EAP, making use of a 'real' database like PostgreSQL, instead of the default in-memory H2 database. You can follow the procedure outlined as follows: . Install the PostgreSQL JBDC driver as a new JBoss module. -.. Define a new JBoss module named `com.mysql` under the `modules` directory of the JBoss EAP installation. Under the `modules/system/layers/base` directory structure, create a directory named `org`, containing sub-directory named `postgresql`, containing a sub-directory named `main`. Place the PostgreSQL JBDC driver in the `main` directory. Finally, define the module via a `module.xml` file with the following contents: +.. Define a new JBoss module named `org.postgresql` under the `modules` directory of the JBoss EAP installation. Under the `modules/system/layers/base` directory structure, create a directory named `org`, containing sub-directory named `postgresql`, containing a sub-directory named `main`. Place the PostgreSQL JBDC driver in the `main` directory. Finally, define the module via a `module.xml` file with the following contents: + .EAP_HOME/system/layers/base/com/mysql/main/module.xml ---- @@ -251,4 +251,4 @@ mvn clean package jboss-as:deploy -Ppostgresql + ---- mvn clean package jboss-as:deploy -Ppostgresql -s TICKETMONSTER_MAVEN_PROJECT_ROOT/settings.xml ----- \ No newline at end of file +----