You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,37 +45,37 @@ The VSAM examples use the sample file `SMPLXMPL`. For a sample CICS FILE definit
45
45
46
46
The sample can be built using the supplied Gradle or Maven build files to produce a WAR file and optionally a CICS Bundle archive.
47
47
48
-
#### Gradle (command line)
48
+
###Building with Gradle
49
49
50
-
Run the following in a local command prompt:
50
+
A WAR file is created inside the `build/libs` directory and a CICS bundle ZIP file inside the `build/distributions` directory.
51
51
52
-
`gradle clean build`
52
+
If using the CICS bundle ZIP, the default CICS JVM server name `DFHWLP` should be modified using the `cics.jvmserver` property in the gradle build [file](build.gradle) to match the required CICS JVMSERVER resource name, or alternatively can be set on the command line.
53
53
54
-
This creates a WAR file inside the `build/libs` directory and a CICS bundle ZIP file inside the `build/distributions` directory.
If using the CICS bundle ZIP, the default CICS JVM server name `DFHWLP` should be modified using the `cics.jvmserver` property in the gradle build [file](build.gradle) to match the required CICS JVMSERVER resource name, or alternatively can be set on the command line as follows.
57
-
58
-
59
-
`gradle clean build -Pcics.jvmserver=MYJVM`
60
-
61
-
62
-
#### Maven (command line)
61
+
### Building with Maven
63
62
64
63
First install the generated JAR file into a local Maven repository by running the following Maven command in a local command prompt
Next run the following in a local command prompt which will create a WAR file.
69
-
70
-
`mvn clean verify`
71
-
72
-
This creates a WAR file in the `target` directory.
73
-
74
-
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 as follows.
67
+
Next, run the appropriate Maven build command. This creates a WAR file in the `target` directory.
75
68
76
-
`mvn clean verify -Dcics.jvmserver=MYJVM`
69
+
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.
0 commit comments