No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.

genjava package from genjava repo

genjava

Package Summary

Tags No category tags.
Version 0.3.3
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 2018-12-07
Dev Status MAINTAINED
Released RELEASED

Package Description

Java ROS message and service generators.

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

Changelog for package genjava

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

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged genjava at answers.ros.org

genjava package from genjava repo

genjava

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
Released RELEASED

Package Description

Java ROS message and service generators.

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

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

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged genjava at answers.ros.org

No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.