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@mad.scientist.com
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(java.lang.String verbose)
setInternalsf
public void setInternalsf(java.lang.String internalsf)
setSectionsonly
public void setSectionsonly(java.lang.String sectionsonly)
execute
public void execute()
throws BuildException
- Description copied from class:
Task
- Called by the project to let the task do it's work. Normally it does nothing.
- Overrides:
execute
in class Task
- Following copied from class:
org.apache.tools.ant.Task
- Throws:
BuildException
- if someting goes wrong with the build
Copyright © 2000 Apache Software Foundation. All Rights Reserved.