{"id":859,"date":"2017-12-02T05:17:34","date_gmt":"2017-12-02T05:17:34","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=859"},"modified":"2020-01-09T09:24:04","modified_gmt":"2020-01-09T09:24:04","slug":"ant-build-integration-with-installanywhere","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/ant-build-integration-with-installanywhere\/","title":{"rendered":"ANT Build Integration with InstallAnywhere"},"content":{"rendered":"<p><strong>installanywhereExpert created the topic: ANT Build Integration with InstallAnywhere<\/strong><br \/>\nANT Build Integration with InstallAnywhere<\/p>\n<p>ANT is a powerful, Java based build tool developed by the Apache Foundation\u2019s Jakarta Project. It can be used to control complex build tasks in Java and other development environments. ANT manages specific actions though &#8220;tasks&#8221; which can either be part of the core ANT distribution or available as extensions. InstallAnywhere comes with an ANT task to build installers from ANT. The InstallAnywhere ANT task is located in your InstallAnywhere application folder, inside &#8220;resource&#8221; and then inside &#8220;\/build&#8221;.. Add &#8220;iaant.jar&#8221; to your classpath when executing ANT to get access to the InstallAnywhere ANT task. ANT uses an XML file to specify the order of tasks for your build process. More information on ANT can be found on the Apache Foundation&#8217;s Jakarta Project Web site.<\/p>\n<p>Task Name and Class<br \/>\nThe InstallAnywhere ANT task is specified as follows:<br \/>\n<taskdef name=\"buildinstaller\"\nclassname=\"com.zerog.ia.integration.ant.InstallAnywhereAntTask\"\/><\/p>\n<p>This task can be found inside the iaant.jar file, in your InstallAnywhere application<br \/>\nfolder, inside &#8220;resource&#8221; and then inside &#8220;build&#8221;.<\/p>\n<p>Parameters<br \/>\nAfter defining the task, specify any parameter necessary for the build settings:<br \/>\n<buildinstaller\nIAlocation=\"C:\\Program Files\\InstallAnywhere 6 Enterprise\"\nIAProjectFile=\"C:\\Projects\\myproject.iap_xml\"\nadditionalparameter=value\n\/><br \/>\nReplace the IAlocation with the absolute path to your own InstallAnywhere<br \/>\napplication folder. If InstallAnywhere cannot be found, ANT will search for it in one of<br \/>\nthe default locations or look in the registry to find where InstallAnywhere was<br \/>\ninstalled to.<br \/>\nSpecify the path and file name of the project to build in the IAProjectFile parameter.<br \/>\nAll other properties are optional. The parameters closely match the properties found<br \/>\nin the Build Properties File described above. The following table shows the available<br \/>\nparameters.<\/p>\n<p><strong>ashok423 replied the topic: Re: ANT Build Integration with InstallAnywhere<\/strong><br \/>\nHi, The parameters table which you mentioned is missing from the post. Can you please post it again.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>installanywhereExpert created the topic: ANT Build Integration with InstallAnywhere ANT Build Integration with InstallAnywhere ANT is a powerful, Java based build tool developed by the Apache Foundation\u2019s Jakarta Project. It can be used to control complex build tasks in Java and other development environments. ANT manages specific actions though &#8220;tasks&#8221; which can either be part&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[49],"tags":[209,210],"class_list":["post-859","post","type-post","status-publish","format-standard","hentry","category-general","tag-ant","tag-build-integration"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/859","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=859"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/859\/revisions"}],"predecessor-version":[{"id":860,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/859\/revisions\/860"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=859"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=859"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=859"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}