Damn, I must have done something wrong when I updated my master. git
did not create these source folders. After creating a new master the
The type is correctly highlighted/linked. Nevertheless eclipse shows
this error. A clean didn't solve the issue. Some suggestions on this?
> Hi Simon,
> On Tue, Sep 18, 2012 at 2:21 PM, sschaef <m...@antoras.de
> <mailto:m...@antoras.de>> wrote:
> I'm still unable to compile the project with 2.10 (2.9 works fine)
> an the latest nightly build
> (2.1.0.nightly-2_10-201209180319-156768e). Errors:
> [ERROR]
> /home/antoras/dev/Scala/scala-ide/org.scala-ide.sdt.core/src/scala/tools/ec lipse/ScalaPresentationCompiler.scala:151:
> error: not found: value InvalidCompanions
> [ERROR] case e @ InvalidCompanions(c1, c2) =>
> [ERROR] ^
> [ERROR]
> /home/antoras/dev/Scala/scala-ide/org.scala-ide.sdt.core/src/scala/tools/ec lipse/ScalaPresentationCompiler.scala:152:
> error: not found: value c1
> [WARNING] reporter.warning(c1.pos, e.getMessage)
> [INFO] ^
> [ERROR]
> /home/antoras/dev/Scala/scala-ide/org.scala-ide.sdt.core/src/scala/tools/ec lipse/javaelements/ScalaOverrideIndicatorBuilder.scala:46:
> error: too many arguments for constructor AnnotationInfo:
> ()ScalaOverrideIndicatorBuilder.this.AnnotationInfo
> [ERROR] case class ScalaIndicator(scu: ScalaCompilationUnit,
> text: String, base: Symbol, val isOverwrite: Boolean)
> [ERROR] ^
> [ERROR]
> /home/antoras/dev/Scala/scala-ide/org.scala-ide.sdt.core/src/scala/tools/ec lipse/javaelements/ScalaStructureBuilder.scala:51:
> error: not found: type InvalidCompanions
> [ERROR] case e: InvalidCompanions => NoSymbol
> [ERROR] ^
> [ERROR]
> /home/antoras/dev/Scala/scala-ide/org.scala-ide.sdt.core/src/scala/tools/ec lipse/javaelements/ScalaStructureBuilder.scala:789:
> error: class AnnotationInfo is abstract; cannot be instantiated
> [ERROR] val handle = new Annotation(parentHandle, name)
> [ERROR] ^
> [ERROR]
> /home/antoras/dev/Scala/scala-ide/org.scala-ide.sdt.core/src/scala/tools/ec lipse/javaelements/ScalaStructureBuilder.scala:860:
> error: value NO_MEMBER_VALUE_PAIRS is not a member of object
> ScalaStructureBuilder.this.Annotation
> [ERROR] info.members = if(ann.assocs.isEmpty)
> Annotation.NO_MEMBER_VALUE_PAIRS else getMemberValuePairs(handle,
> ann.assocs)
> [ERROR] ^
> [ERROR]
> /home/antoras/dev/Scala/scala-ide/org.scala-ide.sdt.core/src/scala/tools/ec lipse/javaelements/ScalaStructureBuilder.scala:860:
> error: type mismatch;
> [ERROR] found : ScalaStructureBuilder.this.Annotation
> [ERROR] (which expands to)
> ScalaStructureBuilder.this.AnnotationInfo
> [ERROR] required: org.eclipse.jdt.internal.core.JavaElement
> [ERROR] info.members = if(ann.assocs.isEmpty)
> Annotation.NO_MEMBER_VALUE_PAIRS else getMemberValuePairs(handle,
> ann.assocs)
> [ERROR]
> ^
> What to do?
> The problem is a change in the Scala compiler (removal of
> InvalidCompanion), and that broke source compatibility between 2.9 and
> 2.10. If you check the sdt.core project, you'll notice that now it has
> two source folders: src and src-2.9. Remove src-2.9 and add src-2.10
> when building using 2.10 inside the IDE.
> Hope this helps,
> iulian
> On Monday, September 17, 2012 4:05:53 PM UTC+2, Eugene Burmako wrote:
> It's my pleasure to confirm that
> Scala plugin version: 2.1.0.nightly-2_10-__201209171334-156768e
> Scala compiler version: 2.10.0.v20120916-145049-__112009844b
> Scala library version: 2.10.0.v20120916-145049-__112009844b
> Eclipse version: 3.6.2.v201102101200
> works with trunk!!
> On 17 September 2012 16:02, iulian dragos <jagu...@gmail.com>
> wrote:
> On Mon, Sep 17, 2012 at 2:29 PM, iulian dragos
> <jagu...@gmail.com> wrote:
> On Mon, Sep 17, 2012 at 2:10 PM, Eugene Burmako
> <eugene....@epfl.ch> wrote:
> I see. I renamed AnnotationInfo in the API into
> just Annotation, and this is the fallout.
> I think Annotation is a very good name for Scala
> reflection, so I'd suggest to define an alias for
> org.eclipse.jface.text.source.__Annotation in
> ScalaOverrideIndicatorBuilder.__scala. Could you,
> please, do that and try triggering the nightly?
> Having a working debugger would be a great asset
> during the upcoming release hassle.
> There are a couple of conflicts, and I'm afraid the
> rename will cause a lot of trouble. Type Annotation is
> defined (in my workspace alone) in 7 places:
> - java.lang.annotation
> - java.text
> - scala.annotation
> - org.eclipse.jdt.core.dom
> - org.eclipse.jface.text.source
> - scalariform.parser.Annotation
> - xsbti.api
> I'll fix the imports, but it will take a while.
> The nightly is back up, please update!
> iulian
> iulian
> On 17 September 2012 14:02, Mirko Stocker
> <m...@misto.ch> wrote:
> On Monday 17 September 2012 04:56:43 Eugene
> Burmako wrote:
> > Hi folks, why are there no new nightlies for
> the last three days?
> It looks like it doesn't compile because of
> some changes to AnnotationInfo:
> https://jenkins.scala-
> ide.org:8496/jenkins/view/__Scala%20IDE%202.1-2.10(trunk)/__job/scala-ide-n ightly-
> master-trunk/584/console
> <http://ide.org:8496/jenkins/view/Scala%20IDE%202.1-2.10%28trunk%29/jo...>
> -- Mirko
> --
> « Je déteste la montagne, ça cache le paysage »
> Alphonse Allais
> --
> « Je déteste la montagne, ça cache le paysage »
> Alphonse Allais
> --
> « Je déteste la montagne, ça cache le paysage »
> Alphonse Allais