Functions
rosjava_build_tools::utils Namespace Reference

Functions

def author_name
def camel_case
def distro_version
 Methods.
def mkdir_p
def read_template_file
 Borrowed from catkin_pkg.package_templates.
def validate_path
def which

Function Documentation

Utility to compute logged in user name

:returns: name of current user, ``str``

Definition at line 59 of file utils.py.

Definition at line 55 of file utils.py.

Methods.

  This code is pulled from rosversion, which unfortunately has it buried inside
  the script, not in the python module.

Definition at line 18 of file utils.py.

  Enables mkdir -p functionality (until python 3.2 is able to use
  the mode argument to do the same).

Definition at line 82 of file utils.py.

def rosjava_build_tools.utils.read_template_file (   template_directory,
  filename 
)

Borrowed from catkin_pkg.package_templates.

Definition at line 122 of file utils.py.

  Validates that there isn't a gradle project in the specified path.
  We use this when creating an android repo/package.

  @param path : path where you wish to create the repository/package.
  @type str
  @raise RuntimeError
  @return path : validated (exists) absolute pathname

Definition at line 96 of file utils.py.

  Looks for program in the environment.

  @param program : string name of the program (e.g. 'ls')
  @type str
  @return absolute pathname of the program or None
  @rtype str or None

Definition at line 30 of file utils.py.



rosjava_build_tools
Author(s): Daniel Stonier
autogenerated on Sat Jun 8 2019 19:54:56