This repository has been archived by the owner on Nov 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'kinetic' into obsolete/master
Conflicts: CHANGELOG.rst CMakeLists.txt cmake/rosjava.cmake.em env-hooks/15.rosjava.bash.em env-hooks/15.rosjava.sh.em package.xml src/rosjava_build_tools/create_android_project.py src/rosjava_build_tools/gradle/gradle/wrapper/gradle-wrapper.jar src/rosjava_build_tools/gradle/gradle/wrapper/gradle-wrapper.properties src/rosjava_build_tools/release.py src/rosjava_build_tools/templates/android_package/build.gradle.in src/rosjava_build_tools/templates/android_project/build.gradle.in src/rosjava_build_tools/templates/rosjava_msg_project/build.gradle.in src/rosjava_build_tools/templates/rosjava_package/CMakeLists.txt.in src/rosjava_build_tools/templates/rosjava_package/build.gradle.in src/rosjava_build_tools/templates/rosjava_project/build.gradle.in
- Loading branch information
Showing
31 changed files
with
555 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,9 @@ | ||
# RosJava Tools | ||
See [rosjava_core](https://github.com/rosjava/rosjava_core) readme. | ||
|
||
Build tools for rosjava and android repositories. Currently includes some cmake macros and python creation | ||
scripts. | ||
## Moving ## | ||
|
||
This documentation will eventually merge with the rosjava_core and android_core documentation. | ||
|
||
## RosJava Build Demo | ||
|
||
|
||
``` | ||
> mkdir -p ~/rosjava/src | ||
> cd ~/rosjava/src | ||
> catkin_init_workspace . | ||
> wstool init . | ||
> wstool set rosjava_build_tools --git https://github.com/rosjava/rosjava_build_tools -v hydro-devel | ||
> wstool set rosjava_core --git https://github.com/rosjava/rosjava_core -v hydro-devel | ||
> wstool update | ||
> cd ~/rosjava | ||
> catkin_make | ||
``` | ||
|
||
The only changes made to the `rosjava_core` repo was to add a `package.xml` with a depends on `rosjava_build_tools` and a | ||
changes to the `CMakeLists.txt` as follows: | ||
|
||
``` | ||
... | ||
find_package(catkin REQUIRED rosjava_build_tools) | ||
catkin_rosjava_setup() | ||
``` | ||
|
||
This cmake makro sets up dummy targets in the cmake configuration which call out to gradle in the actual make step. | ||
It also parses the `package.xml` to add target dependencies from each `build_depends` tag (subsequently letting you | ||
sequence builds across repositories). | ||
|
||
It also adds a global and package `gradle-clean` target. | ||
|
||
``` | ||
> catkin_make | ||
# Clean a single gradle package | ||
> cd ~/rosjava/build/rosjava_core | ||
> make gradle-clean-rosjava_core | ||
# Clean all gradle packages | ||
> cd ~/rosjava/build | ||
> make gradle-clean | ||
``` | ||
|
||
## Android Build Demo | ||
## Usage ## | ||
|
||
Refer to http://ros.org/wiki/rosjava_build_tools. | ||
|
||
## Moving | ||
|
||
This documentation will eventually merge with the rosjava_core and android_core documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,21 @@ | ||
<package> | ||
<name>rosjava_build_tools</name> | ||
<version>0.2.0</version> | ||
<version>0.3.0</version> | ||
<description> | ||
Simple tools and catkin modules for rosjava development. | ||
Simple tools and catkin modules for rosjava development. | ||
</description> | ||
<maintainer email="[email protected]">Daniel Stonier</maintainer> | ||
<license>BSD</license> | ||
<url type="website">http://ros.org/wiki/rosjava_build_tools</url> | ||
<url type="repository">https://github.com/ros-java/rosjava_build_tools</url> | ||
<url type="bugtracker">https://github.com/ros-java/rosjava_build_tools/issues</url> | ||
<author email="[email protected]">Daniel Stonier</author> | ||
<author>Daniel Stonier</author> | ||
|
||
<buildtool_depend>catkin</buildtool_depend> | ||
|
||
<build_depend>python-rospkg</build_depend> | ||
<build_depend>rospy</build_depend> | ||
<build_depend>java</build_depend> | ||
<build_depend>ant</build_depend> | ||
<build_depend>python-rosinstall-generator</build_depend> | ||
<run_depend>python-rospkg</run_depend> | ||
<run_depend>rospy</run_depend> | ||
<run_depend>java</run_depend> | ||
<run_depend>ant</run_depend> | ||
<run_depend>catkin</run_depend> | ||
<run_depend>python-rosinstall-generator</run_depend> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.