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

How to use ament_ignore

asked 2018-05-24 06:59:24 -0600

aks gravatar image

Lets say in my src directory I have 5 packages wherein I dont want to build one...How can i use ament_ignore ?

ament build --symlink-install --AMENT_IGNORE package5

SOmething like this ? and what does symlink install do ?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2018-05-24 07:44:32 -0600

marguedas gravatar image

To skip building specific packages in your workspace you can use the --skip-packages argument for ament: From ament --help:

--skip-packages [SKIP_PACKAGES [SKIP_PACKAGES ...]] Set of packages to skip

AMENT_IGNORE is a marker file that can be dropped in any directory of your workspace. This will tell the build tool to not enter that directory. It is similar to ROS1's CATKIN_IGNORE

For more information about symlink install you can refer to the "Optional symlinked install" section of the ament design article

HTH

edit flag offensive delete link more
-1

answered 2020-10-04 00:17:15 -0600

mehrdad gravatar image

use this command colcon build --symlink-install --continue-on-error

edit flag offensive delete link more

Comments

Using --continue-on-error for this is a pretty bad idea since it makes any kind of error unnoticed. colcon also has a command line option --packages-ignore [PKG_NAME [PKG_NAME ...]].

Dirk Thomas gravatar image Dirk Thomas  ( 2020-10-05 12:36:59 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2018-05-24 06:59:24 -0600

Seen: 846 times

Last updated: May 24 '18