diff --git a/CMakeLists.txt b/CMakeLists.txt index 9eb125511c751e3edb702d91568ad6a8f23b1082..f19637c3543863b1ce7ba2eee8c355fee29d479f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,4 +48,4 @@ if(NOT ROS_MAVEN_DEPLOYMENT_REPOSITORY) endif() file(WRITE ${ROS_MAVEN_DEPLOYMENT_REPOSITORY}/rospack_nosubdirs "") install(FILES ${ROS_MAVEN_DEPLOYMENT_REPOSITORY}/rospack_nosubdirs - DESTINATION ${CATKIN_GLOBAL_SHARE_DESTINATION}/maven) + DESTINATION ${ROS_MAVEN_DEPLOYMENT_REPOSITORY}) diff --git a/cmake/rosjava.cmake.em b/cmake/rosjava.cmake.em index b867f5b6af87b2fb6f93d341cd9d0ef694d8cbbb..b59faf5c6f360c8a449340c2e433b9a6478835a7 100644 --- a/cmake/rosjava.cmake.em +++ b/cmake/rosjava.cmake.em @@ -2,7 +2,7 @@ # Utilities ############################################################################## -set(CATKIN_GLOBAL_MAVEN_DESTINATION ${CATKIN_GLOBAL_SHARE_DESTINATION}/maven CACHE PATH "path to which maven artifacts are deployed in your workspace") +set(CATKIN_GLOBAL_MAVEN_DESTINATION ${CATKIN_GLOBAL_SHARE_DESTINATION}/repository CACHE PATH "path to which maven artifacts are deployed in your workspace") #TODO: make path configurable! set(CATKIN_GLOBAL_GRADLE_DESTINATION ${CATKIN_GLOBAL_SHARE_DESTINATION}/gradle CACHE PATH "path to which gradle configuration and artifacts are deployed in your workspace") # Scans down directories till it finds the gradle wrapper. diff --git a/generate_environment_variables.py b/generate_environment_variables.py index 5d8f4ce2c1baaeb29766cd7b917df9ce78618a9c..8aa944a387b055296b4aade514e759642e85ddce 100755 --- a/generate_environment_variables.py +++ b/generate_environment_variables.py @@ -44,10 +44,10 @@ if __name__ == '__main__': if args.maven_deployment_repository: repo = get_environment_variable(environment_variables, 'ROS_MAVEN_DEPLOYMENT_REPOSITORY') if repo is None: - repo = os.path.join(workspaces[0], 'share', 'maven') + repo = os.path.join(workspaces[0], 'share', 'repository') #TODO: make configurable! else: - if repo in [os.path.join(w, 'share', 'maven') for w in workspaces]: - repo = os.path.join(workspaces[0], 'share', 'maven') + if repo in [os.path.join(w, 'share', 'repository') for w in workspaces]: #TODO: make configurable! + repo = os.path.join(workspaces[0], 'share', 'repository') #TODO: make configurable! print(repo) elif args.maven_repository: repo = get_environment_variable(environment_variables, 'ROS_MAVEN_REPOSITORY') @@ -55,7 +55,7 @@ if __name__ == '__main__': repo = 'https://github.com/rosjava/rosjava_mvn_repo/raw/master' print(repo) elif args.maven_path: - new_maven_paths = [os.path.join(path, 'share', 'maven') for path in workspaces] + new_maven_paths = [os.path.join(path, 'share', 'repository') for path in workspaces] #TODO: make configurable! maven_paths = get_environment_variable(environment_variables, 'ROS_MAVEN_PATH') if maven_paths is None: maven_paths = new_maven_paths