pde:clean

Clean Eclipse PDE generated files. Supports cleaning of features and products only. TODO: Add support for cleaning of fragments, plugins.

Mojo Attributes:

  • Automatically executes within the lifecycle phase: clean

Required Parameters

Name Type Description
eclipseInstall File Eclipse Platform SDK Directory Default value is c:/eclipse.

Optional Parameters

Name Type Description
antDebug boolean Ant debug capability Default value is false.
antVerbose boolean Ant verbose capability Default value is false.
pdeBuildConfigDirectory String When a product build is run, then the location of the PDE build configuration directory must be specified. A product build will expect a build.properties file to exist in this directory. You can use ${eclipseInstall}/plugins/org.eclipse.pde.build_{pdeBuildVersion}/templates/headless-build/build.properties as a starter file. See http://help.eclipse.org/help32/topic/org.eclipse.pde.doc.user/guide/tasks/pde_product_build.htm Building an RCP application from a product configuration file for more details. Default value is buildConfiguration.
pdeBuildVersion String When a product build is run then use this version of the pde build scripts. The build scripts are located at ${eclipseInstall}/plugins/org.eclipse.pde.build_{pdeBuildVersion}/scripts/productBuild
pdeProductFilename String Build a product instead of a feature. If defined then a PDE Product will be built (instead of the feature, fragment or plug-in). This value defines the product file that will be used to build the product.

Parameter Details

antDebug

Ant debug capability

  • Type: boolean
  • Required: No
  • Expression: ${antDebug}
  • Default: false

antVerbose Ant verbose capability
  • Type: boolean
  • Required: No
  • Expression: ${antVerbose}
  • Default: false

eclipseInstall Eclipse Platform SDK Directory
  • Type: java.io.File
  • Required: Yes
  • Expression: ${eclipseInstall}
  • Default: c:/eclipse

pdeBuildConfigDirectory When a product build is run, then the location of the PDE build configuration directory must be specified. A product build will expect a build.properties file to exist in this directory. You can use ${eclipseInstall}/plugins/org.eclipse.pde.build_{pdeBuildVersion}/templates/headless-build/build.properties as a starter file. See http://help.eclipse.org/help32/topic/org.eclipse.pde.doc.user/guide/tasks/pde_product_build.htm Building an RCP application from a product configuration file for more details.
  • Type: java.lang.String
  • Required: No
  • Expression: ${pdeBuildConfigDirectory}
  • Default: buildConfiguration

pdeBuildVersion When a product build is run then use this version of the pde build scripts. The build scripts are located at ${eclipseInstall}/plugins/org.eclipse.pde.build_{pdeBuildVersion}/scripts/productBuild
  • Type: java.lang.String
  • Required: No
  • Expression: ${pdeBuildVersion}

pdeProductFilename Build a product instead of a feature. If defined then a PDE Product will be built (instead of the feature, fragment or plug-in). This value defines the product file that will be used to build the product.
  • Type: java.lang.String
  • Required: No
  • Expression: ${pdeProductFilename}