A B C D E F G I L M P R S T

A

addClassPath(String) - Method in class cpmake.CPMake
 
addSearchPath(String) - Method in class cpmake.CPMake
Adds a path to search when looking for targets.
addSearchPath(String, String) - Method in class cpmake.CPMake
Adds a path to search when looking for targets that match the given pattern.
addSearchPaths(String[]) - Method in class cpmake.CPMake
Adds search paths to look in when trying to find files.
addSearchPaths(String, String[]) - Method in class cpmake.CPMake
Adss paths to search when looking for targets that match the given pattern
arrayToString(String[]) - Static method in class cpmake.CPMake
Converts an array into a string seperated by spaces.
autoClean() - Method in class cpmake.CPMake
Automatically cleans the build area by removing targets that are specified in the build file.

B

buildTarget(String) - Method in class cpmake.CPMake
Processes the rule for the given target.
buildTarget(String, boolean) - Method in class cpmake.CPMake
Processes the rule for the given target.

C

CPMake - class cpmake.CPMake.
General Comments
CPMake(String, String) - Constructor for class cpmake.CPMake
Creaes a CPMake object.
CPMake(CPMake, String, String) - Constructor for class cpmake.CPMake
Creates a CPMake object.
clearMakeRules() - Method in class cpmake.CPMake
Clears all rules and dependencies.
combine(String[], String[]) - Static method in class cpmake.CPMake
Combines two String arrays into one.
copy(String, String, String) - Method in class cpmake.CPMake
Copies all files in the source directory that match the file pattern to the destination directory.
copy(String, String) - Method in class cpmake.CPMake
Performs a file copy.
copyIfNewer(String, String, String) - Method in class cpmake.CPMake
Copies all files in the source directory that match the file pattern to the destination directory if they are newer.
copyIfNewer(String, String) - Method in class cpmake.CPMake
Performes a file copy if the source is newer then the destination
copyIfNewer(String, String[], String) - Method in class cpmake.CPMake
Copies files specified in fileList parameter from the source directory to the destination directory.
copyIfNewer(String[], String) - Method in class cpmake.CPMake
Copies a list of files to the destination directory.
cpmake - package cpmake
 
createCopyRule(String, String[], String, String, String) - Method in class cpmake.CPMake
Creates a copy rule.
createCopyRule(String, String[], String, String, String, String) - Method in class cpmake.CPMake
Creates a copy rule.
createCopyRule(String, String[], String[], String) - Method in class cpmake.CPMake
Creates a copy rule.
createCopyRule(String, String[], String[], String, String) - Method in class cpmake.CPMake
Creates a copy rule.
createDirectoryRule(String, String[], boolean) - Method in class cpmake.CPMake
Creates a rule where the target is adirectory that needs to be created.
createExplicitDependency(String, String) - Method in class cpmake.CPMake
Creates dependecies for the given target.
createExplicitDependency(String, String[]) - Method in class cpmake.CPMake
Creates dependecies for the given target.
createExplicitRule(String, String, String, boolean) - Method in class cpmake.CPMake
Creates an explicit rule for building a target.
createExplicitRule(String, String[], String, boolean) - Method in class cpmake.CPMake
Creates an explicit rule for building a target.
createFileList(String, String) - Method in class cpmake.CPMake
This calls createFileList(String, String, int) but with 0 as the flags.
createFileList(String, String, boolean, boolean) - Method in class cpmake.CPMake
Deprecated.  
createFileList(String, String, String[], String, int) - Method in class cpmake.CPMake
Creates a list of files that matche the given regular expression.
createFileList(String, String, String[], int) - Method in class cpmake.CPMake
Creates a list of files that matche the given regular expression.
createFileList(String, String, String, int) - Method in class cpmake.CPMake
Creates a list of files that matche the given regular expression.
createFileList(String, String, int) - Method in class cpmake.CPMake
Creates a list of files in rootDirectory that match the pattern denoted by regexFilePattern.
createPatternDependency(String, String) - Method in class cpmake.CPMake
Creates a pattern dependency.
createPatternDependency(String, String[]) - Method in class cpmake.CPMake
Creates a pattern dependency Calling this is the same as calling createPatternDependency(String, String) over and over for each string in the prerequisite array.
createPatternRule(String, String, String, boolean) - Method in class cpmake.CPMake
Creates a pattern rule for building a target.
createPhonyRule(String, String, String) - Method in class cpmake.CPMake
Creates a phony target rule.
createPhonyRule(String, String[], String) - Method in class cpmake.CPMake
Creates a phony target rule.
createRecursiveCopyRule(String, String[], String, String, String) - Method in class cpmake.CPMake
Creates a copy rule.
createRecursiveCopyRule(String, String[], String, String, String, String) - Method in class cpmake.CPMake
Creates a copy rule.

D

debugPrint(String) - Static method in class cpmake.CPMake
 
del(String) - Method in class cpmake.CPMake
Added for use in Rhino script
delete(String) - Method in class cpmake.CPMake
Deletes a file
deltree(String) - Method in class cpmake.CPMake
Deletes the entire sub tree including the directory.

E

exec(String, String) - Method in class cpmake.CPMake
Executes a command and waits until it is finnished.
exec(String[], String) - Method in class cpmake.CPMake
Executes a command and waits until it is finnished.
exec(String) - Method in class cpmake.CPMake
Executes a command and waits until it is finnished.
exec(String[]) - Method in class cpmake.CPMake
Executes a command and waits until it is finnished.
exec(String, boolean, String) - Method in class cpmake.CPMake
Executes a command and waits until it is finnished.
exec(String[], boolean, String) - Method in class cpmake.CPMake
Executes a command and waits until it is finnished.
exec(String, boolean) - Method in class cpmake.CPMake
Executes a command and waits until it is finnished.
exec(String[], boolean) - Method in class cpmake.CPMake
Executes a command and waits until it is finnished.
exec(String, String, boolean) - Method in class cpmake.CPMake
Executes a command and waits until it is finnished.
exec(String, String[], boolean) - Method in class cpmake.CPMake
Executes a command and waits until it is finnished.
exec(String, String, boolean, String, String) - Method in class cpmake.CPMake
Executes a command and waits until it is finnished.
exec(String, String[], boolean, String, String) - Method in class cpmake.CPMake
Executes a command and waits until it is finnished.

F

fixPath(String) - Static method in class cpmake.CPMake
Fixes the directory seperators for the current platform.
fixPath(String[]) - Static method in class cpmake.CPMake
Fixes the directory seperators for the current platform.
fullPath(String) - Method in class cpmake.CPMake
Returns the absolute path from a relative path

G

GrepResult - class cpmake.GrepResult.
GrepResult is the returned from a call to CPMake.grep.
getLineNumbers() - Method in class cpmake.GrepResult
Returns an array of integers where each element in the array is the line number in the file that matches the grep pattern.
getPrimaryTarget() - Method in class cpmake.CPMake
Returns the primary build target.
getProperties() - Method in class cpmake.CPMake
Returns the CPMake properites object.
getProperty(String, String) - Method in class cpmake.CPMake
Gets a property from CPMake.
getProperty(String) - Method in class cpmake.CPMake
Gets a property from CPMake.
getResults() - Method in class cpmake.GrepResult
Returns an array of strings where each element of the array is the line in the file that matches the grep pattern.
getThreadCount() - Method in class cpmake.CPMake
Reutrns the number of threads to be used when processing the build queue
grep(String, String) - Static method in class cpmake.CPMake
This function will search the input file for lines that match the given regular expression.

I

INCLUDE_PATH - Static variable in class cpmake.CPMake
Use with createFileList.
include(String) - Method in class cpmake.CPMake
Includes an additional script file that has a rule to generate it.
isFound() - Method in class cpmake.GrepResult
Returns true if any matches were found in the file.

L

locateFile(String) - Method in class cpmake.CPMake
Tries to locate a file by looking in the search paths.

M

main(String[]) - Static method in class cpmake.CPMake
Creates an instance of CPMake and process the targets on the command line.
mkdir(String) - Method in class cpmake.CPMake
Creates a directory

P

processBuildFile() - Method in class cpmake.CPMake
Processes the build file and builds the primary target.
processMakeDependencyFile(String, boolean, boolean) - Method in class cpmake.CPMake
Reads a GNU make file and addes the dependencies to the build.
processMakeDependencyFiles(String[], boolean, boolean) - Method in class cpmake.CPMake
Reads a list of GNU style dependency files and adds them to the CPMake dependency list.

R

RECURSE - Static variable in class cpmake.CPMake
Use with createFileList.
RELATIVE_PATH - Static variable in class cpmake.CPMake
Use with createFileList and in conjunction with INCLUDE_PATH.

S

setDefaultTarget(String) - Method in class cpmake.CPMake
Sets the target that will be build if none is specified on the command line.
setObject(String, Object) - Method in class cpmake.CPMake
Sets variables in script namespace.
setProperty(String, String) - Method in class cpmake.CPMake
Sets properties for this instance of CPMake
setThreadCount(int) - Method in class cpmake.CPMake
Sets the number of threads to be used when processing the build queue.
setVerbose(boolean) - Method in class cpmake.CPMake
Tells CPMake to echo out build information
substitute(String, String, String[]) - Static method in class cpmake.CPMake
Perform pattern substitution on the srcList String array.

T

throwException(String) - Static method in class cpmake.CPMake
Throws and exception.

A B C D E F G I L M P R S T