class Pack200Task extends ScalaMatchingTask
An Ant task that applies the pack200 encoding to a JAR file.
destdir
(mandatory),dir
(defaults to project's basedir),effort
(default 9),keepFileOrder
(defaultfalse
),keepModificationTime
(defaultfalse
),repack
(default false),segmentLimit
(default-1
for no limit),suffix
(default ".pack")
- Source
- Pack200Task.scala
- Alphabetic
- By Inheritance
- Pack200Task
- ScalaMatchingTask
- ScalaTask
- MatchingTask
- SelectorContainer
- Task
- ProjectComponent
- Cloneable
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Pack200Task()
Value Members
-
def
XsetIgnore(arg0: String): Unit
- Definition Classes
- MatchingTask
-
def
XsetItems(arg0: String): Unit
- Definition Classes
- MatchingTask
-
def
add(arg0: FileSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addAnd(arg0: AndSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addContains(arg0: ContainsSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addContainsRegexp(arg0: ContainsRegexpSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addCustom(arg0: ExtendSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addDate(arg0: DateSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addDepend(arg0: DependSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addDepth(arg0: DepthSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addDifferent(arg0: DifferentSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addFilename(arg0: FilenameSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addMajority(arg0: MajoritySelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addModified(arg0: ModifiedSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addNone(arg0: NoneSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addNot(arg0: NotSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addOr(arg0: OrSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addPresent(arg0: PresentSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addSelector(arg0: SelectSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addSize(arg0: SizeSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addType(arg0: TypeSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
appendSelector(arg0: FileSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
final
def
bindToOwner(arg0: Task): Unit
- Definition Classes
- Task
-
def
clone(): AnyRef
- Definition Classes
- ProjectComponent → AnyRef
- Annotations
- @throws( ... )
-
def
createExclude(): NameEntry
- Definition Classes
- MatchingTask
-
def
createExcludesFile(): NameEntry
- Definition Classes
- MatchingTask
-
def
createInclude(): NameEntry
- Definition Classes
- MatchingTask
-
def
createIncludesFile(): NameEntry
- Definition Classes
- MatchingTask
-
def
createPatternSet(): PatternSet
- Definition Classes
- MatchingTask
- var destdir: Option[File]
- var effort: Int
-
def
execute(): Unit
Performs the tool creation.
Performs the tool creation.
- Definition Classes
- Pack200Task → Task
-
def
getDescription(): String
- Definition Classes
- ProjectComponent
-
def
getLocation(): Location
- Definition Classes
- ProjectComponent
-
def
getOwningTarget(): Target
- Definition Classes
- Task
-
def
getProject(): Project
- Definition Classes
- ProjectComponent
-
def
getRuntimeConfigurableWrapper(): RuntimeConfigurable
- Definition Classes
- Task
-
def
getSelectors(arg0: Project): Array[FileSelector]
- Definition Classes
- MatchingTask → SelectorContainer
-
def
getTaskName(): String
- Definition Classes
- Task
-
def
getTaskType(): String
- Definition Classes
- Task
-
def
hasSelectors(): Boolean
- Definition Classes
- MatchingTask → SelectorContainer
-
def
init(): Unit
- Definition Classes
- Task
- Annotations
- @throws( ... )
- var keepFileOrder: Boolean
- var keepModificationTime: Boolean
-
def
log(arg0: String, arg1: java.lang.Throwable, arg2: Int): Unit
- Definition Classes
- Task
-
def
log(arg0: java.lang.Throwable, arg1: Int): Unit
- Definition Classes
- Task
-
def
log(arg0: String, arg1: Int): Unit
- Definition Classes
- Task → ProjectComponent
-
def
log(arg0: String): Unit
- Definition Classes
- Task → ProjectComponent
-
def
maybeConfigure(): Unit
- Definition Classes
- Task
- Annotations
- @throws( ... )
- var packFileSuffix: String
-
final
def
perform(): Unit
- Definition Classes
- Task
-
def
reconfigure(): Unit
- Definition Classes
- Task
- var repack: Boolean
- var segmentLimit: Int
-
def
selectorCount(): Int
- Definition Classes
- MatchingTask → SelectorContainer
-
def
selectorElements(): java.util.Enumeration[FileSelector]
- Definition Classes
- MatchingTask → SelectorContainer
-
def
setCaseSensitive(arg0: Boolean): Unit
- Definition Classes
- MatchingTask
-
def
setDefaultexcludes(arg0: Boolean): Unit
- Definition Classes
- MatchingTask
-
def
setDescription(arg0: String): Unit
- Definition Classes
- ProjectComponent
-
def
setDestdir(file: File): Unit
Set the output directory
- def setDir(dir: File): Unit
-
def
setEffort(x: Int): Unit
A level from 0 (none) to 9 (max) of effort for applying Pack200
-
def
setExcludes(arg0: String): Unit
- Definition Classes
- MatchingTask
-
def
setExcludesfile(arg0: File): Unit
- Definition Classes
- MatchingTask
-
def
setFollowSymlinks(arg0: Boolean): Unit
- Definition Classes
- MatchingTask
-
def
setIncludes(arg0: String): Unit
- Definition Classes
- MatchingTask
-
def
setIncludesfile(arg0: File): Unit
- Definition Classes
- MatchingTask
-
def
setKeepFileOrder(x: Boolean): Unit
Set the flag to specify if file reordering should be performed.
Set the flag to specify if file reordering should be performed. Reordering is used to remove empty packages and improve pack200 optimization.
- x
true
to retain file ordering.false
to optimize directory structure (DEFAULT).
-
def
setKeepModificationTime(x: Boolean): Unit
If false, a single modification time is used for all contained files
-
def
setLocation(arg0: Location): Unit
- Definition Classes
- ProjectComponent
-
def
setOwningTarget(arg0: Target): Unit
- Definition Classes
- Task
-
def
setProject(arg0: Project): Unit
- Definition Classes
- MatchingTask → ProjectComponent
-
def
setRepack(r: Boolean): Unit
A flag that tells the task to pack and then unpack the source JAR file into another JAR file.
A flag that tells the task to pack and then unpack the source JAR file into another JAR file. This resulting JAR file can then be signed, packed again, compressed and distributed for securely distributed code.
-
def
setRuntimeConfigurableWrapper(arg0: RuntimeConfigurable): Unit
- Definition Classes
- Task
- def setSegmentLimit(size: Int): Unit
- def setSuffix(s: String): Unit
-
def
setTaskName(arg0: String): Unit
- Definition Classes
- Task
-
def
setTaskType(arg0: String): Unit
- Definition Classes
- Task
- var srcdir: Option[File]
The Scala compiler and reflection APIs.