Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Commit d04dfde

Browse files
author
Juan Ignacio Ubeira
authored
Merge pull request #34 from meyerj/fix-genjava-standalone-ignoring-packages
Fix for genjava ignoring most packages in standalone mode
2 parents 25723ff + 9edcf54 commit d04dfde

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/rosjava_build_tools/catkin.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ def index_message_package_dependencies_from_local_environment(package_name_list=
5252
# i.e. no duplicates!
5353
for path in reversed(package_paths):
5454
for package_path, package in catkin_pkg.packages.find_packages(path).items():
55+
# resolve and normalize absolute path because it is used as a key below
56+
package_path = os.path.normpath(os.path.join(path, package_path))
5557
all_packages[package.name] = (package_path, package)
5658
if has_build_depend_on_message_generation(package) or package.name in message_package_whitelist:
5759
if package_name_list:

0 commit comments

Comments
 (0)