Summary

A collection of bash scripts used during development.

Install Copyright

Insert/update/remove copyright text in each of the files matching the file pattern. The text will be placed at the top of the file enclosed in a java/c style multiline comment. In addition, the text will be delimited by begin and end tokens. Changing these tokens will prevent this script from removing/updating the copyright statements.

Usage

installCopyright.sh [-hqr] [-c <copyrightTextFile>] [-p <filePattern>]

Parameters:

    -h: Help text
    -q: Suppress informational messages
    -r: Remove copyright text from all files matching pattern
    -c copyrightTextFile:  Path to file containing copyright text
    -p filePattern:  filename or wildcard pattern.  Will be applied
     recursively to the current directory
Installation
  1. Download installCopyright.sh and place in directory in the PATH.
  2. Ensure script is executable: chmod +x installCopyright.sh
Create C Dev

Creates a simple c development environment by creating a directory structure and including a simple makefile.

Requires that the DEV_ROOT environment variable be set to the location where the project should be created.

Usage

Usage: createCDev.sh <projectName>

Parameters:

	projectName:  Name of project.  Will be used to create directory structure.
Installation
  1. Download createCDev.zip and unzip into a directory in the PATH. The zip contains the makefile resources and a common script (createDevCommon.sh) invoked by createCDev.sh
  2. Ensure scripts are executable: chmod +x *.sh
Create Java Dev

Creates a simple java development environment by creating a directory structure and including a simple ant build file.

Requires that the DEV_ROOT environment variable be set to the location where the project should be created.

Usage

Usage: createJavaDev.sh <projectName>

Parameters:

	projectName:  Name of project.  Will be used to create directory structure.
Installation
  1. Download createJavaDev.zip and unzip into a directory in the PATH. The zip contains the makefile resources and a common script (createDevCommon.sh) invoked by createJavaDev.sh
  2. Ensure scripts are executable: chmod +x *.sh