ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Nested stack dependency

asked 2011-11-30 03:16:11 -0600

Aditya gravatar image

updated 2011-12-04 14:26:52 -0600

joq gravatar image

Assume stack A depends on ros stack and its stack.xml file has "<depend stack="ros"/> and assume that I create another stack B which depends on stack A and stack ros. If B's stack.xml specifies <depend stack="A"/>, does stack B also inherit "ros" stack as its dependency or do I need to explicitly specify <depend stack="ros"/> as well? Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-11-30 04:06:26 -0600

kwc gravatar image

It depends on how the stack dependency is converted -- if it is used to generate debian package dependencies, then, yes, it is inherited.

That said, it is better to explicitly enumerate your actual dependencies. For example, an intermediary stack can change its dependencies, and so you might suddenly be without this implicit dependency.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-11-30 03:16:11 -0600

Seen: 291 times

Last updated: Nov 30 '11