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
- :
- case insensitive comparison and IA variables
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 12, 2009
12:35 PM
case insensitive comparison and IA variables
I'd appreciate if someone can answer my questions.
1) Can I do compare variables with case insensitive option in InstallAnywhere 2009 version?
2) If I create a property value, as a result of some operation, from ant script to InstallAnywhere variable? In other words, can an ant script property be used as an InstallAnywhere variable?
Thanks in advance.
1) Can I do compare variables with case insensitive option in InstallAnywhere 2009 version?
2) If I create a property value, as a result of some operation, from ant script to InstallAnywhere variable? In other words, can an ant script property be used as an InstallAnywhere variable?
Thanks in advance.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 16, 2009
09:01 AM
You can accomplish what you want using Java and extending CustomCodePanel, taking advantage of the CustomCodePanel proxy. I ended up doing something very similar using eclipse and the visual editor following this document:
http://www.acresso.com/webdocuments/PDF/ia_create_cust_code_panel_eclipse.pdf
In short you need to extend CustomCodePanel then override the methods as stated in the document. Then you can use the proxy to get/set variables from InstallAnywhere. And you can use Java's .equalsIgnoreCase to validate case insensitive.
Hope this helps.
http://www.acresso.com/webdocuments/PDF/ia_create_cust_code_panel_eclipse.pdf
In short you need to extend CustomCodePanel then override the methods as stated in the document. Then you can use the proxy to get/set variables from InstallAnywhere. And you can use Java's .equalsIgnoreCase to validate case insensitive.
Hope this helps.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 16, 2009
02:59 PM
Hi!
Thanks for the tip. I was not sure if there was any built-in way that I was missing in the documentation.
I cannot believe that there is no default option to do a case-insensitive comparison.
Anyhow, I had to write custom java code to accomplish this after trying for a day.
-Thx.
Thanks for the tip. I was not sure if there was any built-in way that I was missing in the documentation.
I cannot believe that there is no default option to do a case-insensitive comparison.
Anyhow, I had to write custom java code to accomplish this after trying for a day.
-Thx.