The executeBuildCommands
task allows you to iterate over one or more build commands that are defined in your eclipse project.
The executeBuildCommands
task provides the following arguments:
Argument | Description | Required |
---|---|---|
workspaceDirectory | Absolute path of the workspace directory | Either 'workspaceDirectory' or 'workspaceId' has to be specified |
workspaceId | The identifier of a defined workspace (see <workspaceDefinition>) | Either 'workspaceDirectory' or 'workspaceId' has to be specified |
projectName | Name of the eclipse project | yes |
The following example iterates over all build commands defined in the eclipse project 'simple.java.project'
:
<ant4eclipse:executeBuildCommands workspacedirectory="${workspace}" projectname="simple.java.project"> <org.eclipse.jdt.core.javabuilder> ... </org.eclipse.jdt.core.javabuilder> </ant4eclipse:executeBuildCommands>