Usage
ultra <command> [options] Commands: export <target-jar-file> Export ultra classes to given jar file import <source-jar-file> Import ultra classes from given jar file list List all ultra classes in the system Options: -v --verbose Output verbose -h --historic-only Filter out only historic ultra classes
When you make changes to an ultra format, historic formats are stored on the system. However, these are not included when you perform a system export. You can use the ultra
command to export both current and historic ultra formats from one system and import them as historic formats in another. This is useful when the target system must be able to handle, for example, persisted runtime data that is consistent with a previous version of an Ultra format.
Commands
Command | Description |
---|---|
export | Use the Example - Exporting Ultra formatsultra export /home/user/mz/ultra/ultraexport.jar Note!The |
import | Use the Example - Importing Ultra formatsultra import /home/user/mz/ultra/ultraexport.jar |
list | Use the Example. Listing Ultra formats$ ultra list Note!If an empty list field disappears when the ascii encodes, you need to set a system property called mz.ultra.terminator.backcomp. If set to true, empty list fields do not disappear and backward compatibility is preserved if needed. To set this up, do the following:
|
Options
Option | Description |
---|---|
[ -v --verbose ] | Use this option for detailed output from the |
[ -h --historic-only ] | Use this option to only include historic formats in the export. This option is not applicable for the |
Return Codes
Listed below are the different return codes for the ultra
command:
Code | Description |
---|---|
0 | Will be returned if the command was successful. |
1 | Will be returned if the command could not be interpreted, e g if a option that does not exist has been entered. |
2 | Will be returned if the input file is not found or if the output file already exists. |