Package org.java.plugin.tools.ant
Class PluginInfoTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.java.plugin.tools.ant.PluginInfoTask
- All Implemented Interfaces:
Cloneable
public class PluginInfoTask
extends org.apache.tools.ant.Task
Simple task to read some data from plug-in manifest into project properties.
Inspired by Sebastian Kopsan.
- Version:
- $Id$
-
Field Summary
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()voidsetManifest(File aManifest) voidsetPropertyId(String propertyName) voidsetPropertyMatchingRule(String propertyName) voidsetPropertyPluginId(String propertyName) voidsetPropertyPluginVersion(String propertyName) voidsetPropertyVendor(String propertyName) voidsetPropertyVersion(String propertyName) Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Constructor Details
-
PluginInfoTask
public PluginInfoTask()
-
-
Method Details
-
setManifest
- Parameters:
aManifest- plug-in manifest to read data from
-
setPropertyId
- Parameters:
propertyName- name of the property to read plug-in or plug-in fragment ID in- See Also:
-
setPropertyVersion
- Parameters:
propertyName- name of the property to read plug-in or plug-in fragment version in- See Also:
-
setPropertyVendor
- Parameters:
propertyName- name of the property to read plug-in or plug-in fragment vendor in- See Also:
-
setPropertyPluginId
- Parameters:
propertyName- name of the property to read plug-in ID in- See Also:
-
setPropertyPluginVersion
- Parameters:
propertyName- name of the property to read plug-in version in- See Also:
-
setPropertyMatchingRule
- Parameters:
propertyName- name of the property to read plug-in fragment matching rule in- See Also:
-
execute
public void execute() throws org.apache.tools.ant.BuildException- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException- See Also:
-
Task.execute()
-