What is the current status of Eclipse Luna compatibility?

435 views
Skip to first unread message

Eugene F.

unread,
Aug 6, 2014, 5:48:36 PM8/6/14
to scala-i...@googlegroups.com
Is there a stable version of Scala IDE Plugin for Eclipse Luna?

I heard that there are problems with  Scala IDE 4.0.0 Milestone 3.

What is the current status?

Andrew Gaydenko

unread,
Aug 7, 2014, 3:49:09 AM8/7/14
to scala-i...@googlegroups.com
I'm using m3 under Luna every day (Linux). Which compatibility issues do you mean?

Eric Peters

unread,
Aug 11, 2014, 12:24:54 PM8/11/14
to scala-i...@googlegroups.com
I'm using Luna w/Milestone 3 on OSX and it seems to work great.

Som Snytt

unread,
Aug 13, 2014, 3:49:41 PM8/13/14
to scala-i...@googlegroups.com
I just installed on the "JEE" configuration and the Scala plugin breaks.

The log says:  "Unable to resolve resource org.scala-ide.sdt.core" etc etc, Chain 1, Chain 2.  Nothing that is meaningful to me.

Edit: actually the long error message scrolls off to the right about a mile: "because it is exposed to package 'javax.xml.bind' ... via two dependency chains."  Hence the two chains, I guess.

The unfortunate part is that I switched from working with Kepler and v3, so I just tried my Luna and couldn't remember if I'd already installed Scala.  My first assumption was that it thought incorrectly that I'd already installed Scala.

There is no red icon or indicator that says "Scala is installed but broken".  There is no icon at all on the "About Eclipse" box.

Sorry for the noise if there's already something on the web site or twitter telling me not to install on JEE Luna.




--
You received this message because you are subscribed to the Google Groups "Scala IDE User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/e8467936-291b-4c57-9c59-072c77a49e9a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Simon Schäfer

unread,
Aug 13, 2014, 6:12:15 PM8/13/14
to scala-i...@googlegroups.com

On 08/13/2014 09:49 PM, Som Snytt wrote:
>
> Sorry for the noise if there's already something on the web site or
> twitter telling me not to install on JEE Luna.
I heard nothing problematic about JEE Eclipse+Scala IDE therefore I
can't help you here, but you should post the full error message maybe
someone else can.

Joakim Olsson

unread,
Aug 14, 2014, 1:06:19 AM8/14/14
to scala-i...@googlegroups.com
I had exactly that problem yesterday. I uninstalled everything that was related to Scala and re-installed it and it seems to work as it should now.

/Joakim



Naftoli Gugenheim

unread,
Aug 17, 2014, 11:28:05 PM8/17/14
to scala-i...@googlegroups.com
FWIW I seem to remember having trouble with the JEE bundle on earlier versions of Eclipse, possible Luna too (though if I tried it that would have been pre-release).



Ivan L

unread,
Aug 18, 2014, 11:34:34 AM8/18/14
to scala-i...@googlegroups.com
Here is the text of the osgi error which breaks it for me as well (also on jee)

!ENTRY org.scala-ide.sdt.core 4 0 2014-08-18 11:29:30.185
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.scala-ide.sdt.core [1915]
  Bundle was not resolved because of a uses contraint violation.
  org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource org.scala-ide.sdt.core [osgi.identity; osgi.identity="org.scala-ide.sdt.core"; type="osgi.bundle"; version:Version="4.0.0.m3-2_11-201407241647-33f4f20"; singleton:="true"] because it is exposed to package 'javax.xml.bind' from resources org.eclipse.osgi [osgi.identity; osgi.identity="org.eclipse.osgi"; type="osgi.bundle"; version:Version="3.10.0.v20140606-1445"; singleton:="true"] and javax.xml.bind [osgi.identity; osgi.identity="javax.xml.bind"; type="osgi.bundle"; version:Version="2.1.9.v201005080401"] via two dependency chains.

Chain 1:
  org.scala-ide.sdt.core [osgi.identity; osgi.identity="org.scala-ide.sdt.core"; type="osgi.bundle"; version:Version="4.0.0.m3-2_11-201407241647-33f4f20"; singleton:="true"]
    require: (osgi.wiring.bundle=org.eclipse.core.runtime)
     |
    provide: osgi.wiring.bundle: org.eclipse.core.runtime
  org.eclipse.osgi [osgi.identity; osgi.identity="org.eclipse.osgi"; type="osgi.bundle"; version:Version="3.10.0.v20140606-1445"; singleton:="true"]

Chain 2:
  org.scala-ide.sdt.core [osgi.identity; osgi.identity="org.scala-ide.sdt.core"; type="osgi.bundle"; version:Version="4.0.0.m3-2_11-201407241647-33f4f20"; singleton:="true"]
    require: (&(osgi.wiring.bundle=org.scala-ide.sbt.full.library)(&(bundle-version>=0.13.0)(!(bundle-version>=0.14.0))))
     |
    provide: osgi.wiring.bundle; osgi.wiring.bundle="org.scala-ide.sbt.full.library"; bundle-version:Version="0.13.2.m3-2_11-20140724-1846"
  org.scala-ide.sbt.full.library [osgi.identity; osgi.identity="org.scala-ide.sbt.full.library"; type="osgi.bundle"; version:Version="0.13.2.m3-2_11-20140724-1846"]
    import: (osgi.wiring.package=javax.xml.bind)
     |
    export: osgi.wiring.package: javax.xml.bind
  javax.xml.bind [osgi.identity; osgi.identity="javax.xml.bind"; type="osgi.bundle"; version:Version="2.1.9.v201005080401"]
	at org.eclipse.osgi.container.Module.start(Module.java:434)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

iulian dragos

unread,
Aug 21, 2014, 11:17:42 AM8/21/14
to scala-i...@googlegroups.com
Ivan,

Could you please try out the nightly Luna build from here? It should be fixed, and it would be great to get confirmation it really is:


Others have reported on this mailing list that running `eclipse -clean` solved this problem for them.

iulian




--
You received this message because you are subscribed to the Google Groups "Scala IDE User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



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

Som Snytt

unread,
Aug 21, 2014, 1:26:14 PM8/21/14
to scala-i...@googlegroups.com
I can report that the nightly worked for me, but the milestone had not.

It came up on SO, where nightly was suggested.



Andrew Gaydenko

unread,
Aug 21, 2014, 1:34:05 PM8/21/14
to scala-i...@googlegroups.com
On Thursday, August 21, 2014 9:26:14 PM UTC+4, Som Snytt wrote:
I can report that the nightly worked for me, but the milestone had not.

It came up on SO, where nightly was suggested.

The luna branch isn't updating during three weeks https://github.com/scala-ide/scala-ide/commits/platform/luna So I was sure it is in the last milestone state. Have I missed something on luna? :)

Som Snytt

unread,
Aug 21, 2014, 2:44:04 PM8/21/14
to scala-i...@googlegroups.com
Don't laugh, but I thought I'd download the two zips and compare, but they are very different sizes, so I won't bother digging around.

Publication can be sensitive business.



--
You received this message because you are subscribed to the Google Groups "Scala IDE User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.

Naftoli Gugenheim

unread,
Aug 22, 2014, 1:17:51 AM8/22/14
to scala-i...@googlegroups.com
On Thu, Aug 21, 2014 at 2:44 PM, Som Snytt <som....@gmail.com> wrote:
Don't laugh, but I thought I'd download the two zips and compare, but they are very different sizes, so I won't bother digging around.

Meld for one makes comparing directories pretty manageable...
 

Publication can be sensitive business.



On Thu, Aug 21, 2014 at 10:34 AM, Andrew Gaydenko <andrew....@gmail.com> wrote:
On Thursday, August 21, 2014 9:26:14 PM UTC+4, Som Snytt wrote:
I can report that the nightly worked for me, but the milestone had not.

It came up on SO, where nightly was suggested.

The luna branch isn't updating during three weeks https://github.com/scala-ide/scala-ide/commits/platform/luna So I was sure it is in the last milestone state. Have I missed something on luna? :)

--
You received this message because you are subscribed to the Google Groups "Scala IDE User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/28986343-bdd2-49a9-9681-85515cb3d102%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Scala IDE User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.

Som Snytt

unread,
Aug 22, 2014, 1:49:49 AM8/22/14
to scala-i...@googlegroups.com
Mind-meld for one, the Spock utility?

It was a factor of 3 difference; I didn't think about compression ratios, but just assumed the packaged product was very different.


iulian dragos

unread,
Aug 22, 2014, 5:12:34 AM8/22/14
to scala-i...@googlegroups.com

Som Snytt

unread,
Aug 27, 2014, 5:05:17 PM8/27/14
to scala-i...@googlegroups.com
FTR, I just grabbed the nightly on my other machine (Ubuntu) and it fails with the same error.

org.osgi.framework.BundleException: Could not resolve module: org.scala-ide.sdt.core [976]

  Bundle was not resolved because of a uses contraint violation.
  org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource org.scala-ide.sdt.core [osgi.identity; osgi.identity="org.scala-ide.sdt.core"; type="osgi.bundle"; version:Version="4.0.0.nightly-2_11-201408271320-b359f7f"; singleton:="true"] because it is exposed to package 'javax.xml.bind' from resources org.eclipse.osgi [osgi.identity; osgi.identity="org.eclipse.osgi"; type="osgi.bundle"; version:Version="3.10.0.v20140606-1445"; singleton:="true"] and javax.xml.bind [osgi.identity; osgi.identity="javax.xml.bind"; type="osgi.bundle"; version:Version="2.1.9.v201005080401"] via two dependency chains.

Chain 1:
  org.scala-ide.sdt.core [osgi.identity; osgi.identity="org.scala-ide.sdt.core"; type="osgi.bundle"; version:Version="4.0.0.nightly-2_11-201408271320-b359f7f"; singleton:="true"]
    require: (osgi.wiring.bundle=org.eclipse.osgi)
     |
    provide: osgi.wiring.bundle: [org.eclipse.osgi, system.bundle]

  org.eclipse.osgi [osgi.identity; osgi.identity="org.eclipse.osgi"; type="osgi.bundle"; version:Version="3.10.0.v20140606-1445"; singleton:="true"]

Chain 2:
  org.scala-ide.sdt.core [osgi.identity; osgi.identity="org.scala-ide.sdt.core"; type="osgi.bundle"; version:Version="4.0.0.nightly-2_11-201408271320-b359f7f"; singleton:="true"]
    require: (&(osgi.wiring.bundle=org.scala-ide.sbt.full.library)(&(bundle-version>=0.13.0)(!(bundle-version>=0.14.0))))
     |
    provide: osgi.wiring.bundle; bundle-version:Version="0.13.2.nightly-2_11-20140827-1519"; osgi.wiring.bundle="org.scala-ide.sbt.full.library"
  org.scala-ide.sbt.full.library [osgi.identity; osgi.identity="org.scala-ide.sbt.full.library"; type="osgi.bundle"; version:Version="0.13.2.nightly-2_11-20140827-1519"]

    import: (osgi.wiring.package=javax.xml.bind)
     |
    export: osgi.wiring.package: javax.xml.bind
  javax.xml.bind [osgi.identity; osgi.identity="javax.xml.bind"; type="osgi.bundle"; version:Version="2.1.9.v201005080401"]
    at org.eclipse.osgi.container.Module.start(Module.java:434)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

eclipse.buildId=4.4.0.I20140606-1215
java.version=1.8.0_05
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product



Luc Bourlier

unread,
Aug 28, 2014, 10:37:03 AM8/28/14
to scala-i...@googlegroups.com
OK. I can reproduce the problem now. It is only visible with the 'JEE' favor of Eclipse. The conflicting bundle is not is the 'standard' distribution.

I'll try to rework the dependency declaration to avoid this conflict.

Cheers,
Luc
Reply all
Reply to author
Forward
0 new messages