Skip to content

Commit 34d3135

Browse files
SoftlySplinterGitHub Enterprise
authored andcommitted
Merge pull request #6 from BROWNAL7/BROWNAL7-build-instructions
Add build instructions for Issue #1
2 parents df83e4e + 8517c76 commit 34d3135

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,25 @@ The CICS bundle contains several elements
2424
4. A WARBUNDLE containing the built Java WAR.
2525

2626
## Building
27-
*TODO*
27+
There are several ways to build this project. We suggest you build with a build toolkit such as Gradle or Maven:
28+
29+
### Building with Gradle
30+
Run the following command from the `cics-eventprocessing-java` directory:
31+
32+
```sh
33+
./gradlew assemble
34+
```
35+
36+
This will compile the Java code, build a WAR file and package it and the EP adapter and Event binding into a CICS bundle as a ZIP file at `./cics-eventprocessing-java-bundle/build/distributions/cics-eventprocessing-java-bundle-0.0.1-SNAPSHOT.zip`
37+
38+
### Building with Maven
39+
Run the following command from the `cics-eventprocessing-java` directory:
40+
41+
```sh
42+
mvn verify
43+
```
44+
45+
This will compile the Java code, build a WAR file and package it and the EP adapter and Event binding into a CICS bundle as a ZIP file at `.cics-eventprocessing-java-bundle/target/cics-eventprocessing-java-bundle-0.0.1-SNAPSHOT.zip`
2846

2947
## Configuration
3048
You'll need to define a Liberty JVM server with the name `DFHWLP`. This name can be modified in the `pom.xml` of the cics-eventprocessing-java-bundle module.

0 commit comments

Comments
 (0)