This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Scala IDE install cannot complete because of a conflicting dependency

8 replies
miles.daffin
Joined: 2009-08-05,
User offline. Last seen 3 years 2 days ago.
Hi,   I cannot install the latest version of the Scala IDE because I also have the latest version of the Aspect J Dev Tools installed, which comes with a more recent version of the org.eclipse.equinox.weaving.aspectj feature than the one that the Scala feature depends on. This feature is a singleton, meaning that only one version can be installed at any one time. Here is the error:   ---- org.eclipse.core.runtime.CoreException: Cannot complete the install because of a conflicting dependency.
 at org.eclipse.buckminster.aggregator.engine.RepositoryVerifier.run(RepositoryVerifier.java:143)
 at org.eclipse.buckminster.aggregator.engine.Builder.runRepositoryVerifier(Builder.java:1007)
 at org.eclipse.buckminster.aggregator.engine.Builder.run(Builder.java:545)
 at org.eclipse.buckminster.aggregator.presentation.AggregatorActionBarContributor$BuildRepoAction$1.run(AggregatorActionBarContributor.java:131)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Contains: Software being installed: all.contributed.content.feature.group 1.0.0
Contains: Only one of the following can be installed at once:
Contains: WeavingService Plug-in (Incubation) 1.0.0.200906171200 (org.eclipse.equinox.weaving.aspectj 1.0.0.200906171200)
Contains: WeavingService Plug-in (Incubation) 1.0.0.200902241436 (org.eclipse.equinox.weaving.aspectj 1.0.0.200902241436)
Contains: Cannot satisfy dependency:
Contains: From: all.contributed.content.feature.group 1.0.0
Contains: To: ch.epfl.lamp.sdt.feature.group [2.7.5.final]
Contains: Cannot satisfy dependency:
Contains: From: all.contributed.content.feature.group 1.0.0
Contains: To: org.eclipse.equinox.weaving.feature.group [1.0.0.200906171200]
Contains: Cannot satisfy dependency:
Contains: From: Scala Eclipse Plugin 2.7.5.final (ch.epfl.lamp.sdt.feature.group 2.7.5.final)
Contains: To: org.eclipse.equinox.weaving.aspectj [1.0.0.200902241436]
Contains: Cannot satisfy dependency:
Contains: From: Equinox Aspects 1.0.0.200906171200 (org.eclipse.equinox.weaving.feature.group 1.0.0.200906171200)
Contains: To: org.eclipse.equinox.weaving.aspectj [1.0.0.200906171200] ----   The scala dependency looks like this:   Name org.eclipse.equinox.weaving.aspectj
Range [1.0.0.200902241436,1.0.0.200902241436]   Is there any reason why Scala needs this precise version? If not could the range be modified to allow it to use the more recent version of org.eclipse.equinox.weaving.aspectj that I already have installed?   Thanks,   Miles Daffin
Morgan Stanley | IDEAS Practice Areas
25 Cabot Square | Canary Wharf | Floor 03
London, E14 4QA
Phone: +44 20 7677-5119
Fax: +44 20 7056-4572
Miles.Daffin@morganstanley.com
 

NOTICE: If received in error, please destroy, and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. We may monitor and store emails to the extent permitted by applicable law.

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Scala IDE install cannot complete because of a conflicting

On Wed, Aug 5, 2009 at 1:49 PM, Daffin,
Miles wrote:
> I cannot install the latest version of the Scala IDE because I also have the
> latest version of the Aspect J Dev Tools installed, which comes with a more
> recent version of the org.eclipse.equinox.weaving.aspectj feature than the
> one that the Scala feature depends on. This feature is a singleton, meaning
> that only one version can be installed at any one time. Here is the error:

This is fixed on trunk, which I appreciate might not be all that
helpful to you right now.

2.7.5.final should be compatible with AJDT 1.6.4/Eclipse 3.4.2 and
with AJDT 1.7.0/Eclipse 3.5. I'm afraid all my bandwidth is taken up
with work for 2.8.0, so the chances of there being an intermediate
release are extremely slim.

Cheers,

Miles

miles.daffin
Joined: 2009-08-05,
User offline. Last seen 3 years 2 days ago.
RE: Scala IDE install cannot complete because of a conflicting

Hi Miles,

Will this release be in the nightly build update site?

http://www.scala-lang.org/scala-eclipse-plugin-nightly

Cheers,

Miles

-----Original Message-----
From: Miles Sabin [mailto:miles@milessabin.com]
Sent: 05 August 2009 14:27
To: Daffin, Miles (IDEAS)
Cc: scala-tools@listes.epfl.ch; Thomas Hallgren
Subject: Re: [scala-tools] Scala IDE install cannot complete because of a conflicting dependency

On Wed, Aug 5, 2009 at 1:49 PM, Daffin,
Miles wrote:
> I cannot install the latest version of the Scala IDE because I also
> have the latest version of the Aspect J Dev Tools installed, which
> comes with a more recent version of the
> org.eclipse.equinox.weaving.aspectj feature than the one that the
> Scala feature depends on. This feature is a singleton, meaning that only one version can be installed at any one time. Here is the error:

This is fixed on trunk, which I appreciate might not be all that helpful to you right now.

2.7.5.final should be compatible with AJDT 1.6.4/Eclipse 3.4.2 and with AJDT 1.7.0/Eclipse 3.5. I'm afraid all my bandwidth is taken up with work for 2.8.0, so the chances of there being an intermediate release are extremely slim.

Cheers,

Miles

--
Miles Sabin
tel: +44 (0)7813 944 528
skype: milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--------------------------------------------------------------------------
NOTICE: If received in error, please destroy, and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. We may monitor and store emails to the extent permitted by applicable law.

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Scala IDE install cannot complete because of a conflicting

On Wed, Aug 5, 2009 at 2:56 PM, Daffin,
Miles wrote:
> Will this release be in the nightly build update site?
>
> http://www.scala-lang.org/scala-eclipse-plugin-nightly

Yes, but bear in mind that this is the tip of the development branch
and shouldn't be treated as stable. The IDE is developed in lockstep
with core Scala, so it also includes the tip of the development branch
of the language and standard libraries ... I think it's very unlikely
that that's what you want.

OTOH, it will show you how AJDT compatibility will be handled from
2.8.0 onwards. The Equinox Aspects/JDT Weaving features have been
separated out so that they can be shared between AJDT and the Scala
IDE.

Cheers,

Miles

miles.daffin
Joined: 2009-08-05,
User offline. Last seen 3 years 2 days ago.
RE: Scala IDE install cannot complete because of a conflicting

OK. I will wait for next release, or may hack the metadata locally to relax the dependency constraint.

When do you think the new, 'AJDT friendly' release will be available?

Thanks,

Miles

-----Original Message-----
From: Miles Sabin [mailto:miles@milessabin.com]
Sent: 05 August 2009 15:26
To: Daffin, Miles (IDEAS)
Cc: scala-tools@listes.epfl.ch; Thomas Hallgren
Subject: Re: [scala-tools] Scala IDE install cannot complete because of a conflicting dependency

On Wed, Aug 5, 2009 at 2:56 PM, Daffin,
Miles wrote:
> Will this release be in the nightly build update site?
>
> http://www.scala-lang.org/scala-eclipse-plugin-nightly

Yes, but bear in mind that this is the tip of the development branch and shouldn't be treated as stable. The IDE is developed in lockstep with core Scala, so it also includes the tip of the development branch of the language and standard libraries ... I think it's very unlikely that that's what you want.

OTOH, it will show you how AJDT compatibility will be handled from 2.8.0 onwards. The Equinox Aspects/JDT Weaving features have been separated out so that they can be shared between AJDT and the Scala IDE.

Cheers,

Miles

--
Miles Sabin
tel: +44 (0)7813 944 528
skype: milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--------------------------------------------------------------------------
NOTICE: If received in error, please destroy, and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. We may monitor and store emails to the extent permitted by applicable law.

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Scala IDE install cannot complete because of a conflicting

On Wed, Aug 5, 2009 at 4:16 PM, Daffin,
Miles wrote:
> OK. I will wait for next release, or may hack the metadata locally to relax the dependency constraint.
>
> When do you think the new, 'AJDT friendly' release will be available?

Simultaneously with the 2.8.0 release of core Scala. Current best
guesses are end September/beginning October for the first release
candidate.

Cheers,

Miles

Arioch
Joined: 2009-08-06,
User offline. Last seen 42 years 45 weeks ago.
Re: Scala IDE install cannot complete because of a conflicting

> Simultaneously with the 2.8.0 release of core Scala. Current best

Ok, when we can expect AJDT-friendly nightly build ? :-)

Arioch
Joined: 2009-08-06,
User offline. Last seen 42 years 45 weeks ago.
Re: Scala IDE install cannot complete because of a conflicting

> 2.7.5.final should be compatible with AJDT 1.6.4/Eclipse 3.4.2 and
> with AJDT 1.7.0/Eclipse 3.5.

Sounds like plugins depends from AJDT jars.
But really it comes with its own weaving jars.
And is very narrow dependent on their build-id

And those jars do not work on Pulsar (Eclipse 3.5 for Java and J2ME) for Win32
downloaded recently.
Weaving jar runs fine, but hooking jar runs no way, when manually starting from
plugin registry it gives empty-decription error "fragment plugin cannot be
started"

At the same time, MTJ's hooking works ok.
May it be that JDT hooks are mututally exclusive ?

I've downloaded Eclipse + Java w/o J2ME, would look if it makes a difference
but i've doubt.

Currently it just does not work :-/

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Re: Scala IDE install cannot complete because of a conflic

On Thu, Aug 6, 2009 at 2:11 PM, Arioch wrote:
>> Simultaneously with the 2.8.0 release of core Scala. Current best
>
> Ok, when we can expect AJDT-friendly nightly build ? :-)

Bearing in mind that the nightlies are development builds and
shouldn't be relied on to function as you'd expect or even at all ...

... right now. It's the setup I use for developing the Scala IDE itself.

Install AJDT 2.0.0 first, then when you install the Scala IDE don't
select the JDT Weaving feature that it offers: it'll use the one that
was installed along with AJDT.

There's still room for improvement here. I actually don't think I'm
gaining very much from the JDT specific weaving part of the AJDT
feature, really only Equinox Aspects. So I think that before 2.8.0 is
released I'll remove the JDT specific dependency at which point the
overlap is just Equinox Aspects and hopefully that will be easier to
manage.

Cheers,

Miles

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland