Giter VIP home page Giter VIP logo

liferay-intellij-plugin's Introduction

Liferay IntelliJ Plugin

Install from jetbrains offical link

https://plugins.jetbrains.com/plugin/10739-liferay-intellij-plugin

Building from source

If you would like to build from source, use this following command:

$ ./gradlew clean build

Once it finishes the locally built the IntelliJ Idea Plugin will be located here:

build/distributions/liferay-intellij-plugin-<version>.zip

You can install this using Preferences > Plugins > Install plugin from disk... > Point to newly built zip file

Key features

Liferay Workspace

  1. Create a Liferay Workspace Project from Start menu > click Create New Project or click File > New > Project
  2. Choose Liferay Workspace from left list
  3. Click Next button
  4. Type your Liferay Workspace Project Name and choose a Project Location or leave it default.
  5. Click Finish button and there will be one popup show up.
  6. Click OK to finish

Liferay Server

You must have one Liferay Workspace Project to do the following steps:

  1. Right click on the root of your Liferay Workspace Project
  2. Click Liferay > InitBundle
  3. Then the gradle will run initBundle task
  4. It will take several minutes to download the latest Liferay Server from remote if you don’t have the local cache
  5. Click Edit configruration... on the right top corner
  6. Click the plus icon
  7. Choose Liferay Server
  8. You can leave the config values by default or change to what you want
  9. Click OK Bundle
  10. After you add a new Liferay Server, you can start or debug it

Liferay Module

You must have one Liferay Workspace Project to do the following steps:

  1. Right click on existing Liferay Workspace Project and choose New > Liferay Module
  2. Choose Liferay Modules
  3. Depends on what template you choose, you can type Package Name, Class Name and Service Name
  4. Click Next Button
  5. Type Project Name and the location is not able to customize.
  6. Click Finish Button

Deployment

After you get the Liferay Modules you can deploy them to running or debugging Liferay Server:

  1. Right Click on your Liferay Module
  2. Choose Liferay > Deploy
  3. When you see the log showing in the console view, you get your module successful deploying

Watch

After you get the Liferay Modules you can watch them on running or debugging Liferay Server:

  1. Right Click on your Liferay Module or the folders like modules or the root of Liferay Workspace.
  2. Choose Liferay > Watch
  3. When you see the gradle console output and the deplog log showing in the console view, you get your module successful deploying.
  4. You could keep the watch task running and it will listen on the changes of your coding.
  5. You could click red button to cancel the running watch task in Gradle Task view.

Better Editors for Liferay Files

  1. service.xml
  2. custom-sql/default.xml
  3. portlet-model-hints.xml
  4. Liferay Taglib Support for Jsp files(Ultimate Only)
  5. etc.

License

This library, Liferay IDE, is free software ("Licensed Software"); you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; including but not limited to, the implied warranty of MERCHANTABILITY, NONINFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

liferay-intellij-plugin's People

Contributors

camork avatar danielebb avatar dmarks2 avatar gamerson avatar joyeluo avatar simonjhy avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.