ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
5

AMENT versus COLCON Ignore files

asked 2018-08-06 05:31:46 -0500

Hello!

I was wondering if AMENT_IGNORE files are still being used. I saw there are still some of them in some packages, like RTI Connext https://github.com/ros2/rmw_connext/b...

Do AMENT_IGNORE still have a purpose since there is COLCON_IGNORE? Or is it something that has not been updated after the release?

Thanks

edit retag flag offensive close merge delete

Comments

1

Since the current ROS 2 releases can be built with both - colcol as well as ament_tools - we kept the AMENT_IGNORE files for now.

Dirk Thomas gravatar image Dirk Thomas  ( 2018-08-06 10:10:19 -0500 )edit

Thanks, I did not get that ament_tools was still being used. I though colcon became the new build tool. I guess I misread the release notes :P

pokitoz gravatar image pokitoz  ( 2018-08-06 10:29:32 -0500 )edit
2

colcon is indeed the recommended build tool as of Bouncy. But users are still using Ardent and we didn't want to require them to change their workflow. Also in Bouncy we still released ament_tools for convenience. But future releases won't contain ament_tools anymore.

Dirk Thomas gravatar image Dirk Thomas  ( 2018-08-06 11:26:29 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
5

answered 2018-08-06 09:45:30 -0500

sloretz gravatar image

Colcon always ignores folders containing COLCON_IGNORE. If colcon-ros is installed then it will also ignore folders containing CATKIN_IGNORE or AMENT_IGNORE.

As far as I know ament_tools doesn't support COLCON_IGNORE, so using the AMENT_IGNORE marker file allows building with either ament or colcon.

edit flag offensive delete link more

Comments

1

catkin_pkg (used by ament_tools ) considers all three marker files too: see https://github.com/ros-infrastructure...

Dirk Thomas gravatar image Dirk Thomas  ( 2018-08-06 10:12:58 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2018-08-06 05:31:46 -0500

Seen: 6,681 times

Last updated: Aug 06 '18