Skip to content
Snippets Groups Projects
Commit 81b5b497 authored by Julian Cerruti's avatar Julian Cerruti
Browse files

Replace readme from the one on readme branch

parent 6d208024
No related branches found
No related tags found
No related merge requests found
# NEEDS AN INDIGO UPDATE!!!
See [rosjava_core](https://github.com/rosjava/rosjava_core) readme.
Coming soon....ish.
## Moving ##
# RosJava Tools
Build tools for rosjava and android repositories. Currently includes some cmake macros and python creation
scripts.
## 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
```
This documentation will eventually merge with the rosjava_core and android_core documentation.
## 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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment