Skip to content

Commit 4cb506e

Browse files
committed
build section restyle
1 parent 8f05715 commit 4cb506e

File tree

1 file changed

+32
-12
lines changed

1 file changed

+32
-12
lines changed

README.md

Lines changed: 32 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,25 +30,45 @@ A JAR file is created inside the `cics-java-osgi-jdbc-app/build/libs` directory
3030

3131
If using the CICS bundle ZIP, the CICS JVM server name should be modified in the `cics.jvmserver` property in the gradle build [cics-java-osgi-jdbc-bundle/build.gradle](cics-java-osgi-jdbc-bundle/build.gradle) to match the required CICS JVMSERVER resource name, or alternatively can be set on the command line.
3232

33-
| Tool | Command |
34-
| ----------- | ----------- |
35-
| Gradle Wrapper (Linux/Mac) | ```./gradlew clean build``` |
36-
| Gradle Wrapper (Windows) | ```gradle.bat clean build``` |
37-
| Gradle (command-line) | ```gradle clean build``` |
38-
| Gradle (command-line & setting jvmserver) | ```gradle clean build -Pcics.jvmserver=MYJVM``` |
33+
**Gradle Wrapper (Linux/Mac):**
34+
```shell
35+
./gradlew clean build
36+
```
37+
**Gradle Wrapper (Windows):**
38+
```shell
39+
gradle.bat clean build
40+
```
41+
**Gradle (command-line):**
42+
```shell
43+
gradle clean build
44+
```
45+
**Gradle (command-line & setting jvmserver):**
46+
```shell
47+
gradle clean build -Pcics.jvmserver=MYJVM
48+
```
3949

4050
### Building with Apache Maven
4151

4252
A JAR file is created inside the `cics-java-osgi-jdbc-app/target` directory and a CICS bundle ZIP file inside the `cics-java-osgi-jdbc-bundle/target` directory.
4353

4454
If building a CICS bundle ZIP the CICS bundle plugin bundle-war goal is driven using the maven verify phase. The CICS JVM server name should be modified in the `<cics.jvmserver>` property in the [`pom.xml`](pom.xml) to match the required CICS JVMSERVER resource name, or alternatively can be set on the command line.
4555

46-
| Tool | Command |
47-
| ----------- | ----------- |
48-
| Maven Wrapper (Linux/Mac) | ```./mvnw clean verify``` |
49-
| Maven Wrapper (Windows) | ```mvnw.cmd clean verify``` |
50-
| Maven (command-line) | ```mvn clean verify``` |
51-
| Maven (command-line & setting jvmserver) | ```mvn clean verify -Dcics.jvmserver=MYJVM``` |
56+
**Maven Wrapper (Linux/Mac):**
57+
```shell
58+
./mvnw clean verify
59+
```
60+
**Maven Wrapper (Windows):**
61+
```shell
62+
mvnw.cmd clean verify
63+
```
64+
**Maven (command-line):**
65+
```shell
66+
mvn clean verify
67+
```
68+
**Maven (command-line & setting jvmserver):**
69+
```shell
70+
mvn clean verify -Dcics.jvmserver=MYJVM
71+
```
5272

5373
## Deploying
5474
Configure the JVM profile of the OSGi JVM server to include the Db2 driver JARs in the `OSGI_BUNDLES` environment variable and the Db2 library in the `LIBRARY_SUFFIX` environment variable. For more information, see the provided [JVM profile template](etc/jvmprofiles/DFHOSGI.jvmprofile). If necessary, restart the JVM server.

0 commit comments

Comments
 (0)