cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
james_decosta
Level 9

how to use the contains or does not contain

hi,
i have tried in using the feature wherein i have to compare an installanywhere variable and try to match it with that expression.
I tried to check for does not contain that is if a install anywhere variable does not contain "a phrase" etc.
Can someone help me how to use this feature.
Labels (1)
0 Kudos
(5) Replies
Yves_Kreis
Level 7

Please give us the example you have tried.

Best Regards,
Yves
0 Kudos
james_decosta
Level 9

hi ,
i used the rule for this one:

if
$USER_INSTALL_DIR$ contains jboss-4.2.0.GA
but that is not working.
My aim is to know if the user install folder has jboss-4.2.0.GA,this is my motive ,how to achieve this.
0 Kudos
Yves_Kreis
Level 7

I can't see why it should not work. Can you post your project?

Best Regards,
Yves
0 Kudos
james_decosta
Level 9

hi,
my aim is to know if the user chosen folder is like D:\jboss-4.2.0.GA
or E:\jboss-4.2.0.GA
That is the folder name contains jboss-4.2.0.GA
0 Kudos
Yves_Kreis
Level 7

I understood it, but the way you are describing it, it should work. So can you post your project?

Best Regards,
Yves
0 Kudos