You can define your own tools as well as you can change the defined tools. This way you can enhance CodeGuide to satisfy your specific demands.
To edit the configured tools select Options | Preferences | Tools. In the list a the top are all the configured tools. You can add a new tool with the New button or remove a tool with the Remove button. To insert all predefined tools in the list press the Configure defaults button. In the fields at the bottom you can see the settings of each tool. You can change these to satisfy your specific demands.
For the executable, the working directory and the arguments of at tool you can use variables. The variables which can be used are shown in the variables Popup.
A variable is replaced once a tool is invoked by informations which are defined somewhere else within CodeGuide. The following table explains the replacement of each variable.
$FILE_PATH$ |
The full path of the file the tool is invoked on. |
$FILE_NAME$ |
The name of the file the tool is invoked on. |
$FILE_CLASSNAME$ |
The fully qualified class name of the file the tool is invoked on. The class name is generated by checking where the file is located in the project source, library source or library class paths. This variable is useful for tools which require a qualified class name rather than a path. |
$DIRECTORY_PATH$ |
The full path of the directory the tool is invoked on. |
$DIRECTORY_NAME$ |
The name of the directory the tool is invoked on. |
$DIRECTORY_CLASSNAME$ |
The fully qualified package name of the directory the tool is invoked on. The package name is generated by checking where the file is located in the project source, library source or library class paths. This variable is useful for tools which require a qualified package name rather than a path. |
$PARENT_DIRECTORY_PATH$ |
The full path of the parent directory of the file or directory the tool is invoked on. |
$DESTINATION_ DIRECTORY_PATH$ |
The destination directory of the project. |
$DESTINATION_ DIRECTORY_OPTION$ |
Same as $DESTINATION_DIRECTORY_PATH$ but with a leading "-d ". |
$ALL_PROJECT_SOURCE_ DIRECTORY_PATH$ |
The full paths of all project source directories separated by spaces. |
$PROJECT_SOURCE_ DIRECTORY_PATHS$ |
The full paths of all project source directories separated by the system specific path separator, i.e. ";" on Windows and ":" on UNIX. |
$LIBRARY_SOURCE_ DIRECTORY_PATHS$ |
The full paths of all library source directories of the current project separated by the system specific path separator, i.e. ";" on Windows and ":" on UNIX. |
$LIBRARY_CLASS_ DIRECTORY_PATHS$ |
The full paths of all library class directories of the current project separated by the system specific path separator, i.e. ";" on Windows and ":" on UNIX. |
$JDK_SOURCE_ DIRECTORY_PATHS$ |
The full paths of all source directories of the current selected JDK separated by the system specific path separator, i.e. ";" on Windows and ":" on UNIX. |
$JDK_CLASS_ DIRECTORY_PATHS$ |
The full paths of all class directories of the current selected JDK separated by the system specific path separator, i.e. ";" on Windows and ":" on UNIX. |
$CLASSPATH$ |
The classpath of the current project. This is a concatenation of the projects source paths, the library paths and the JDK paths. NOTE: This is not the externally specified CLASSPATH variable. |
$VERSION_CONTROL_ CHANGE_MESSAGE$ |
This variable will be replaced by a string which the user has entered in a dialog. This variable is used by the version control tools to pass a change message when committing a file. |
$USER_ARGUMENTS$ |
This variable will be replaced by a string which the user has entered in a dialog. |
$JDK_HOME_DIRECTORY_PATH$ |
The home directory of the current selected JDK. |
$ALL_CONTAINED_DIRECTORIES$ |
All directories contained in the directory on which this tool was invoked. |
$ALL_CONTAINED_FILES$ |
All files contained in the directory on which this tool was invoked. |