summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorGilles Dubochet <gilles.dubochet@epfl.ch>2006-01-09 18:22:46 +0000
committerGilles Dubochet <gilles.dubochet@epfl.ch>2006-01-09 18:22:46 +0000
commit04b5daba99525a1bdeede15e1849b36fc47ae637 (patch)
treee01de17704972acf1a3ac57ffa69528670120ea9 /src/compiler
parent58175ab80908012e6eb231dbddd42e13069c5877 (diff)
downloadscala-04b5daba99525a1bdeede15e1849b36fc47ae637.tar.gz
scala-04b5daba99525a1bdeede15e1849b36fc47ae637.tar.bz2
scala-04b5daba99525a1bdeede15e1849b36fc47ae637.zip
ant/ScalaTool is now compatible with Java 1.4.
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/ant/ScalaTool.scala14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/compiler/scala/tools/ant/ScalaTool.scala b/src/compiler/scala/tools/ant/ScalaTool.scala
index 9e9e8dd309..cb6d67c194 100644
--- a/src/compiler/scala/tools/ant/ScalaTool.scala
+++ b/src/compiler/scala/tools/ant/ScalaTool.scala
@@ -32,9 +32,9 @@ package scala.tools.ant {
* <li>copyright,</li>
* <li>classpath,</li>
* <li>properties,</li>
- * <li>javaFlags,</li>
- * <li>toolFlags,</li>
- * <li>genericFile.</li></ul>
+ * <li>javaflags,</li>
+ * <li>toolflags,</li>
+ * <li>genericfile.</li></ul>
*
* @author Gilles Dubochet */
class ScalaTool extends MatchingTask {
@@ -150,17 +150,17 @@ package scala.tools.ant {
/** Sets the version attribute. Used by Ant.
* @param input The value of <code>version</code>. */
- def setJavaFlags(input: String) =
+ def setJavaflags(input: String) =
javaFlags = input
/** Sets the version attribute. Used by Ant.
* @param input The value of <code>version</code>. */
- def setToolFlags(input: String) =
+ def setToolflags(input: String) =
toolFlags = input
/** Sets the version attribute. Used by Ant.
* @param input The value of <code>version</code>. */
- def setGenericFile(input: File) =
+ def setGenericfile(input: File) =
genericFile = Some(input)
/******************************************************************************\
@@ -181,7 +181,7 @@ package scala.tools.ant {
/** Gets the value of the classpath attribute in a Scala-friendly form.
* @returns The class path as a list of files. */
private def getWinClasspath: String =
- classpath.map(.replace("/", "\\")).
+ classpath.map(.replace('/', '\\')).
mkString("", ";", "")
/** Gets the value of the classpath attribute in a Scala-friendly form.