- This topic has 7 replies, 2 voices, and was last updated 9 years, 7 months ago by morpheus1958.
-
AuthorPosts
-
morpheus1958ParticipantIs anyone using gradle with myEclipse?
Any known issues there.When I try to use gradle with myEclipse, seems to be running into quite a few issues, mostly around deployment of the web project.
Please share your experience or let me know if I can provide more info.
support-swapnaModeratormorpheus1958,
We have an enhancement request filed to add Gradle support in MyEclipse.
1.Can you please let us know the version of MyEclipse you are working with (MyEclipse > Installation Summary > Installation Details) ?
2.Also please share the steps you followed to install Gradle. If you have used an update site then please share the update site details.
3. Please let us know what exact problems you are seeing when working with Gradle. If there are any errors logged in the .log file which is located at <workspace dir>/.metadata, then please send us the .log file for further investigation.
morpheus1958ParticipantThanks Swapna. Please find the requested info below.
(1) Version of MyEclipse:
MyEclipse Enterprise Workbench
Version: 2015 CI 12
Build id: 13.0.0-20150323(2)
Here is info on Gradle add-in that I am using. (I don’t recall exactly how I downloaded it)
Gradle IDE 3.6.4.201503050952-RELEASE org.springsource.ide.eclipse.gradle.feature.feature.group Pivotal Software, Inc.
(3) Attached is the log file. I do see this exception in this log file, so not sure if this is related to it:
!ENTRY org.eclipse.equinox.preferences 4 2 2015-05-06 14:41:02.906
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.equinox.preferences”.
!STACK 0
java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.jface.preference.PreferenceConverterPlease let me know if I can provide more info.
morpheus1958ParticipantAttaching log file.
(BTW, when I try to attach a file without any file extension, I get no-so-helpful error message from this forum board saying – “The Extension array is not allowed”. I had to add “.txt” extension for it to work.)
Attachments:
You must be logged in to view attached files.
support-swapnaModeratormorpheus1958,
Thank you for the details and the .log file. About the not so helpful error message, I will pass it on to the team to improve it.
From the error log, the stacktrace looks related to Eclipse.While we investigate the issue at our end, can you please check if the Gradle works as expected in Eclipse Luna (4.4.2) ? MyEclipse 2015 CI 12 is based on Eclipse 4.4.2.
Let us know how it works.
morpheus1958ParticipantThanks Swapna. I don’t have eclipse installed. I was under the impression that since I have MyEclipse, I wouldn’t need eclipse.
support-swapnaModeratormorpheus1958,
Gradle is a third party tooling and as MyEclipse is based on Eclipse, we need to make sure it works as expected in Eclipse before installing it on MyEclipse.
You do not need Eclipse when you have MyEclipse but in case of third party plugins not working in MyEclipse, we check if it works in Eclipse in the first place.
I installed Gradle in MyEclipse, created project and I do not see the issue you are seeing during deployment.I have not worked with Gradle before and I may be missing some steps.
Please send us the screenshot of the Gradle preferences page (Window > Preferences > Gradle) along with the steps right from project creation to deployment to help us replicate the issue at our end.
Please also share with us details of all the issues you are seeing with Gradle in MyEclipse to help us investigate further.
Let us know how it works for you.
morpheus1958ParticipantThanks Swapna. Attached is screenshot showing my Preferences->Gradle
Attachments:
You must be logged in to view attached files. -
AuthorPosts