This page is no longer maintained — Please continue to the home page at www.scala-lang.org

ant build problems [with a scala project, not building the scala compiler]

No replies
Nicholas Tung
Joined: 2009-05-19,
User offline. Last seen 42 years 45 weeks ago.
Hi all,

    I seem to be having a problem with an ant buildfile that worked earlier. The error is:

The following error occurred while executing this line:
jar:file:/home/gatoatigrado/sandbox/scala/build/pack/lib/scala-compiler.jar!/scala/tools/ant/antlib.xml:5: taskdef A class needed by class scala.tools.ant.FastScalac cannot be found: scala/ScalaObject

    Unfortunately, it's not my source, so I don't feel comfortable posting the entire thing (even though it's just a buildfile). The scala-library.jar seems to be correctly included in the path, and that file includes scala/ScalaObject.class. It's failing on a <taskdef resource="scala/tools/ant/antlib.xml" ... />.

    I'll try to reproduce the error with something that's my source; sorry if this isn't helpful. I'm building from git head, which is up to date as of now.

Thanks in advance,
Nicholas

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland