|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectprotoj.lang.internal.ant.AssembleTask
public final class AssembleTask
A convenience class for creating a jar file. Use the constructors to specify
the minimal and most widely anticipated configuration and the
initXXX methods for the less common configuration options.
| Constructor Summary | |
|---|---|
AssembleTask(java.io.File destFile,
java.io.File basedir,
java.io.File manifest,
java.lang.String includes,
java.lang.String excludes)
Accepts information widely used for configuring jar files. |
|
| Method Summary | |
|---|---|
void |
execute()
|
org.apache.tools.ant.taskdefs.Jar |
getJar()
|
void |
initLogging(java.io.File logFile)
Enables logging to the specified log file at Project.MSG_INFO level. |
org.apache.tools.ant.taskdefs.Manifest.Attribute |
initManifest(java.lang.String name,
java.lang.String value)
Call repeatedly in order to add a top level attribute to the manifest. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssembleTask(java.io.File destFile,
java.io.File basedir,
java.io.File manifest,
java.lang.String includes,
java.lang.String excludes)
destFile - the JAR file to create.basedir - the directory from which to jar the files.manifest - the manifest file to use. When omitted The ant API will create
one.includes - comma- or space-separated list of patterns of files that must
be included. All files are included when omitted.excludes - comma- or space-separated list of patterns of files that must
be excluded. All files are excluded when omitted.| Method Detail |
|---|
public void initLogging(java.io.File logFile)
logFile -
public org.apache.tools.ant.taskdefs.Manifest.Attribute initManifest(java.lang.String name,
java.lang.String value)
name - value -
public org.apache.tools.ant.taskdefs.Jar getJar()
public void execute()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||