diff options
Diffstat (limited to 'src/compiler/scala/tools/ant/sabbus/Make.scala')
-rw-r--r-- | src/compiler/scala/tools/ant/sabbus/Make.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/ant/sabbus/Make.scala b/src/compiler/scala/tools/ant/sabbus/Make.scala index 1908ab89b8..32ef5e0414 100644 --- a/src/compiler/scala/tools/ant/sabbus/Make.scala +++ b/src/compiler/scala/tools/ant/sabbus/Make.scala @@ -82,8 +82,7 @@ class Make extends Task { override def execute: Unit = { if (id.isEmpty) error("Mandatory attribute 'id' is not set.") if (compilerPath.isEmpty) error("Mandatory attribute 'compilerpath' is not set.") - if (destinationDir.isEmpty) error("Mandatory attribute 'destdir' is not set.") - val settings = new CompilerSettings + val settings = new Settings if (!destinationDir.isEmpty) settings.d = destinationDir.get if (!compilationPath.isEmpty) settings.classpath = compilationPath.get if (!sourcePath.isEmpty) settings.sourcepath = sourcePath.get |