- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Netbeans scala plugin
Tue, 2009-12-15, 00:26
Hi all, has anyone experimented an issue with the final release of Netbeans 6.8?
Precisely my problem is with maven. The plugin seems to work fine with a standard scala project. But with a project in maven, it refuses to parse the code occasionally throwing exceptions of class not found like scala.collection.Seq not found.
This didn't happened in the dev version of netbeans nor in the RC2.
Cheers.
Precisely my problem is with maven. The plugin seems to work fine with a standard scala project. But with a project in maven, it refuses to parse the code occasionally throwing exceptions of class not found like scala.collection.Seq not found.
This didn't happened in the dev version of netbeans nor in the RC2.
Cheers.
Tue, 2009-12-15, 16:57
#2
Re: Netbeans scala plugin
On Tuesday 15 December 2009 18:34:08 Iulian Dragos wrote:
> scala.Seq has been renamed to Sequence and back while developing 2.8. It
> seems maven is pulling an older scala library and the compiler fails
> looking for the wrong name. Make sure you are using the same version of
> Scala in the two scenarios.
>
> iulian
Yes, to use current Scala trunk with maven I start this script every time I update
Scala dist from the trunk:
#!/bin/bash
SCALA_DIST="/wrk/dev/scala/SVN/scala/dists/latest"
mvn install:install-file -DgroupId=org.scala-lang -DartifactId=scala-compiler -Dversion=2.8.0-SNAPSHOT -Dpackaging=jar -Dfile=$SCALA_DIST/lib/scala-compiler.jar
mvn install:install-file -DgroupId=org.scala-lang -DartifactId=scala-library -Dversion=2.8.0-SNAPSHOT -Dpackaging=jar -Dfile=$SCALA_DIST/lib/scala-library.jar -
Dsources=$SCALA_DIST/src/scala-library-src.jar
mvn install:install-file -DgroupId=org.scala-lang -DartifactId=scala-swing -Dversion=2.8.0-SNAPSHOT -Dpackaging=jar -Dfile=$SCALA_DIST/lib/scala-swing.jar -
Dsources=$SCALA_DIST/src/scala-swing-src.jar
> On Tue, Dec 15, 2009 at 12:26 AM, Rodrigo Cano wrote:
Rodrigo, BTW, [scala-tools] is the nost appropriate list for such
discussion, I think.
> > Hi all, has anyone experimented an issue with the final release of
> > Netbeans 6.8?
> > Precisely my problem is with maven. The plugin seems to work fine with a
> > standard scala project. But with a project in maven, it refuses to parse
> > the code occasionally throwing exceptions of class not found like
> > scala.collection.Seq not found.
> >
> > This didn't happened in the dev version of netbeans nor in the RC2.
> >
> > Cheers.
>
iulian
On Tue, Dec 15, 2009 at 12:26 AM, Rodrigo Cano <ioniviil@gmail.com> wrote:
--
« Je déteste la montagne, ça cache le paysage »
Alphonse Allais