WARNING: This documentation refers to an outdated version of rosjava and is probably incorrect. Use at your own risk.

ros.properties is auto-generated when you type 'make' or 'rosmake' in a package setup to use the rosjava/rosmake integration files.

Basic Properties

  • ros.home: ROS home directory (defaults to ~/.ros)

  • Classpaths: (all use OS path separator)
    • ros.classpath: classpath for all exported jars

    • ros.compile.classpath: classpath for compilation

    • ros.runtime.classpath: classpath for runtime execution

    • ros.test.classpath: classpath for test execution

For each dependency of package:

  • ros.pkg.<package-name>.dir: directory of <package-name>, e.g. ros.pkg.rosjava.dir is the directory for rosjava.

  • ros.pkg.<package-name>.version: version number of stack that contains <package-name>

Android Properties

If a manifest includes an <android /> export, Android-specific properties will also be generated in order to eliminate the need to use the android update tool.

  • android.sdk.dir: directory where Android SDK is stored.

  • target: Android target property, e.g. android-9

  • android.library=true: Android library property (FIXME)

Advanced Properties

  • ros.jarfileset: comma-separated list of jar files exported by dependencies. This has the same value as ros.classpath but uses a different separator in order to be compatible with the Ant <files> concept, e.g.:

  <copy todir="${app.dir}/build/libs" flatten="true">
    <files includes="${ros.jarfileset}" />
  </copy>

TODO

Generate ros.<foo>.dir rules for all packages that you depend on.

Behind the scenes

Advanced: ros.properties is generated by the generate_properties.py script in rosjava_bootstrap

Wiki: rosjava/Build/ros.properties (last edited 2013-01-16 20:58:12 by AustinHendrix)