- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
ant build problems [with a scala project, not building the scala compiler]
Tue, 2009-06-02, 23:37
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
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