All Classes Namespaces Files Functions Variables Typedefs Enumerations
Functions
rosjava_tools::utils Namespace Reference

Functions

def author_name
def camel_case
def distro_version
 Methods.
def mkdir_p
def validate_path
def which

Function Documentation

Utility to compute logged in user name

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

Definition at line 63 of file utils.py.

Definition at line 59 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 22 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 86 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 100 of file utils.py.

def rosjava_tools.utils.which (   program)
  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 34 of file utils.py.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations


rosjava_tools
Author(s): Daniel Stonier
autogenerated on Fri Oct 4 2013 10:34:26