Liferay Workspaces can generate and hold a Liferay Server. This lets you build/test your workspace’s plugins against a running Liferay instance. Follow the instructions below to get started.
Open your workspace’s root
liferay.workspace.bundle.urlproperty to the bundle’s download URL you want to generate and install. For example,
For DXP subscribers, it would look like this:
DXP subscribers must also set the
trueto allow your workspace to access Liferay’s API site.
Navigate to your workspace’s root folder and run
blade server init
Verify your bundle was downloaded. The bundle is generated in the
bundlesfolder by default. You can change this by setting the
liferay.workspace.home.dirproperty to a different folder.
You can also produce a distributable Liferay bundle (Zip or Tar) from within a workspace. To do this, navigate to your workspace’s root folder and run the following command:
Your distribution file is available from the workspace’s
You’re all set to develop projects for a nested Liferay DXP bundle.