It's all about the answers!

Ask a question

Is it possible to include another environment dynamically?


John Wang (1011612) | asked Dec 21 '10, 3:21 p.m.
I am trying to build a project that can include another environment based on some condition.

I do not see any .dot command reference that include another environment.

Can someone suggest a better way?


Thanks

2 answers



permanent link
Robert haig (1.0k16) | answered Dec 23 '10, 10:44 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
I am trying to build a project that can include another environment based on some condition.

I do not see any .dot command reference that include another environment.

Can someone suggest a better way?


Thanks


you can use .bset.
.bset env ".include=includedENVgroup"

in 7.0.x the env include syntax wasn't a pulldown, it was configured by setting the variable name to '.include' and the value to the name of the group to include. In 7.1 that was hidden from the user with the variable type pulldown. It can still be set under the covers using .bset

permanent link
John Wang (1011612) | answered Jan 04 '11, 10:10 a.m.
I am trying to build a project that can include another environment based on some condition.

I do not see any .dot command reference that include another environment.

Can someone suggest a better way?


Thanks


you can use .bset.
.bset env ".include=includedENVgroup"

in 7.0.x the env include syntax wasn't a pulldown, it was configured by setting the variable name to '.include' and the value to the name of the group to include. In 7.1 that was hidden from the user with the variable type pulldown. It can still be set under the covers using .bset


Thanks. this helps alot.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.