Use the Add/Edit Tool dialog box to add tools to the Tools menu and to edit them.
To display this dialog box, choose the Add or Edit buttons in the Tool Options dialog box.
The name of the tool. This name will display on the JBuilder Tools menu.
The fully qualified name of the program executable file. Use the ... button to navigate to the program executable file.
Indicates that this tool is a service that can be started and stopped from the Tools menu.
A tool that you add to the Tools menu can run as an external tool or as a service within JBuilder. When you run a program as an external tool (the Service check box is unchecked), you can shut down JBuilder and the tool keeps running. If you checked the Service check box, the program runs as a service within JBuilder's message pane. You can stop the service by clicking the red Stop button on the message pane's tab and you can start it again by clicking its green Run button. If you attempt to exit JBuilder without stopping the service first, a message box appears asking if you want to terminate the service. If you choose OK, the service is stopped and JBuilder closes. If you choose Cancel, JBuilder closes but the service remains running on your computer.
Displays a Select Macro dialog box. From the list of macros shown in the Select Macro dialog box, select a macro and choose OK. The macro you selected is inserted into the Parameters text box.
The parameters to pass to the command line. The following table lists the parameters:
Argument | Description |
---|---|
($AppName) | Expands to the name of JBuilder's application. |
($ClassPath) | The Class Path for the active project. |
($Docpath) | The path for the documentation for the current project. |
($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. |
($JBuilderClasspath) | The JBuilder classpath. |
($JDK Path) | The path where the JDK resides. |
($OutputDir) | The Out Path of the current project. |
($ProjectDir) | The directory of the active .jpx 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. |
($SaveAll) | Saves all changed files before the program runs. |
($Sourcepath) | The project source path. |
($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.
This box shows the results of the macro that is selected in the Macros list box.