Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Liferay IDE Eclipse failed requirements
Hello,
I just upgraded eclipse to latest version 2018-12 4.10.0 but then I am unable to re-install Liferay IDE eclipse plugin into it. Eclipse says:
Your original request has been modified.
"Buildship: Eclipse Plug-ins for Gradle" will be ignored because a newer version is already installed.
"m2e - slf4j over logback logging (Optional)" will be ignored because a newer version is already installed.
"m2e - Maven Integration for Eclipse (includes Incubating components)" will be ignored because a newer version is already installed.
Cannot complete the install because one or more required items could not be found.
Software being installed: Liferay IDE AlloyUI 3.4.0.201811020125 (com.liferay.ide.alloy.feature.group 3.4.0.201811020125)
Missing requirement: Liferay IDE Gradle Core 3.4.0.201811020125 (com.liferay.ide.gradle.core 3.4.0.201811020125) requires 'osgi.bundle; com.google.guava [15.0.0,16.0.0)' but it could not be found
Cannot satisfy dependency:
From: Liferay IDE AlloyUI 3.4.0.201811020125 (com.liferay.ide.alloy.feature.group 3.4.0.201811020125)
To: org.eclipse.equinox.p2.iu; com.liferay.ide.eclipse.tools.feature.group 3.0.0
Cannot satisfy dependency:
From: Liferay IDE 3.4.0.201811020125 (com.liferay.ide.eclipse.tools.feature.group 3.4.0.201811020125)
To: org.eclipse.equinox.p2.iu; com.liferay.ide.gradle.core [3.4.0.201811020125,3.4.0.201811020125]
It looks like there is a collision between Liferay IDE bundled Gradle Buildship plugin and the Buildship already shipped within this eclipse version. Maybe there is another plugin to satisfy requirements
osgi.bundle; com.google.guava [15.0.0,16.0.0)
? Or those should now be integrated into IDE plugin package?
Btw I am using latest milestone update site: http://releases.liferay.com/tools/ide/latest/milestone/
thanks for your help!
Phil
Hello Phil,
Thanks for posting this error report. Can you try a different
updatesite URL and see if you can install from this one?
https://ci-devtools.wedeploy.io/job/liferay-ide-build/lastSuccessfulBuild/artifact/build/com.liferay.ide-repository/target/repository/
Also you can just add this URL to the available software update sites and then perform a "help > check for updates..." and see if that works for you.
Yes it worked, installation was successful. Thanks!
Is it safe for me to use this 3.5 version of Liferay IDE? Is it planned to go in a milestone release, or even stable?
I cannot access to this URL either:
https://ci-devtools.wedeploy.io/job/liferay-ide-build/lastSuccessfulBuild/artifact/build/com.liferay.ide-repository/target/repository/
I get a 404.
Any help on this?
When take a first glace at you project menu, there are extra options like (Chrome Debugger or JAX), these options not existed on default Studio, it seems that your workspace configs are broken. Can you try to switch to a new eclipse workspace?
I tried creating a simple maven project, and it shows normal options, so the problem appears to be with SDK projects
Do you have any ideas of what the problem might be? This is the second time I start afresh.
What shoudl I do with these? Download the zip and unpack it under plugins?
Thanks a lot
I get an Exception when opening eclipse and also the same errors I mentioned earlier. Some of the errors I see in the log are:
!ENTRY org.eclipse.jface.text 2 0 2019-02-12 13:54:47.231
!MESSAGE Duplicate template id: 'com.liferay.ide.ui.templates.MDRAction.add-action6'
Why does Liferay IDE plugin for Eclipse need to have a Gradle distribution, when Eclipse already has one?
Ant, Maven or Gradle are your build tools and allow you to incorporate continuous integration, automated testing, etc. into your development process.
Eclipse is just a GUI-based passenger on this train, but it doesn't own the build.
I cannot uncheck the option to install Gradle when installing Liferay IDE for my eclipse, but I already have Gradle from my eclipse, I don't need it. I don't need Gradle at all actually, I use ant for this project.
Do you think of any solution for this library conflict? Are next Liferay IDE plugins be dependent on Gradle?
1. the jars start with "org.eclipse.buildship" in eclipse/plugins
2. the feature folders start with "org.eclipse.buildship" in eclipse/features
3. the properties start with "org.eclipse.buildship" in eclipse/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info file
Then restart eclipse, the buildship must be uninstalled, i am sorry if it still can't help with you.
Can it be the case? And if so, can I install an IDE version that does work for Liferay 6.2?
Is there any way to install a lower distribution from Liferay IDE manually? I have the 3.0.1 and that one works with my Liferay 6.2
Thanks