Fredi B 3 Years Ago - Edited Hello Ashley Yuan and Thank you and your team for your efforts on creating the Liferay Development IDE. I noticed that when working with the 3.9.0 version I often only get this import in my build.gradle: compileOnly group: "com.liferay.portal", name: "release.portal.api"The result is sadly that many errors appear in my IDE. Is this related to this new IDE version or a 7.3.5 GA6 problem? Keep up the good work! Fredi Please sign in to reply. Reply as... Cancel Ashley Yuan Fredi B 3 Years Ago - Edited Hello Fredi, Thanks for the comments. Sorry for the late reply. Yes, on liferay 7.3, developers can use release.portal.api/release.dxp.api to improve dependency management. Here is a related blog: https://liferay.dev/blogs/-/blogs/liferay-portal-7-3-ce-ga2-release Thanks, Ashley Please sign in to reply. Reply as... Cancel
Ashley Yuan Fredi B 3 Years Ago - Edited Hello Fredi, Thanks for the comments. Sorry for the late reply. Yes, on liferay 7.3, developers can use release.portal.api/release.dxp.api to improve dependency management. Here is a related blog: https://liferay.dev/blogs/-/blogs/liferay-portal-7-3-ce-ga2-release Thanks, Ashley Please sign in to reply. Reply as... Cancel
Marc Endtricht 3 Years Ago - Edited Hello, i experience the same problems described at https://liferay.dev/ask#/questions/development/weird-ide-error-markers-liferay-7-3-5-ce The problem occurs when using the single dependency compileOnly group: "com.liferay.portal" , name: "release.portal.api" and running gradle with Java 11 (tried Oracle and Zulu-variants). On every import refering to this import it tells me "'The type [XXX] is not accessible'. Running "Refresh Gradle Project" with Java 8 resolves the errors, running it again with Java 11 lets them reoccur. Building and deploying modules works without problems, but using the DevStudio (actually using 3.9.0 GA1, but problem occured in earlier versions too) is nearly impossible running gradle with Java11 and the "release.portal.api" dependency. Any ideas how to solve this problem? Thanks in advance Please sign in to reply. Reply as... Cancel Ashley Yuan Marc Endtricht 3 Years Ago Hello Marc, Thanks for bringing this in. We'll fix this in this ticket: https://issues.liferay.com/browse/IDE-4902 For a temporary workaround, we can use Java 8 or install 390 GA1 updatesite in other Eclipse versions that higher than Eclipse 2018-12. Thanks, Ashley Please sign in to reply. Reply as... Cancel
Ashley Yuan Marc Endtricht 3 Years Ago Hello Marc, Thanks for bringing this in. We'll fix this in this ticket: https://issues.liferay.com/browse/IDE-4902 For a temporary workaround, we can use Java 8 or install 390 GA1 updatesite in other Eclipse versions that higher than Eclipse 2018-12. Thanks, Ashley Please sign in to reply. Reply as... Cancel