org.apache.fop.tools.anttasks
Class Manifest
java.lang.Object
|
+--org.apache.tools.ant.ProjectComponent
|
+--org.apache.tools.ant.Task
|
+--org.apache.fop.tools.anttasks.Manifest
- public class Manifest
- extends org.apache.tools.ant.Task
Creates a manifest file for packing into a jar.
Attributes are as follows:
- file
- the manifest file to write out to (required)
- overwrite
- if set to yes or true, overwrite the given
manifest file. Default is no
- version
- manifest version. Defaults to "1.0"
- spectitle
- the specification title
- specversion
- the specification version
- specvendor
- the specification vendor
- impltitle
- the implementation title
- implversion
- the implementation version.
- implvendor
- the implementation vendor
- mainclass
- the class to run when java -jar is invoked
- classpath
- the classpath to use when java -jar is invoked
- createdby
- the string to set the Created-By field to
- buildid
- A build identifier. Defaults to a build identifier
containing date + " ("+username+"@"+hostname+" ["+os+" "+version+" "+arch+"]
- Author:
- Kelly A. Campbell
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, handleErrorOutput, handleOutput, init, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
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 |
MANIFEST_VERSION
public static final java.lang.String MANIFEST_VERSION
CREATED_BY
public static final java.lang.String CREATED_BY
REQUIRED_VERSION
public static final java.lang.String REQUIRED_VERSION
SPECIFICATION_TITLE
public static final java.lang.String SPECIFICATION_TITLE
SPECIFICATION_VERSION
public static final java.lang.String SPECIFICATION_VERSION
SPECIFICATION_VENDOR
public static final java.lang.String SPECIFICATION_VENDOR
IMPL_TITLE
public static final java.lang.String IMPL_TITLE
IMPL_VERSION
public static final java.lang.String IMPL_VERSION
IMPL_VENDOR
public static final java.lang.String IMPL_VENDOR
BUILD_ID
public static final java.lang.String BUILD_ID
MAIN_CLASS
public static final java.lang.String MAIN_CLASS
CLASS_PATH
public static final java.lang.String CLASS_PATH
Manifest
public Manifest()
setFile
public void setFile(java.lang.String s)
setOverwrite
public void setOverwrite(java.lang.Boolean b)
setSpectitle
public void setSpectitle(java.lang.String s)
setSpecversion
public void setSpecversion(java.lang.String s)
setSpecvendor
public void setSpecvendor(java.lang.String s)
setImpltitle
public void setImpltitle(java.lang.String s)
setImplversion
public void setImplversion(java.lang.String s)
setImplvendor
public void setImplvendor(java.lang.String s)
setMainclass
public void setMainclass(java.lang.String s)
setClasspath
public void setClasspath(java.lang.String s)
setCreatedby
public void setCreatedby(java.lang.String s)
setBuildid
public void setBuildid(java.lang.String s)
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Main task method which runs this task and creates the manifest file.
- Overrides:
execute
in class org.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
- if one of the required attributes isn't set
print
protected void print(java.io.PrintWriter out,
java.lang.String header,
java.lang.String value)
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.