com.antelmann
Class AntManifestTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.antelmann.AntManifestTask
- All Implemented Interfaces:
- ThirdParty
public class AntManifestTask
- extends org.apache.tools.ant.Task
- implements ThirdParty
creates a manifest file for an ant Task.
Values are prefilled with info from this package's Version class.
At a minimum, the the manifestFile has to be set.
This class requires the package org.apache.tools.ant to be found
in your classpath (usually, the ant.jar file will do in your classpath).
See http://jakarta.apache.org/ant/ for details.
- Author:
- Holger Antelmann
- See Also:
Version
| Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
| Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
manifestFile
protected MyFile manifestFile
mainclass
protected String mainclass
- preconfigured with com.antelmann.Main
classpath
protected String classpath
name
protected String name
sealed
protected boolean sealed
specificationTitle
protected String specificationTitle
specificationVersion
protected String specificationVersion
specificationVendor
protected String specificationVendor
implementationTitle
protected String implementationTitle
implementationVersion
protected String implementationVersion
implementationVendor
protected String implementationVendor
implementationVendorURL
protected String implementationVendorURL
AntManifestTask
public AntManifestTask()
createContent
public String createContent()
setManifestFile
public void setManifestFile(String fileName)
setMainClass
public void setMainClass(String mainclass)
setSealed
public void setSealed(boolean sealed)
setName
public void setName(String name)
setSpecificationTitle
public void setSpecificationTitle(String title)
setSpecificationVersion
public void setSpecificationVersion(String version)
setSpecificationVendor
public void setSpecificationVendor(String vendor)
setImplementationTitle
public void setImplementationTitle(String title)
setImplementationVersion
public void setImplementationVersion(String version)
setImplementationVendor
public void setImplementationVendor(String vendor)
setImplementationVendorURL
public void setImplementationVendorURL(String url)
setClassPath
public void setClassPath(String path)
- takes a space separated list of jar files and/or directories, null by default
execute
public void execute()
throws org.apache.tools.ant.BuildException
- writes the defined content into the specified manifest file
- Overrides:
execute in class org.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads