Skip to content

Commit b84b727

Browse files
Use frontend group dependency & explicit dependencies in ros2launch (#256)
* Switch to package format 3 Signed-off-by: Christophe Bedard <[email protected]> * Declare dependency on launch_{xml,yaml} in ros2launch Signed-off-by: Christophe Bedard <[email protected]> * Declare a 'launch_frontend_packages' group and use in ros2launch Signed-off-by: Christophe Bedard <[email protected]>
1 parent ed45ebb commit b84b727

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

ros2launch/package.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0"?>
22
<?xml-model
3-
href="http://download.ros.org/schema/package_format2.xsd"
3+
href="http://download.ros.org/schema/package_format3.xsd"
44
schematypens="http://www.w3.org/2001/XMLSchema"?>
5-
<package format="2">
5+
<package format="3">
66
<name>ros2launch</name>
77
<version>0.15.0</version>
88
<description>
@@ -21,11 +21,17 @@
2121
<depend>ros2cli</depend>
2222
<depend>ros2pkg</depend>
2323

24+
<!-- explicitly depend on the main launch frontends -->
25+
<exec_depend>launch_xml</exec_depend>
26+
<exec_depend>launch_yaml</exec_depend>
27+
2428
<test_depend>ament_copyright</test_depend>
2529
<test_depend>ament_flake8</test_depend>
2630
<test_depend>ament_pep257</test_depend>
2731
<test_depend>python3-pytest</test_depend>
2832

33+
<group_depend>launch_frontend_packages</group_depend>
34+
2935
<export>
3036
<build_type>ament_python</build_type>
3137
</export>

0 commit comments

Comments
 (0)