How to get Scala plugin and AJDT to be installed in same Eclipse - scala

I get an error when trying to install both AJDT and Scala 2.7.5 plugin into Eclipse 3.5.
I remember seeing a message at one point that there was a known problem with the two being installed, and the solution was to install a pre-release version of Scala plugin, from May I believe, then install AJDT.
But, I don't remember which version and I can't find a link to download the older pre-release version.
So, I am wondering if someone knows how I can get both installed.
Thank you.
Edit:
I tried it just now and got this error, so AJDT 1.7.0 won't work. :(
Cannot complete the install because of a conflicting dependency.
Software being installed: Scala Eclipse Plugin 2.7.5.final (ch.epfl.lamp.sdt.feature.group 2.7.5.final)
Software being installed: AspectJ Development Tools 2.0.0.e35x-20090624-1600 (org.eclipse.ajdt.feature.group 2.0.0.e35x-20090624-1600)
Only one of the following can be installed at once:
JDT Weaving 2.0.0.e35x-20090624-1600 (org.eclipse.contribution.weaving.jdt 2.0.0.e35x-20090624-1600)
JDT Weaving 1.6.4.20090313172428 (org.eclipse.contribution.weaving.jdt 1.6.4.20090313172428)
Cannot satisfy dependency:
From: Scala Eclipse Plugin 2.7.5.final (ch.epfl.lamp.sdt.feature.group 2.7.5.final)
To: org.eclipse.contribution.weaving.jdt [1.6.4.20090313172428]
Cannot satisfy dependency:
From: AspectJ Development Tools 2.0.0.e35x-20090624-1600 (org.eclipse.ajdt.feature.group 2.0.0.e35x-20090624-1600)
To: org.eclipse.contribution.weaving.jdt [2.0.0.e35x-20090624-1600]

According to this thread,
2.7.5.final is compatible with AJDT 1.7.0 on Eclipse 3.5.
If you have AJDT (AspectJ Development Tools) 2.0.x, could you try to downgrade to 1.7.0 as suggested in this thread?
As the OP (James Black) himself details in the comments, both AJDT versions are actually 2.0!
From "AJDT 2.0.0 - New and Noteworthy":
Release for AJDT targeting Eclipse 3.5: 2.0.0_e35x2009XXXXXX
Release for AJDT targeting Eclipse 3.4: 2.0.0_e34x2009XXXXXX
So this means that AJDT 1.6.5 has been renamed AJDT 2.0.0_e34x and AJDT 1.7.0 has been renamed AJDT 2.0.0_e35x.
Although this is potentially confusing in the short term, we believe in the long term, this will be more informative and users will be able to read the version and immediately know which Eclipse version it targets and also what feature level it contains.
To complete this answer with the OP's feedback:
AJDT update site
"Eclipse Galileo, AJDT, Scala Eclipse plugin 2.7.5"
Hmm ... if you can live with one of the 1.7.0 AJDT builds you should be OK.
Cheers, Miles
Thanks for the tip - it works!
I used ajdt_1.7.0.20090513085548_archive.zip from the AJDT downloads.
cheers Porter

Here is the message I couldn't find, looking for AJDT 1.7 was the help I needed:
http://www.nabble.com/Eclipse-Galileo,-AJDT,-Scala-Eclipse-plugin-2.7.5-td24357850.html
You can get the file from:
http://eclipse.ialto.org/tools/ajdt/35/dev/update/
I unzipped this zip file into the Eclipse directory, then installed Scala 1.7.5.

I have AJDT 2.0.0 installed, and when trying to install Scala 2.7.5.final get this message:
Only one of the following can be installed at once:
JDT Weaving 2.0.0.e35x-20090624-1600 (org.eclipse.contribution.weaving.jdt 2.0.0.e35x-20090624-1600)
JDT Weaving 1.6.4.20090313172428 (org.eclipse.contribution.weaving.jdt 1.6.4.20090313172428)
This is because the Scala plugin requires 1.6.4. If you downgrade to that version of AJDT you may be ok.

Related

Installing AntlrDT on Eclipse Oxygen.3a Release (4.7.3a): "The installation cannot be completed as requested"

I've just tried to install AntrlDT, StringTemplateDT and XVisitorDT on Eclipse from the update site http://www.certiv.net/updates/.
However, Eclipse tells me "The installation cannot be completed as requested" (screenshot below). When I uncheck the proposed solutions, I can see the reasons for the failure:
Cannot complete the install because one or more required items could not be found.
Software being installed: StringTemplateDT 4.9.0.20190203-0050 (net.certiv.stdt.feature.feature.group 4.9.0.20190203-0050)
Missing requirement: Dsl Editor Core 0.9.0.20190203-0048 (net.certiv.dsl.core 0.9.0.20190203-0048) requires 'bundle org.eclipse.core.runtime 3.15.100' but it could not be found
Cannot satisfy dependency:
From: Dsl Editor UI 0.9.0.20190203-0048 (net.certiv.dsl.ui 0.9.0.20190203-0048)
To: bundle net.certiv.dsl.core 0.9.0
Cannot satisfy dependency:
From: ST Core 4.9.0.20190203-0050 (net.certiv.stdt.core 4.9.0.20190203-0050)
To: bundle net.certiv.dsl.ui 0.9.0
Cannot satisfy dependency:
From: StringTemplateDT 4.9.0.20190203-0050 (net.certiv.stdt.feature.feature.group 4.9.0.20190203-0050)
To: net.certiv.stdt.core [4.9.0.20190203-0050]
so it seems some components are missing from the update site and this is a matter for them to fix, but I find the messages hard to understand. Is this the correct interpretation?
I am running Eclipse Oxygen.3a Release (4.7.3a).
I found the same problem with eclipse photon.
The components specified in your question are not installed because they require the plugin org.eclipse.core.runtime 3.15.100
The fact is that Eclipse Oxygen/Photon install plugin version 3.14
I ask Eclipse Community Forums about how to upgrade org.eclipse.core.runtime to 3.15 in my Eclipse version (see question).
They suggest instead to install last versions of eclipse (i.e. 2019-03) which come with plugin version 3.15.200
I installed new Eclipse and finally I could install AntlrDT successfully

not able to install Liferay with eclipse

I am trying to get started with Liferay with eclipse. So while installing the plugin I am getting error saying 'Can not complete because one or more required items can not be found'
Cannot complete the install because one or more required items could not be found.
Software being installed: Liferay IDE 3.1.0.201705141336-b1 (com.liferay.ide.eclipse.tools.feature.group 3.1.0.201705141336-b1)
Missing requirement: biz.aQute.remote.api 3.4.0.201705121927-SNAPSHOT (biz.aQute.remote.api 3.4.0.201705121927-SNAPSHOT) requires 'package org.osgi.framework.dto [1.8.0,2.0.0)' but it could not be found
Cannot satisfy dependency:
From: Blade Tools 2.1.0.REL-20170514-003119-g924bba6 (com.liferay.blade.tools.feature.group 2.1.0.REL-20170514-003119-g924bba6)
To: biz.aQute.remote.api [3.4.0.201705121927-SNAPSHOT]
Cannot satisfy dependency:
From: Liferay IDE 3.1.0.201705141336-b1 (com.liferay.ide.eclipse.tools.feature.group 3.1.0.201705141336-b1)
To: com.liferay.blade.tools.feature.group 2.0.0
Your version of Eclipse is far too old for this code.
The error is saying that it needs at least version 1.8 of the org.osgi.framework.dto package. This package was not added to Eclipse until Eclipse 4.4. The current version of Eclipse (Eclipse Neon.3) contains version 1.8 of this package.

Getting dependency error while installing JetBrains TeamCity in Mars.2 Release (4.5.2)

I am trying to install Team City Eclipse Plugin in Eclipse Mars latest release and getting the following error.
Cannot complete the install because one or more required items could not be found.
Software being installed: JetBrains TeamCity Java Code Coverage 6.5.0.18130 (jetbrains.teamcity.feature.codequality.feature.group 6.5.0.18130)
Missing requirement: JetBrains TeamCity Core (Required) 6.5.0.18130 (jetbrains.teamcity.feature.feature.group 6.5.0.18130) requires 'org.eclipse.core.runtime.compatibility.auth 0.0.0' but it could not be found
Cannot satisfy dependency:
From: JetBrains TeamCity Java Code Coverage 6.5.0.18130 (jetbrains.teamcity.feature.codequality.feature.group 6.5.0.18130)
To: jetbrains.teamcity.feature.feature.group 0.0.0
As it says that required dependency - 'org.eclipse.core.runtime.compatibility.auth 0.0.0' could not be found. Is this a bug in Mars release or any plugin/library needs to be added?
I have tried updating the Eclipse - it says already updated. No updates available.
Please throw some pointers.
Thanks.
The org.eclipse.core.runtime.compatibility.auth plug-in was removed from Eclipse in release 4.2.
So you need to find a newer release of the code your are trying to install.

PyDev and Eclipse Juno

I am running Eclipse 4.2, PyDev worked fine with it until recently it stopped working (there is no longer a PyDev View), if I try to update pydev, I get this error:
Cannot complete the install because one or more required items could not be found.
Software currently installed: Eclipse SDK 4.2.0.I20120608-1400 (org.eclipse.sdk.ide 4.2.0.I20120608-1400)
Missing requirement for filter properties ~= $0: Eclipse Product Configuration 1.0.0.I20120608-1400 (org.eclipse.rcp.configuration.feature.group 1.0.0.I20120608-1400) requires 'org.eclipse.rcp.configuration_root.gtk.linux.x86 [1.0.0.I20120608-1400]' but it could not be found
Cannot satisfy dependency:
From: Eclipse SDK 4.2.0.I20120608-1400 (org.eclipse.sdk.ide 4.2.0.I20120608-1400)
To: org.eclipse.rcp.configuration.feature.group [1.0.0.I20120608-1400]
I just realised it says: org.eclipse.rcp.configuration_root.gtk.linux.x86. I recently upgraded my system from 32bit to 64bit, might that be the reason and if it is the reason how can I fix it?
Removing ~/.eclipse and reinstalling all plugins solved the problem.

How to upgrade eclipse from Galileo to Helios in Ubuntu 10.10 via "Help->Install New Software..."

I know the direct-download method but still want to make the upgrade with the help of Eclipse. When I plan to do so, the following errors rise:
Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse SDK 3.6.2.M20110210-1200 (org.eclipse.sdk.ide 3.6.2.M20110210-1200)
Software currently installed: Eclipse Platform 3.5.2 (Eclipse Platform 3.5.2)
Only one of the following can be installed at once:
Equinox Provisioning Publisher 1.1.2.v20100824-2220 (org.eclipse.equinox.p2.publisher 1.1.2.v20100824-2220)
Equinox Provisioning Publisher 1.1.0.v20100513 (org.eclipse.equinox.p2.publisher 1.1.0.v20100513)
Equinox Provisioning Publisher 1.0.1.R35x_20100105 (org.eclipse.equinox.p2.publisher 1.0.1.R35x_20100105)
Cannot satisfy dependency:
From: Eclipse Platform 3.5.2 (Eclipse Platform 3.5.2)
To: org.eclipse.equinox.p2.publisher [1.0.1.R35x_20100105]
Cannot satisfy dependency:
From: Equinox p2 Provisioning 2.0.1.r361_v20100903-897HFa-FX0z-z-ntoaavz0JPX628 (org.eclipse.equinox.p2.user.ui.feature.group 2.0.1.r361_v20100903-897HFa-FX0z-z-ntoaavz0JPX628)
To: org.eclipse.equinox.p2.publisher [1.1.2.v20100824-2220]
Cannot satisfy dependency:
From: Eclipse SDK 3.6.2.M20110210-1200 (org.eclipse.sdk.ide 3.6.2.M20110210-1200)
To: org.eclipse.equinox.p2.user.ui.feature.group [2.0.1.r361_v20100903-897HFa-FX0z-z-ntoaavz0JPX628]
I am using http://download.eclipse.org/eclipse/updates/3.6/ . It seems that I need a newer Equinox Provisioning Publisher to make a successful upgrade. But after a rough search I did not find much information. So what should I do now? Thank you.
According to this, the only lines that really matter from that error output are the last ones.
Cannot satisfy dependency:
From: Eclipse SDK 3.6.2.M20110210-1200 (org.eclipse.sdk.ide 3.6.2.M20110210-1200)
To: org.eclipse.equinox.p2.user.ui.feature.group [2.0.1.r361_v20100903-897HFa-FX0z-z-ntoaavz0JPX628]
I had this problem too and was unable to resolve it without first uninstalling everything and following this method to get it all rolling (That's a link to my blog where I mashed together all the guides that helped me get it installed).
Good luck!