Title: Future of ament_build_type_gradle · Issue #9 · ros2-java/ament_java · GitHub
Open Graph Title: Future of ament_build_type_gradle · Issue #9 · ros2-java/ament_java
X Title: Future of ament_build_type_gradle · Issue #9 · ros2-java/ament_java
Description: As I understand it, ament_tools is deprecated having been replaced by colcon as the build tool for ROS distros newer than Bouncy. Further, ament_build_type_gradle depends on ament_tools. I'm opening this issue to start a discussion about...
Open Graph Description: As I understand it, ament_tools is deprecated having been replaced by colcon as the build tool for ROS distros newer than Bouncy. Further, ament_build_type_gradle depends on ament_tools. I'm openin...
X Description: As I understand it, ament_tools is deprecated having been replaced by colcon as the build tool for ROS distros newer than Bouncy. Further, ament_build_type_gradle depends on ament_tools. I'm op...
Opengraph URL: https://github.com/ros2-java/ament_java/issues/9
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Future of ament_build_type_gradle","articleBody":"As I understand it, `ament_tools` is deprecated having been replaced by `colcon` as the build tool for ROS distros newer than Bouncy. Further, `ament_build_type_gradle` depends on `ament_tools`. I'm opening this issue to start a discussion about how to proceed for later ROS releases (e.g. Dashing).\r\n\r\nIf I ignore `ament_build_type_gradle`, I'm able to build ROS 2 Dashing with Java support, except some runtime environment information is missing for gradle packages (e.g. `CLASSPATH`, `AMENT_PREFIX_PATH`) and the packages are not registered with the ament index. My main question is where should these things be handled?\r\n\r\nShould we keep the logic in `ament_build_type_gradle` and refactor so it doesn't use `ament_tools`?\r\nOr perhaps we can move all of the functionality into [ament_gradle_plugin](https://github.com/esteve/ament_gradle_plugin)? \r\nIt seems like what we want is a new package `ament_index_java` (similar to the [C++ and Python packages](https://github.com/ament/ament_index)) that provides helpers for registering/querying entries in the ament index. Then this new Java API can be called from `ament_gradle_plugin` or directly by the gradle package.\r\n\r\nI'm new to gradle, so I'm still doing some reading and experimenting.","author":{"url":"https://github.com/jacobperron","@type":"Person","name":"jacobperron"},"datePublished":"2019-10-09T03:27:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/9/ament_java/issues/9"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0490391f-a8d9-c4a6-2eb9-f639d6dfc14a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8842:E74A0:17AB:1C28:697DBAC0 |
| html-safe-nonce | ebcbab4db959504940deac64df1e935f105aaf74f6a1a3d67121f6186117a805 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODQyOkU3NEEwOjE3QUI6MUMyODo2OTdEQkFDMCIsInZpc2l0b3JfaWQiOiI3MzAxMDU4NTE4MDg2OTI5MjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fff5a7c39ac0088b45061d8dc5abcc5b8a281182575f4725b7c6ff16ff7ac35b |
| hovercard-subject-tag | issue:504389403 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ros2-java/ament_java/9/issue_layout |
| twitter:image | https://opengraph.githubassets.com/350b63698c047864e68ecd5de8af04573c0bf6f834131cfefb089ab157b04661/ros2-java/ament_java/issues/9 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/350b63698c047864e68ecd5de8af04573c0bf6f834131cfefb089ab157b04661/ros2-java/ament_java/issues/9 |
| og:image:alt | As I understand it, ament_tools is deprecated having been replaced by colcon as the build tool for ROS distros newer than Bouncy. Further, ament_build_type_gradle depends on ament_tools. I'm openin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jacobperron |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/ros2-java/ament_java git https://github.com/ros2-java/ament_java.git |
| octolytics-dimension-user_id | 23436176 |
| octolytics-dimension-user_login | ros2-java |
| octolytics-dimension-repository_id | 66299394 |
| octolytics-dimension-repository_nwo | ros2-java/ament_java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 66299394 |
| octolytics-dimension-repository_network_root_nwo | ros2-java/ament_java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width