掲示板

liferay ide 3 multiple sdk

thumbnail
7年前 に Moisés Belda によって更新されました。

liferay ide 3 multiple sdk

Junior Member 投稿: 75 参加年月日: 13/04/20 最新の投稿
Hi

I've downloaded new Liferay IDE 3.0, and I have not found any option to configure multiple SDKs (previously in Windows->Preferences->Liferay or when you create/import a plugin through the wizards). I have different sdk's (liferay 6.1, 6.2, 7.0 GA1 and GA2) and when I try to import a second sdk with the new option "Liferay Plugins SDK Parent Project" an error message is displayed : "This workspace already has another sdk". The old combo list to choose different SDKs (in portlet creation wizard or importing plugins) seems to be replaced by a non-editable input field that shows the unique configured sdk without any option to change.

Also, when I try to import a project (portlet, hook, whatever) from a different version than the "main" sdk configured, the message error "This project has different sdk than current workspace" is displayed.

Have Liferay IDE 3.0 lost support for multiple SDK? Is this behaviour normal for the new 3.0 version?
thumbnail
7年前 に Andy Wu によって更新されました。

RE: liferay ide 3 multiple sdk

Regular Member 投稿: 195 参加年月日: 15/05/05 最新の投稿
That is correct, Moises. Now we just allow one sdk existing in one eclipse worksspace. But you can use File->Launch Workspace to launch a new eclispe workspace to set another sdk.
If any inconvenient, please let us know !
thumbnail
7年前 に Gregory Amerson によって更新されました。

RE: liferay ide 3 multiple sdk

Liferay Legend 投稿: 1123 参加年月日: 10/02/16 最新の投稿
Just to clarify, in Liferay IDE 3.0 we have "one Plugins SDK" per "one Eclipse workspace" because that is the pattern that most people use. If you need to work on multiple SDKs, we recommend you have multiple Eclipse workspaces with "one sdk imported per workspace". Then as Andy said we have made this simple by adding a "File > Launch Workspace" command and you can "copy preferences" from existing workspace like (color/appearance/formatting rules, etc) to the new workspace.
thumbnail
7年前 に Moisés Belda によって更新されました。

RE: liferay ide 3 multiple sdk

Junior Member 投稿: 75 参加年月日: 13/04/20 最新の投稿
Thanks for your clarifications!

Are you speaking about the Eclipse workspaces? There is a new concept in the Liferay ide 3.0 called Liferay Workspace Projects, that when you create one of them, a project with gradle scripts and a sort of project with modules and themes folders is created ... I know that it is the new feature to build modules with gradle... But when I create each "liferay project workspace" there is no option to choose sdk version.. It seems that only works with the last sdk version, right? . What about ga1 / ga2 sdk? And.. Is it only allowed for Liferay 7 modules ?

Another doubt about this liferay workspace project is that I didn't find how to create a theme within.. Only the old theme creation through the sdk wizard.

Thanks in advance
thumbnail
7年前 に Andy Wu によって更新されました。

RE: liferay ide 3 multiple sdk

Regular Member 投稿: 195 参加年月日: 15/05/05 最新の投稿
yes , we were talking about eclipse workspce .
as liferay-workspace , yes , it is a new thing.
and for more information , you can goto https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/creating-a-liferay-workspace to see