workspacePreferenceGet

This task gets 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
PropertyName Property to receive the preference value Yes
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
workspacePreferenceSet