The generator system is Java software that generates standardized messages in Java from XML code.
Before you begin, you will need the XML file that the Messaging Workbench generated in Procedure 1. You will also need to start up a command line interface such as the Windows command prompt or a Linux shell.
1. To operate the generator system, type the following command:
java –classpath conf.jar ConfGen [flags] {source} {dest} {package-name}
This will produce a JAR file that
contains a Java version of the XML profile.
You can use this JAR file in Procedure 3.
The meaning of “flags”, “source”, “dest” and “package-name” is as follows.
Flags, which are optional, are explained in Table 1.
Table 1 Flags and their Meaning
Flag |
Meaning |
-v
|
Displays
all created files
|
-t
|
Runs
an installation self test
|
-h
|
Displays
how to run the program
|
“Source”, “dest” and “package-name” are mandatory. They are explained in Table 2.
Table 2 Meaning of Mandatory Parameters
Parameter |
Meaning |
source
|
Gives
the location and filename of the XML file that creates the combined profile
Java archive.
|
dest
|
Gives
the location of the Java archive (JAR) that will be created.
|
package-name
|
Gives
the name of the package to be created.
|