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: Test if Build Target includes embedded jre
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
‎May 23, 2012
09:34 AM
Test if Build Target includes embedded jre
How can one write a rule to check if ones Build Target includes embedded jvm or not? Is there a variable that one can test?
Many thanks
David
Many thanks
David
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 24, 2012
12:27 AM
Hi dziants,
Can you please be more elaborative on your requirement
Thanks,
MAdhav Pai
Can you please be more elaborative on your requirement
Thanks,
MAdhav Pai
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 24, 2012
02:46 AM
I have already worked out a reply to my question 🙂
The variable: $INSTALLER_LAUNCH_DIR$
contains the path to the directory of the build for this target and if this is a non embedded JVM build, the path string will end with NoVM .
I can thus check this variable using "ends in" test.
Has anyone a better solution?
The variable: $INSTALLER_LAUNCH_DIR$
contains the path to the directory of the build for this target and if this is a non embedded JVM build, the path string will end with NoVM .
I can thus check this variable using "ends in" test.
Has anyone a better solution?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 24, 2012
09:30 AM
I actually found that "end with" didn' t work - possibly because of hidden characters at the end of the string. I thus used "contains" to check whether the string noVM is in the path.
David
David
