This repository was archived by the owner on Nov 9, 2022. It is now read-only.
preserve ros maven deployment repository #38
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
includes #37
i.e. essentially this PR is about 4da3ba6
I was facing problems where my rosjava packages where part of a chained workspace, i.e.:
CMAKE_PREFIX_PATH
something likewsA/devel:wsB/devel:/opt/ros/kinetic
my rosjava packages are located in
wsB/src
if I
catkin build
my chain bottom-up and then finally source the top-mostwsA/devel/setup.bash
,ROS_MAVEN_DEPLOYMENT_REPOSITORY
will be set towsA/devel/share/maven
when re-compiling my rosjava packages in
wsB
, now some of them fail(in particular the action message generation part)
they have been compiling successfully while
ROS_MAVEN_DEPLOYMENT_REPOSITORY
has been set towsA/devel/share/maven
this commit preserves the the environment variable
ROS_MAVEN_DEPLOYMENT_REPOSITORY
if it has been set (by user or by the first rosjava_build_tools envhook) and the set value is part ofCMAKE_PREFIX_PATH
did anybody experience a similar issue when using rosjava packages with chained workspaces?
I don't know what has been the intention behind alway setting
ROS_MAVEN_DEPLOYMENT_REPOSITORY
to the top-most workspace[0]