nightlies?

84 views
Skip to first unread message

Eugene Burmako

unread,
Sep 17, 2012, 7:56:43 AM9/17/12
to Scala IDE User
Hi folks, why are there no new nightlies for the last three days? The
latest trunk makes presentation compiler bundled with Scala IDE crash,
which means no debugging.

Mirko Stocker

unread,
Sep 17, 2012, 8:02:47 AM9/17/12
to scala-i...@googlegroups.com
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-nightly-
master-trunk/584/console

-- Mirko

Eugene Burmako

unread,
Sep 17, 2012, 8:10:46 AM9/17/12
to scala-i...@googlegroups.com
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.

Eugene Burmako

unread,
Sep 17, 2012, 8:15:22 AM9/17/12
to scala-i...@googlegroups.com, Josh Suereth
Also, is there a way for me to subscribe to Scala IDE nightly failures? I've seen that it's possible via RSS, but I'd prefer email.

@Josh maybe we could include Scala IDE nightly into the community build? Yeah speaking of the community build. Is there a way to subscribe to its failures as well?

iulian dragos

unread,
Sep 17, 2012, 8:29:01 AM9/17/12
to scala-i...@googlegroups.com
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.

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-nightly-
master-trunk/584/console


-- Mirko




--
« Je déteste la montagne, ça cache le paysage »
Alphonse Allais

iulian dragos

unread,
Sep 17, 2012, 8:29:25 AM9/17/12
to scala-i...@googlegroups.com, Josh Suereth
On Mon, Sep 17, 2012 at 2:15 PM, Eugene Burmako <eugene....@epfl.ch> wrote:
Also, is there a way for me to subscribe to Scala IDE nightly failures? I've seen that it's possible via RSS, but I'd prefer email.

I added your email to failures for the 2.10 nightly.
 

@Josh maybe we could include Scala IDE nightly into the community build? Yeah speaking of the community build. Is there a way to subscribe to its failures as well?

On 17 September 2012 14:10, 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.

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-nightly-
master-trunk/584/console


-- Mirko


Eugene Burmako

unread,
Sep 17, 2012, 8:52:02 AM9/17/12
to scala-i...@googlegroups.com
Could you let me know which of those Annotation imports present problems?

If there's too much hassle with the new name for AnnotationInfo, maybe it'd be the best to rename it back.

Josh Suereth

unread,
Sep 17, 2012, 9:41:36 AM9/17/12
to Eugene Burmako, scala-i...@googlegroups.com
Would love to have the IDE nightly in community build, but have to finish maven support.

The community build is here if you want to subscribe:  https://scala-webapps.epfl.ch/jenkins/job/community-nightly/

iulian dragos

unread,
Sep 17, 2012, 10:02:14 AM9/17/12
to scala-i...@googlegroups.com
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-nightly-
master-trunk/584/console


-- Mirko




--
« Je déteste la montagne, ça cache le paysage »
Alphonse Allais

Eugene Burmako

unread,
Sep 17, 2012, 10:05:48 AM9/17/12
to scala-i...@googlegroups.com
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!!

sschaef

unread,
Sep 18, 2012, 8:21:03 AM9/18/12
to scala-i...@googlegroups.com
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/eclipse/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/eclipse/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/eclipse/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/eclipse/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/eclipse/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/eclipse/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/eclipse/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?

iulian dragos

unread,
Sep 18, 2012, 9:39:51 AM9/18/12
to scala-i...@googlegroups.com
Hi Simon,

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

Simon Schäfer

unread,
Sep 18, 2012, 10:34:07 AM9/18/12
to scala-i...@googlegroups.com
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
old errors disappeared, but a new one occurred:

not found: type
AnnotationPreferenceWithForegroundColourStyle SemanticHighlightingAnnotations.scala /org.scala-ide.sdt.core/src/scala/tools/eclipse/semantichighlighting line
50 Scala Problem

The type is correctly highlighted/linked. Nevertheless eclipse shows
this error. A clean didn't solve the issue. Some suggestions on this?
> 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,
> ide.org:8496/jenkins/view/__Scala%20IDE%202.1-2.10(trunk)/__job/scala-ide-nightly-
> master-trunk/584/console
> <http://ide.org:8496/jenkins/view/Scala%20IDE%202.1-2.10%28trunk%29/job/scala-ide-nightly-master-trunk/584/console>

Simon Schäfer

unread,
Sep 18, 2012, 10:41:12 AM9/18/12
to scala-i...@googlegroups.com
Ok, after restarting eclipse+cleaning the project. The error
disappeared.

Thanks for help.
Simon

iulian dragos

unread,
Sep 18, 2012, 11:00:44 AM9/18/12
to scala-i...@googlegroups.com
On Tue, Sep 18, 2012 at 4:41 PM, Simon Schäfer <ma...@antoras.de> wrote:
Ok, after restarting eclipse+cleaning the project. The error disappeared.

Great! I didn't have any ideas on the last one :)
Reply all
Reply to author
Forward
0 new messages