258 IBM Express Runtime V2.1
The application.axml file
Example A-1 shows the source of the application.axml file.
Example: A-1 Source of application.axml
<?xml version="1.0" ?>
<iru:application
id="TradeWin"
xmlns:iru="http://www.ibm.com/xmlns/prod/iru/application"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.ibm.com/xmlns/prod/iru/application IRU_application.xsd">
<applicationInformation
installTime="20"
version="1.0">
<name>TradeWin</name>
<operatingSystems>
<operatingSystem>Windows</operatingSystem>
</operatingSystems>
<providerName>IBM</providerName>
</applicationInformation>
<translationLanguages default="english">
<language>english</language>
</translationLanguages>
<fileLists>
<fileList id="softwareimagefiles">
<file>trade.ear</file>
</fileList>
<fileList
id="userprogramfiles"
userPrograms="true">
<file>com/trade/TradeMessagesNLS.class</file>
<file>com/trade/TradeMessagesNLS_en.class</file>
<file>com/trade/TradeNLSKeys.class</file>
<file>com/trade/TradeWinCommon.class</file>
<file>com/trade/TradeWinMain.class</file>
<file>com/trade/TradeWinPDC.class</file>
<file>Trade_ScriptsDir/CheckAppInstall.jacl</file>
<file>Trade_ScriptsDir/DB2Script.bat</file>
<file>Trade_ScriptsDir/SetupProcs.jacl</file>
<file>Trade_ScriptsDir/Table.ddl</file>
<file>Trade_ScriptsDir/WebSphereConfigProcs.jacl</file>
<file>Trade_ScriptsDir/WebSphereScript.jacl</file>
</fileList>
</fileLists>
<preDeploymentChecker
logFile="TradeWinPDC.log"
programName="com.trade.TradeWinPDC"
responseFile="Trade.prop"
successType="returnCode"
type="java">
Appendix A. Source code for Trade6 user programs and script files on Windows 259
<arguments>
<argument responseFile="true" />
</arguments>
</preDeploymentChecker>
<mainProgram
logFile="TradeWinMain.log"
programName="com.trade.TradeWinMain"
responseFile="Trade.prop"
successType="returnCode"
type="java">
<arguments>
<argument responseFile="true" />
</arguments>
</mainProgram>
<variables>
<stringVariable
maximumLength="30"
minimumLength="2"
name="DB2UserId"
required="true">
<labelText>DB2 Administrator UserID</labelText>
<propertiesAssociations>
<propertiesAssociation keyword="DB2UserId" />
</propertiesAssociations>
<inputValidation>
<invalid>
<prefixes>
<prefix ignoreCase="true">IBM</prefix>
<prefix ignoreCase="true">SQL</prefix>
<prefix ignoreCase="true">SYS</prefix>
<prefix ignoreCase="true">_</prefix>
</prefixes>
<values>
<value ignoreCase="true">ADMINS</value>
<value ignoreCase="true">GUESTS</value>
<value ignoreCase="true">USERS</value>
<value ignoreCase="true">PUBLIC</value>
<value ignoreCase="true">LOCAL</value>
</values>
</invalid>
<valid>
<characters ignoreCase="true">@#$_abcdefghijklmnopqrstuvwxyz0123456789</characters>
</valid>
</inputValidation>
<helpText>The Administrator id used to connect to DB2.</helpText>
</stringVariable>
<passwordVariable
maximumLength="127"
minimumLength="6"
name="DB2UserPassword"
required="true">
<labelText>DB2 Administrator Password</labelText>
<propertiesAssociations>
<propertiesAssociation keyword="DB2UserPassword" />
</propertiesAssociations>
<inputValidation>

Get IBM Express Runtime V2.1 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.