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: addtocicsbundle/README.md
+12-9
Original file line number
Diff line number
Diff line change
@@ -7,17 +7,19 @@ Script to add pre-build Java archive files to a CICS bundle, including:
7
7
* .eba files for enterprise business archives
8
8
* .ear files for enterprise archives
9
9
10
-
If the CICS bundle does not exist, it will be created. If the CICS bundle contains only pre-built Java archive files, it does not need to be built by the CICS build toolkit.
10
+
If the CICS bundle does not exist, it will be created.
11
+
12
+
If the CICS bundle contains only pre-built Java archive files, it does not need to be built by the CICS build toolkit.
11
13
12
14
## Requirements
13
15
14
16
*[bash](https://www.gnu.org/software/bash/bash.html?cm_mc_uid=33935548072714933125385&cm_mc_sid_50200000=1493879051&cm_mc_sid_52640000=1493879738#downloading) is used to run the script. For Linux this is likely pre-installed.
15
-
*[xmlstarlet](http://xmlstar.sourceforge.net/overview.php) used to update the CICS bundle manifest file cics.xml.
17
+
*[xmlstarlet](http://xmlstar.sourceforge.net/overview.php) used to update the CICS bundle manifest file cics.xml. For Linux this is likely available for installation from your distribution package manager.
16
18
17
19
## Usage
18
20
19
21
~~~~
20
-
Usage: addtocicsbundle [-hv] [-j JVMSERVER] -a FILES DIRECTORY
22
+
Usage: addtocicsbundle [-hv] [-j JVMSERVER] [-V VERSION] -a FILES DIRECTORY
21
23
22
24
Add Java pre-built archive files to the CICS bundle specified by DIRECTORY.
23
25
@@ -26,21 +28,22 @@ Options:
26
28
-a FILES, --add Files or directory of files to add to the CICS bundle
27
29
-h, --help Help
28
30
-j JVMSERVER, --jvmserver CICS JVMSERVER resource name
29
-
The default is DFHWLP for files with .war .ear .eba extensions, and DFHOSGI .jar extensions
30
-
-V, --version Set the bundle version in major.minor.micro format
31
+
The default is DFHWLP for files with .war .ear .eba extensions, and DFHOSGI with .jar extensions
32
+
-V VERSION, --version Set the bundle version in major.minor.micro format
31
33
-v, --verbose Verbose messages
32
34
33
35
DIRECTORY is the CICS bundle directory
34
36
~~~~
35
37
36
38
## Example
37
39
38
-
This example will create a CICS bundle in directory output/bundles/com.ibm.cics.server.examples.bundle and add *.jar and *.war archive files.
40
+
This example will create a CICS bundle in directory output/bundles/com.ibm.cics.server.examples.bundle and add all the Java archives in archive files in path javaarchives/*.
39
41
40
-
Note the `-a "javaarchives/*"` parameter includes quotation marks to avoid the shell interpreter expansion.
42
+
Note the `-a "javaarchives/*"` parameter includes quotation marks to avoid the shell interpreter expanding the * character.
41
43
42
44
~~~~console
43
-
$ addtocicsbundle -v -a "javaarchives/*" output/bundles/com.ibm.cics.server.examples.bundle
45
+
$ scripts/addtocicsbundle -v -a "javaarchives/*" output/bundles/com.ibm.cics.server.examples.bundle
Creating CICS bundle part file output/bundles/com.ibm.cics.server.examples.bundle/com.ibm.cics.server.examples.hello.osgibundle
46
49
Adding bundle part to the CICS bundle manifest file output/bundles/com.ibm.cics.server.examples.bundle/META-INF/cics.xml
@@ -76,6 +79,6 @@ total 4
76
79
Exiting with RC=0
77
80
~~~~
78
81
79
-
The bundles/MyBundle directory can now be copied to the CICS [platform directory structure in z/OS UNIX](https://www.ibm.com/support/knowledgecenter/SSGMCP_5.3.0/com.ibm.cics.ts.productoverview.doc/concepts/platforms_directory_structure.html), such as /var/cicsts/CICSPlex/_platform1_/ or another location ready for installing in CICS.
82
+
The output directory can now be copied to the CICS [platform directory structure in z/OS UNIX](https://www.ibm.com/support/knowledgecenter/SSGMCP_5.3.0/com.ibm.cics.ts.productoverview.doc/concepts/platforms_directory_structure.html) such as /var/cicsts/CICSPlex/_platform1_/. A BUNDLE resource can then be defined and installed to install in CICS.
80
83
81
84
Alternatively, the bundles/MyBundle directory can be copied (staged) to IBM UrbanCode Deploy using the [pushcicsbundletoucd](../pushcicsbundletoucd) script and deployed using the [ucdtemplates](../ucdtemplates).
0 commit comments