Liferay Dev Studio provides the ability to manage Liferay projects from a GUI. Before you begin learning about managing your projects from Liferay Dev 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 Dev Studio tutorial.
Once you’ve created projects, you can deploy them using Dev Studio. First, make sure your Liferay server is started by clicking the Start Server button (). Then navigate to your project from the Project Explorer and drag-and-drop it 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 project to your running Liferay instance!
For the deployed project, you can check if it has been deployed successfully by using the Gogo Shell. Right-click the started portal in your 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 projects deployed to it. Enter the
lb command to
view a list of deployed bundles. If the project status is active, then it
Dev Studio’s Gogo shell usage requires Developer Mode to be enabled. Developer Mode is enabled in Liferay Workspace by default.
Since the Liferay Workspace perspective in Dev 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 and then the build command you want to execute.
To learn more about Gradle development in Liferay Dev Studio, see the Using Gradle in Liferay Dev Studio tutorial.
Excellent! You’ve learned how to manage your Gradle-based Liferay Workspace using Dev Studio.