summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/ant/Pack200Task.scala
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2011-07-20 21:52:50 +0000
committermichelou <michelou@epfl.ch>2011-07-20 21:52:50 +0000
commitc0ddb8f941dcb4ec0ca0aae0739406352e17cdfa (patch)
treed2107fa9c923dbd53f1c17cd8d4b6159b15b7768 /src/compiler/scala/tools/ant/Pack200Task.scala
parent628c0265aaeaab8ef84dfc623d45119972f83656 (diff)
downloadscala-c0ddb8f941dcb4ec0ca0aae0739406352e17cdfa.tar.gz
scala-c0ddb8f941dcb4ec0ca0aae0739406352e17cdfa.tar.bz2
scala-c0ddb8f941dcb4ec0ca0aae0739406352e17cdfa.zip
4th round of clean ups (see r25293, r25285, r25...
4th round of clean ups (see r25293, r25285, r25292)
Diffstat (limited to 'src/compiler/scala/tools/ant/Pack200Task.scala')
-rw-r--r--src/compiler/scala/tools/ant/Pack200Task.scala29
1 files changed, 13 insertions, 16 deletions
diff --git a/src/compiler/scala/tools/ant/Pack200Task.scala b/src/compiler/scala/tools/ant/Pack200Task.scala
index 5d74cff862..ff18ddff91 100644
--- a/src/compiler/scala/tools/ant/Pack200Task.scala
+++ b/src/compiler/scala/tools/ant/Pack200Task.scala
@@ -6,8 +6,6 @@
** |/ **
\* */
-// $Id$
-
package scala.tools.ant
import java.io.{BufferedOutputStream, File, FileInputStream,
@@ -18,18 +16,17 @@ import java.util.jar.Pack200.Packer._
import org.apache.tools.ant.{BuildException, DirectoryScanner}
import org.apache.tools.ant.types.FileSet
-/** <p>
- * An Ant task that applies the pack200 encoding to a JAR file.
- * </p><ul>
- * <li>destdir (mandatory),</li>
- * <li>dir (defaults to project's basedir),</li>
- * <li>effort (default 9),</li>
- * <li>keepFileOrder (default false),</li>
- * <li>keepModificationTime (default false),</li>
- * <li>repack (default false),</li>
- * <li>segmentLimit (default -1 for no limit) </li>
- * <li>suffix (default ".pack")</li>
- * </ul>
+/** An [[http://ant.apache.org 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")
*
* @author James Matlik
*/
@@ -69,8 +66,8 @@ class Pack200Task extends ScalaMatchingTask {
/** Set the flag to specify if file reordering should be performed. Reordering
* is used to remove empty packages and improve pack200 optimization.
* @param keep
- * true to retain file ordering.
- * false to optimize directory structure (DEFAULT). */
+ * `'''true'''` to retain file ordering.
+ * `'''false'''` to optimize directory structure (DEFAULT). */
def setKeepFileOrder(x: Boolean) { keepFileOrder = x }
/** If false, a single modification time is used for all contained files */