org.apache.tools.ant.taskdefs
Class SignJar
java.lang.Object
|
+--org.apache.tools.ant.Task
|
+--org.apache.tools.ant.taskdefs.SignJar
- public class SignJar
- extends Task
Sign a archive.
- Author:
- Peter Donald donaldp@apache.org
Field Summary |
protected java.lang.String |
alias
The alias of signer. |
protected boolean |
internalsf
|
protected java.lang.String |
jar
The name of the jar file. |
protected java.lang.String |
keypass
|
protected java.lang.String |
keystore
The name of keystore file. |
protected boolean |
sectionsonly
|
protected java.lang.String |
sigfile
|
protected java.lang.String |
signedjar
|
protected java.lang.String |
storepass
|
protected java.lang.String |
storetype
|
protected boolean |
verbose
|
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getProject, getRuntimeConfigurableWrapper, getTaskName, init, log, log, maybeConfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jar
protected java.lang.String jar
- The name of the jar file.
alias
protected java.lang.String alias
- The alias of signer.
keystore
protected java.lang.String keystore
- The name of keystore file.
storepass
protected java.lang.String storepass
storetype
protected java.lang.String storetype
keypass
protected java.lang.String keypass
sigfile
protected java.lang.String sigfile
signedjar
protected java.lang.String signedjar
verbose
protected boolean verbose
internalsf
protected boolean internalsf
sectionsonly
protected boolean sectionsonly
SignJar
public SignJar()
setJar
public void setJar(java.lang.String jar)
setAlias
public void setAlias(java.lang.String alias)
setKeystore
public void setKeystore(java.lang.String keystore)
setStorepass
public void setStorepass(java.lang.String storepass)
setStoretype
public void setStoretype(java.lang.String storetype)
setKeypass
public void setKeypass(java.lang.String keypass)
setSigfile
public void setSigfile(java.lang.String sigfile)
setSignedjar
public void setSignedjar(java.lang.String signedjar)
setVerbose
public void setVerbose(boolean verbose)
setInternalsf
public void setInternalsf(boolean internalsf)
setSectionsonly
public void setSectionsonly(boolean sectionsonly)
execute
public void execute()
throws BuildException
- Description copied from class:
Task
- Called by the project to let the task do it's work. This method may be
called more than once, if the task is invoked more than once. For example,
if target1 and target2 both depend on target3, then running
"ant target1 target2" will run all tasks in target3 twice.
- Overrides:
execute
in class Task
- Following copied from class:
org.apache.tools.ant.Task
- Throws:
BuildException
- if someting goes wrong with the build
isUpToDate
protected boolean isUpToDate()
Copyright ? 2000 Apache Software Foundation. All Rights Reserved.