Packages

c

scala.tools.ant

Pack200Task

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 (default false),
  • keepModificationTime (default false),
  • repack (default false),
  • segmentLimit (default -1 for no limit),
  • suffix (default ".pack")
Source
Pack200Task.scala
Linear Supertypes
ScalaMatchingTask, ScalaTask, MatchingTask, SelectorContainer, Task, ProjectComponent, java.lang.Cloneable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Pack200Task
  2. ScalaMatchingTask
  3. ScalaTask
  4. MatchingTask
  5. SelectorContainer
  6. Task
  7. ProjectComponent
  8. Cloneable
  9. AnyRef
  10. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Pack200Task()

Value Members

  1. def XsetIgnore(arg0: String): Unit
    Definition Classes
    MatchingTask
  2. def XsetItems(arg0: String): Unit
    Definition Classes
    MatchingTask
  3. def add(arg0: FileSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  4. def addAnd(arg0: AndSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  5. def addContains(arg0: ContainsSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  6. def addContainsRegexp(arg0: ContainsRegexpSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  7. def addCustom(arg0: ExtendSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  8. def addDate(arg0: DateSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  9. def addDepend(arg0: DependSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  10. def addDepth(arg0: DepthSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  11. def addDifferent(arg0: DifferentSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  12. def addFilename(arg0: FilenameSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  13. def addMajority(arg0: MajoritySelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  14. def addModified(arg0: ModifiedSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  15. def addNone(arg0: NoneSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  16. def addNot(arg0: NotSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  17. def addOr(arg0: OrSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  18. def addPresent(arg0: PresentSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  19. def addSelector(arg0: SelectSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  20. def addSize(arg0: SizeSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  21. def addType(arg0: TypeSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  22. def appendSelector(arg0: FileSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  23. final def bindToOwner(arg0: Task): Unit
    Definition Classes
    Task
  24. def clone(): AnyRef
    Definition Classes
    ProjectComponent → AnyRef
    Annotations
    @throws( ... )
  25. def createExclude(): NameEntry
    Definition Classes
    MatchingTask
  26. def createExcludesFile(): NameEntry
    Definition Classes
    MatchingTask
  27. def createInclude(): NameEntry
    Definition Classes
    MatchingTask
  28. def createIncludesFile(): NameEntry
    Definition Classes
    MatchingTask
  29. def createPatternSet(): PatternSet
    Definition Classes
    MatchingTask
  30. var destdir: Option[File]
  31. var effort: Int
  32. def execute(): Unit

    Performs the tool creation.

    Performs the tool creation.

    Definition Classes
    Pack200Task → Task
  33. def getDescription(): String
    Definition Classes
    ProjectComponent
  34. def getLocation(): Location
    Definition Classes
    ProjectComponent
  35. def getOwningTarget(): Target
    Definition Classes
    Task
  36. def getProject(): Project
    Definition Classes
    ProjectComponent
  37. def getRuntimeConfigurableWrapper(): RuntimeConfigurable
    Definition Classes
    Task
  38. def getSelectors(arg0: Project): Array[FileSelector]
    Definition Classes
    MatchingTask → SelectorContainer
  39. def getTaskName(): String
    Definition Classes
    Task
  40. def getTaskType(): String
    Definition Classes
    Task
  41. def hasSelectors(): Boolean
    Definition Classes
    MatchingTask → SelectorContainer
  42. def init(): Unit
    Definition Classes
    Task
    Annotations
    @throws( ... )
  43. var keepFileOrder: Boolean
  44. var keepModificationTime: Boolean
  45. def log(arg0: String, arg1: java.lang.Throwable, arg2: Int): Unit
    Definition Classes
    Task
  46. def log(arg0: java.lang.Throwable, arg1: Int): Unit
    Definition Classes
    Task
  47. def log(arg0: String, arg1: Int): Unit
    Definition Classes
    Task → ProjectComponent
  48. def log(arg0: String): Unit
    Definition Classes
    Task → ProjectComponent
  49. def maybeConfigure(): Unit
    Definition Classes
    Task
    Annotations
    @throws( ... )
  50. var packFileSuffix: String
  51. final def perform(): Unit
    Definition Classes
    Task
  52. def reconfigure(): Unit
    Definition Classes
    Task
  53. var repack: Boolean
  54. var segmentLimit: Int
  55. def selectorCount(): Int
    Definition Classes
    MatchingTask → SelectorContainer
  56. def selectorElements(): java.util.Enumeration[FileSelector]
    Definition Classes
    MatchingTask → SelectorContainer
  57. def setCaseSensitive(arg0: Boolean): Unit
    Definition Classes
    MatchingTask
  58. def setDefaultexcludes(arg0: Boolean): Unit
    Definition Classes
    MatchingTask
  59. def setDescription(arg0: String): Unit
    Definition Classes
    ProjectComponent
  60. def setDestdir(file: File): Unit

    Set the output directory

  61. def setDir(dir: File): Unit
  62. def setEffort(x: Int): Unit

    A level from 0 (none) to 9 (max) of effort for applying Pack200

  63. def setExcludes(arg0: String): Unit
    Definition Classes
    MatchingTask
  64. def setExcludesfile(arg0: File): Unit
    Definition Classes
    MatchingTask
  65. def setFollowSymlinks(arg0: Boolean): Unit
    Definition Classes
    MatchingTask
  66. def setIncludes(arg0: String): Unit
    Definition Classes
    MatchingTask
  67. def setIncludesfile(arg0: File): Unit
    Definition Classes
    MatchingTask
  68. 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).

  69. def setKeepModificationTime(x: Boolean): Unit

    If false, a single modification time is used for all contained files

  70. def setLocation(arg0: Location): Unit
    Definition Classes
    ProjectComponent
  71. def setOwningTarget(arg0: Target): Unit
    Definition Classes
    Task
  72. def setProject(arg0: Project): Unit
    Definition Classes
    MatchingTask → ProjectComponent
  73. 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.

  74. def setRuntimeConfigurableWrapper(arg0: RuntimeConfigurable): Unit
    Definition Classes
    Task
  75. def setSegmentLimit(size: Int): Unit
  76. def setSuffix(s: String): Unit
  77. def setTaskName(arg0: String): Unit
    Definition Classes
    Task
  78. def setTaskType(arg0: String): Unit
    Definition Classes
    Task
  79. var srcdir: Option[File]