Liferay Developer Studio provides the ability to manage Liferay module projects from a GUI. Before you begin learning about managing your modules from Liferay Developer Studio, you should make sure a Liferay server is configured in your Eclipse workspace so you can deploy and run your projects. You can learn how to create a Liferay bundle and link it to your Liferay workspace in the Creating a Liferay Workspace with Liferay Developer Studio tutorial.
Once you’ve created modules, you can deploy them using Liferay Developer Studio. First, make sure your Liferay server is started by clicking the Start Server button (). Then navigate to your module project from the Project Explorer and drag-and-drop the project onto the configured Liferay bundle in the Servers menu. If at any time you’d like to stop your Liferay server, click the Stop Server button (). Awesome! You’ve deployed a module to your running Liferay instance!
For the deployed module project, you can check if it has been deployed successfully by using Gogo Shell. Right-click the started portal in server view and select Open Gogo Shell.
A Gogo shell terminal appears, allowing you to enter Gogo commands to inspect
your Liferay instance and the modules deployed to it. Enter the
lb command to
view a list of deployed modules. If the project status is active, then it
Since the Liferay Workspace perspective in Developer Studio is Gradle-based, you have some additional Gradle features you can take advantage of. The Gradle Tasks toolbar presents Gradle commands for your workspace that you can execute with a click of the mouse.
You can also access various Gradle build operations intended for Liferay module projects. Right-click your module project and select Liferay → Gradle and then the build command you want to execute.
To learn more about Gradle development in Liferay Developer Studio, see the Using Gradle in Liferay Developer Studio tutorial.
Excellent! You’ve learned how to manage your Gradle-based Liferay Workspace using Liferay Developer Studio.