summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorMatthias Zenger <mzenger@gmail.com>2004-02-18 13:31:42 +0000
committerMatthias Zenger <mzenger@gmail.com>2004-02-18 13:31:42 +0000
commit66202c13c939ce5177e9b9f4c89439124c02d48d (patch)
tree10d2b9fec467588375fe22fc7b23b5a916770976 /sources
parent8bb7d003877adc534a30e07d8aaa8ed263b09cfd (diff)
downloadscala-66202c13c939ce5177e9b9f4c89439124c02d48d.tar.gz
scala-66202c13c939ce5177e9b9f4c89439124c02d48d.tar.bz2
scala-66202c13c939ce5177e9b9f4c89439124c02d48d.zip
- removed ant 1.6 stuff.
Diffstat (limited to 'sources')
-rw-r--r--sources/scala/tools/scala4ant/AntAdaptor.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/scala/tools/scala4ant/AntAdaptor.scala b/sources/scala/tools/scala4ant/AntAdaptor.scala
index ff0e7535d1..0a5cab7248 100644
--- a/sources/scala/tools/scala4ant/AntAdaptor.scala
+++ b/sources/scala/tools/scala4ant/AntAdaptor.scala
@@ -76,7 +76,7 @@ package scala.tools.scala4ant {
def setupScalacCommand() = {
val cmd = new Commandline();
- val cp = new Path( getProject() );
+ val cp = new Path( this.project );
if( attributes.asInstanceOf[AntTask].xmarkup ) {
cmd.createArgument().setValue("-Xmarkup");
}
@@ -91,7 +91,7 @@ package scala.tools.scala4ant {
/* cp.addJavaRuntime(); */
if( compileClasspath != null ) {
- cp.add( compileClasspath );
+ cp.addExisting( compileClasspath );
}
cmd.createArgument().setValue("-classpath");