workspaceBuild
This task builds the entire workspace.
Parameters
Attribute Description Required BuildType Type of build No, default is Incremental. May be Incremental or Full. FailOnError Whether or not builds should fail on error No, default is true DebugCompilation Whether on not compilations should be debug No, default is true ShowErrors Whether or not to show the project errors in the ant build log No, default is true SeverityLevel The problem level to count and treat as a build error No, default is ERROR. May be ERROR, WARNING, or INFORMATION. CountValidationErrors Whether or not to count Validation problems as project Errors No, default is true PropertyCountName Property to receive the project error count No, default is WorkspaceErrorCount PropertyMessagesName Property to receive the project error messages No, default is WorkspaceErrorMessages Examples
- Build the workspace (default is incremental with debug information):
<workspaceBuild />- Do a production build of workspace (full build without debug information):
<workspaceBuild failonerror="true" DebugCompilation="false" BuildType="full"/> <echo message="projectBuild: projectName=${projectName} workspace Error Count=${WorkspaceErrorCount} workspace Error Messages=${WorkspaceErrorMessages}" />
Parent topic
Working with Ant
Related tasks
captureBuildMessages
compileWorkspace
getJavacErrorCount
getProjectData
projectBuild
projectGetErrors
projectImport
projectSetBuild
projectSetImport
setDebugInfo
workspaceGetErrors
workspacePreferenceFile
workspacePreferenceGet
workspacePreferenceSet