Add/Edit Tool dialog box

You use the Add/Edit Tool dialog box to configure tools you add to the Tools menu.

To display this dialog box, choose the Add or Edit buttons in the Tool Options dialog box.

Title

The name of the tool. This name will display on the JBuilder Tools menu.

Program

The fully qualified name of the program executable file. Use the Browse button to navigate to the program executable file.

Service (can be started/stopped from menu)

Indicates that this tool is a service that can be started and stopped from the Tools menu.

Parameters

Arguments to pass to the executable program. This text box can contain any of the macros listed in the Macros list. Use the Insert button to add a macro to the parameters text box.

Insert button

Inserts the macro selected in the Macros list into the Parameters text box.

Macros

The arguments to pass to the command line. The following table lists the arguments:

Argument Description
($AppName) Expands to the name of JBuilder's application.
($ClassPath) The Class Path for the active project.
($JBuilderClassPath) The class path for JBuilder.
($FileClass) The class name of the currently selected JBuilder node.
($FileDir) The directory of the currently selected JBuilder node.
($FileExt) The file extension portion of ($FilePath).
($FileName) The filename portion of ($FilePath).
($FilePackage) The package name of the currently selected node.
($FilePath) Expands to the fully qualified path name of the currently selected file.
($FileUrl) The JBuilder URL for the currently selected node.
($HomeDir) The JBuilder home directory.
($JDK Path) The path where the JDK resides.
($OutputDir) The Out Path of the current project.
($ProjectDir) The directory of the active .jpr file.
($ProjectPath) The path of the active project.
($Prompt) Displays an input box for the user to enter input that will be added to the parameter string.
($RootDir) The directory JBuilder is installed in.
($TargetDir) The directory where the class file for the selected JBuilder node will reside.
($TargetPath) The fully qualified path name of the class file where the selected JBuilder node will reside.

Note that blank lines and lines starting with the '#' character are ignored.

Selected Macro Evaluated

This box shows the results of the macro that is selected in the Macros list box.