Deploying Projects with IntelliJ IDEA

Once you’ve created a project and installed your Liferay server in IntelliJ, you’ll want to deploy your project. Follow the steps below to do this:

  1. Right-click your project from within the Liferay Workspace folder structure and select LiferayDeploy.

    This automatically loads a build progress window viewable at the bottom of your IntelliJ instance.

    intellij-project-build.png

    Figure 1: Verify that your project build successfully.

  2. Verify that your project builds successfully from the build progress window. Then navigate back to your server’s window and confirm it starts in your configured Liferay Portal instance. You should receive a message like this:

    INFO  [fileinstall-C:/liferay-workspace/bundles/osgi/modules][BundleStartStopLogger:35] STARTED com.liferay.docs_1.0.0 [652]
    

That’s it! You’ve successfully deployed your project to Liferay Portal!

0 (0 Votes)
Installing a Server in IntelliJ IDEA Previous