A collection of bash scripts used during development.
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.
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
chmod +x installCopyright.sh 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: createCDev.sh <projectName>
Parameters:
projectName: Name of project. Will be used to create directory structure.
chmod +x *.sh 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: createJavaDev.sh <projectName>
Parameters:
projectName: Name of project. Will be used to create directory structure.
chmod +x *.sh