Skip to content

Commit

Permalink
Add templates for .dsv files
Browse files Browse the repository at this point in the history
For more information about the introduction of .dsv files, see

- colcon/colcon-core#209
- ament/ament_package#89

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
  • Loading branch information
jacobperron committed Oct 17, 2019
1 parent e6e23fb commit b36a59b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
12 changes: 11 additions & 1 deletion ament_java_resources/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ ament_index_register_resource(
CONTENT_FILE "classpath.sh.template"
PACKAGE_NAME "ament_build_type_gradle_classpath_sh")

ament_index_register_resource(
"templates"
CONTENT_FILE "classpath.dsv.template"
PACKAGE_NAME "ament_build_type_gradle_classpath_dsv")

ament_index_register_resource(
"templates"
CONTENT_FILE "classpath.bat.template"
Expand All @@ -23,5 +28,10 @@ ament_index_register_resource(
"templates"
CONTENT_FILE "jni_library_path.bat.template"
PACKAGE_NAME "ament_build_type_gradle_jni_library_path_bat")


ament_index_register_resource(
"templates"
CONTENT_FILE "jni_library_path.dsv.template"
PACKAGE_NAME "ament_build_type_gradle_jni_library_path_dsv")

ament_package()
1 change: 1 addition & 0 deletions ament_java_resources/classpath.dsv.template
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
prepend-non-duplicate;CLASSPATH;@_AMENT_EXPORT_JARS_CLASSPATH@
1 change: 1 addition & 0 deletions ament_java_resources/jni_library_path.dsv.template
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
prepend-non-duplicate;@JNI_LIB_ENV_VAR@;lib/jni

0 comments on commit b36a59b

Please sign in to comment.