Skip to content

Commit

Permalink
Renamed the template of package.xml so that it isn't indexed by ROS w…
Browse files Browse the repository at this point in the history
…hen moveit_setup_assistant's root package.xml is diabled
  • Loading branch information
davetcoleman committed Dec 15, 2012
1 parent ebbb6ef commit 3806e0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/widgets/configuration_files_widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,10 @@ void ConfigurationFilesWidget::savePackage()
"Package that contains all necessary configuration and launch files for MoveIt");

// Copy package.xml ------------------------------------------------------------------
// Note: we call the file package.xml.disabled so that it isn't automatically indexed by rosprofile
// in the scenario where we want to disabled the setup_assistant by renaming its root package.xml
file_name = "package.xml";
template_path = config_data_->appendPaths( config_data_->template_package_path_, file_name );
template_path = config_data_->appendPaths( config_data_->template_package_path_, "package.xml.disabled" );
file_path = config_data_->appendPaths( new_package_path, file_name );

// Use generic template copy function
Expand Down

0 comments on commit 3806e0e

Please sign in to comment.