workspacePreferenceSet

This task sets Eclipse workspace preferences.

Parameters

Attribute Description Required
PreferenceType The type of preference to be set Yes. May be compiler or classpathVariable or classpath or builder
PreferenceName The preference name to be set Yes
PreferenceValue The value to be set Yes
Overwrite Whether or not to overwrite the preference value it it already exists No, default is true
FailOnError Whether or not the Ant build should fail if there was an error No, default is true

Examples

 

Parent topic

Working with Ant

 

Related tasks

captureBuildMessages
compileWorkspace
getJavacErrorCount
getProjectData
projectBuild
projectGetErrors
projectImport
projectSetBuild
projectSetImport
setDebugInfo
workspaceBuild
workspaceGetErrors
workspacePreferenceFile
workspacePreferenceGet