- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Knowledge Base
- :
- InstallAnywhere Ant Task Build Paramaters
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
InstallAnywhere Ant Task Build Paramaters
InstallAnywhere Ant Task Build Paramaters
Summary
This article discuss about the build parameters for the InstallAnywhere Ant task.Synopsis
This article discuss about the build parameters for the InstallAnywhere Ant task.
Discussion
InstallAnywhere includes an Ant task to build installers from Ant. The InstallAnywhere Ant task (iaant.jar) is located in your InstallAnywhere application folder:
IA_HOME\resource\build\iaant.jar
where IA_HOME is the InstallAnywhere installation directory.
Tip: To integrate the InstallAnywhere Ant task in an Ant project, set the classpath of the InstallAnywhere Ant task to the location of iaant.jar.
Note: The use of iaant.jar requires Java 1.4 or later.
The following Ant task parameters are available:
- Build Parameters
- Platform Options
- Build Options
- Installer Options
However, this article provides information only on the Build Parameters. For more information on the other parameters please refer the additional information section.
Build Parameters
Use the following parameters to control the build process for the InstallAnywhere Ant task.
Attribute | Description |
IAProjectFile |
The location of the InstallAnywhere project that you want to build. This is a required parameter. |
IALocation |
The location where InstallAnywhere is installed. This is an optional parameter. Note ? If IALocation is not specified, the task searches for a copy of InstallAnywhere to run against. If InstallAnywhere is not installed in one of the default locations, the task checks the InstallAnywhere product registry for a valid location. |
i5OSLogin |
The host name, user name and password of an iSeries machine in the following format: hostname_or_ip/userName/password For example: <buildinstaller IAProjectFile="Project_File" IALocation="IA_HOME" i5OSLogin="hostname_or_ip/userName/password"> After the project successfully builds, an asterisk-masked i5OSLogin parameter (password portion) prints to the console. This is an optional parameter. |
propertiesfile |
The location of a BuildProperties.xml file. If this parameter is used, all other attributes are ignored. This is an optional parameter |
failOnError |
Stop the build process if the command exits with a return code other than 0. Defaults to false. This is an optional parameter. |