Browse - Programming Tips - What is causing this warning when I compile my project:

Date: 2012nov19
Language: Scala
Product: ant

Q.  What is causing this warning when I compile my project:
Cannot find annotation method 'bytes()' in type 'ScalaSignature'

A.  You need to include the Scala libary with your Java code.

So if you are using Ant add something like:

<javac ...> ... <classpath refid="scala-build-classpath"/> </javac>
to your <javac>