0
votes

I am trying to get my liferay workspace to work using blade CLI but am having difficulties.

I followed this article from the official liferay developer website: https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/creating-a-liferay-workspace-with-blade-cli

There it says: 'See the Using a Plugins SDK From Your Workspace section for more information on how to use a Plugins SDK from within a workspace.'

When I clicked the link I was redirected to a page stating 'The article you requested was not found' and now I am stuck and can't find information anywhere.

Does anyone have an idea of what I have to do at this point?

Another problem is, that the installer is downloading the community edition of liferay instead of the enterprise edition when running gradlew.bat initBundle or gradlew.bat distBundleTar.

2

2 Answers

3
votes

Instead of running initBundle, you can create a Liferay workspace using blade init command. Once the workspace is created, you can create module projects on it using blade create. For an extensive list of blade commands to efficiently use this tool, you can refer to the following link:

https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/blade-cli

The Liferay developer network site was under development back then but now it is updated for further references.

2
votes

Liferay DXP uses a module-based framework. They encourages us to go that way, though you could use the former Plugins SDK too, as it's still supported. Have a look at https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/liferay-workspace for details.

Blade CLI provides you with some templates to create new projects following the new framework.

I'd go modular.

Regards