Navigation:  Actions > Embarcadero/Borland >

Make JBuilder Action

Previous pageReturn to chapter overviewNext page

The Make JBuilder action creates a step to build Borland/Embarcadero/CodeGear JBuilder projects and groups.

 

This action processes single project or multi-project group files and invokes the command-line compiler for each project.  All build output from the compiler is logged.  If any errors occur while building, the error output is logged to the Output pane, and the action aborts.

 

The action has been tested with JBuilder 7, 8, 9, X, 2005, and 2006 and may also work with other versions. Notes: JBuilder must be installed on the build box, and this action requires the Developer or Enterprise editions of JBuilder, since command-line builds are limited to those editions.

 

Filename: The JBuilder project or group file to build.  Individual JPX and JPR as well as BPGR and JPGR (project group) files are supported.

 

Project target(s) to build: Specifies the target(s) in the project to build (optional).  The default is make.  Other common targets are rebuild and clean.

 

Continue building projects on build failure: Continue building other projects if a project in a group fails to build.

 

Log a list of failed projects when done building: If any projects fail to build and the continue build option is checked, each failed project is logged at the end of the custom action (applies only to project groups).

 

Additional command-line options: This action invokes the jbuilder.exe command-line program to perform the builds, and this option can be used to specify additional flags to pass.  The values entered in this field are passed through directly to the command-line program.

 

Override default compiler location: Normally, the command-line compiler is found by finding the executable associated with the project/group filename extension, extracting its path, and adding jbuilder.exe to the path.  By providing a full path and filename for this field, the command-line executable specified will be used rather than looking it up.  This can be used to specify which compiler to use when more than one version of JBuilder is installed.

 

Log the compiler command-line: Shows the command-line details for each project that is built. This can be useful for debugging purposes.

 

Note: By default, this action is not displayed (existing steps will still be displayed in the Step panes and will build normally).  To show all hidden actions, right-click in the Actions pane and choose Show Hidden.