Package Summary
Tags | No category tags. |
Version | 0.1.5 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/rosjava/genjava.git |
VCS Type | git |
VCS Version | indigo |
Last Updated | 2017-03-30 |
Dev Status | MAINTAINED |
CI status | Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Daniel Stonier
Authors
- Daniel Stonier
genjava
RosJava message definition and serialization artifact generators.
For future reference, executing the generator from the command line requires a command of the following kind:
java -classpath .:./message_generation-0.1.16.jar org.ros.internal.message.GenerateInterfaces
This doesn’t work exactly though because it doesn’t pull in the full classpath. Make sure that is set to include everything you need. You’ll also need arguments of the kind we’re currently using in the hydro groovy plugin:
def generatedSourcesDir = "${p.buildDir}/generated-src"
def generateSourcesTask = p.tasks.create("generateSources", JavaExec)
generateSourcesTask.description = "Generate sources for " + pkg.name
generateSourcesTask.outputs.dir(p.file(generatedSourcesDir))
/* generateSourcesTask.args = new ArrayList<String>([generatedSourcesDir, pkg.name]) */
generateSourcesTask.args = new ArrayList<String>([generatedSourcesDir, '--package-path=' + pkg.directory, pkg.name])
generateSourcesTask.classpath = p.configurations.runtime
generateSourcesTask.main = 'org.ros.internal.message.GenerateInterfaces'
p.tasks.compileJava.source generateSourcesTask.outputs.files
Changelog for package genjava
0.1.5 (2017-03-30)
- Fix bug package directory path, cherry-picked from kinetic
- Added a more descriptive and helpful error message when a required package is not found in the mesasge package index.
- Contributors: Daniel Stonier, Julian Cerruti, Martin Pecka, Perrine Aguiar
0.1.4 (2015-03-01)
- generate_rosjava_messages cmake api needs the rosjava environment.
- Contributors: Daniel Stonier
0.1.3 (2015-02-28)
- add data parts to the python package.
- Contributors: Daniel Stonier
0.1.2 (2015-02-27)
- bugfix genjava dir variable settings, fixes #1
- Contributors: Daniel Stonier
0.1.1 (2015-02-25)
- command line tools for building messages from the command line
- cmake api for building messages from catkin
- genjava api for building messages on the fly
- prototype version, builds mini gradle projects for each package
- Contributors: Daniel Stonier
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
genmsg | |
rosjava_bootstrap | |
rosjava_build_tools | |
catkin |
System Dependencies
Launch files
Messages
Services
Plugins
Recent questions tagged genjava at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 0.3.4 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/rosjava/genjava.git |
VCS Type | git |
VCS Version | kinetic |
Last Updated | 2019-01-23 |
Dev Status | MAINTAINED |
CI status | Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Daniel Stonier
Authors
- Daniel Stonier
genjava
RosJava message definition and serialization artifact generators.
For future reference, executing the generator from the command line requires a command of the following kind:
java -classpath .:./message_generation-0.1.16.jar org.ros.internal.message.GenerateInterfaces
This doesn’t work exactly though because it doesn’t pull in the full classpath. Make sure that is set to include everything you need. You’ll also need arguments of the kind we’re currently using in the hydro groovy plugin:
def generatedSourcesDir = "${p.buildDir}/generated-src"
def generateSourcesTask = p.tasks.create("generateSources", JavaExec)
generateSourcesTask.description = "Generate sources for " + pkg.name
generateSourcesTask.outputs.dir(p.file(generatedSourcesDir))
/* generateSourcesTask.args = new ArrayList<String>([generatedSourcesDir, pkg.name]) */
generateSourcesTask.args = new ArrayList<String>([generatedSourcesDir, '--package-path=' + pkg.directory, pkg.name])
generateSourcesTask.classpath = p.configurations.runtime
generateSourcesTask.main = 'org.ros.internal.message.GenerateInterfaces'
p.tasks.compileJava.source generateSourcesTask.outputs.files
Changelog for package genjava
0.3.4 (2019-01-23)
- Updating Gradle version to 4.10.2.
- Minor fixes: cross compilation instruction, typos, dependency warnings.
- Contributors: Arne, Daniel Ingram, Johannes Meyer, Juan Ignacio Ubeira, Julian Cerruti
0.3.3 (2017-05-09)
- Updating message_generation dependency to kinetic range in template to generate messages properly.
- Contributors: Juan Ignacio Ubeira, Julian Cerruti
0.3.2 (2017-03-02)
- bugfix abspath problems for gradle
0.3.1 (2017-02-22)
- publishMavenJavaPublicationToMavenRepository -> publish
- Gradle 2.2.1 -> 2.14.1
- Contributors: Julian Cerruti
0.3.0 (2016-12-15)
- Updates for Kinetic release.
0.1.4 (2015-03-01)
- generate_rosjava_messages cmake api needs the rosjava environment.
- Contributors: Daniel Stonier
0.1.3 (2015-02-28)
- add data parts to the python package.
- Contributors: Daniel Stonier
0.1.2 (2015-02-27)
- bugfix genjava dir variable settings, fixes #1
- Contributors: Daniel Stonier
0.1.1 (2015-02-25)
- command line tools for building messages from the command line
- cmake api for building messages from catkin
- genjava api for building messages on the fly
- prototype version, builds mini gradle projects for each package
- Contributors: Daniel Stonier
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
genmsg | |
rosjava_bootstrap | |
rosjava_build_tools | |
catkin |
System Dependencies
Dependant Packages
Name | Deps |
---|---|
rosjava | |
rosjava_messages |