Skip to Content

<executeBuildCommands>

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>