January 18, 2009 by Gerd Wuetherich
Scope: All Project Types
Description
The executeBuildCommands
task allows you to iterate over one or more build commands that are defined in your eclipse project.
Arguments
The executeBuildCommands
task provides the following arguments:
Argument | Description | Required |
---|---|---|
workspaceDirectory | Absolute path of the workspace directory that contains the eclipse projects | yes |
projectName | Name of the eclipse project | yes |
Example usage
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>
- Printer-friendly version
- Login or register to post comments