Summary
Building through Ant on Windows Vista and newer Windows operating systems causes a separate console to open where the build output is written.Synopsis
Building through Ant on Windows Vista and newer Windows operating systems causes a separate console to open where the build output is written. This console closes as soon as the build has completed which makes debugging any build issues difficult. There is an option which can be used in conjunction with the IA Ant Task which causes the build process to run in the console from which it was launched.
Discussion
You can use the asInvoker property of the Ant task so that the build is run in the console from which it was launched rather than opening a new console which closes as soon as the build completes. A very basic example of a build target which uses this property is as follows:
<target name="build-installer" description="Builds the installer">
<buildinstaller IAProjectFile="${basedir}/Project/Project.iap_xml?
IALocation="${IA_HOME}" asInvoker="true" />
</target>
Notice that the ?asInvoker? property was set to ?true.? This causes the Ant task to launch the build using the build-as-invoker launcher rather than the build launcher. The build launcher is manifested to elevate which causes the build to open in a new console. The build-as-invoker launcher is manifested to run asInvoker, which allows it to run in the console from which it was launched.
Additional Information
For additional information regarding InstallAnywhere?s Ant task, please see the following HelpNet page:
Related Articles
InstallAnywhere Ant Task Build Paramaters 9Number of Views Use Source Paths With the InstallAnywhere Ant Build Task 6Number of Views Execute Ant Script Action 5Number of Views HTTP 401 Error in FlexNet Code Insight When Using the Ant Plugin 3Number of Views 'InstallShield.Tasks.InstallShield' Task Could not be Loaded when Building Using TFS 4Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago