This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: Passing arguments to InstallAnywhere project file
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 03, 2009
05:17 AM
Passing arguments to InstallAnywhere project file
Hi,
I need to change some parameters (e.g. Product Name) depending on some external parameters that can be passed from an Ant build script on to InstallAnywhere project files. I invoke my InstallAnywhere project file from within an Ant build (build.xml) file and would like to know how to pass arguments to the InstallAnywhere Ant task. For example, if I pass something like ProductName="Product1",then I should be able to read this argument from within the project file and update the $PRODUCT_NAME$ to the value passed argument(Product1).
Any help in this regard is highly appreciated.
Thanks in advance,
I need to change some parameters (e.g. Product Name) depending on some external parameters that can be passed from an Ant build script on to InstallAnywhere project files. I invoke my InstallAnywhere project file from within an Ant build (build.xml) file and would like to know how to pass arguments to the InstallAnywhere Ant task. For example, if I pass something like ProductName="Product1",then I should be able to read this argument from within the project file and update the $PRODUCT_NAME$ to the value passed argument(Product1).
Any help in this regard is highly appreciated.
Thanks in advance,
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 24, 2010
01:52 AM
Hello,
Did anybody find solution for the above question? I too have same requirement, passing ant parameters to IA.
Regards
Siva Krishna. K.
Did anybody find solution for the above question? I too have same requirement, passing ant parameters to IA.
Regards
Siva Krishna. K.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 24, 2010
04:31 AM
In order to achieve a similar result, I preferred to use a different approach: in IA project file I use ANT variables (@ instead of $) and I replace them BEFORE building the project.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)