Revenera Documentation site will be unavailable on July 2nd due to scheduled maintenance. For more information see the status dashboard.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dziants
Level 6

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
Labels (1)
0 Kudos
3 Replies
madhavbantwal
Level 6

Hi dziants,

Can you please be more elaborative on your requirement

Thanks,
MAdhav Pai
0 Kudos
dziants
Level 6

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?
0 Kudos
dziants
Level 6

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
0 Kudos