Skip to content

Commit

Permalink
Merge pull request #4464 from codyhoag/module-ext-ide-7.1.x
Browse files Browse the repository at this point in the history
LRDOCS-6303 Creating Ext Modules in IDE | 7.1.x
  • Loading branch information
sez11a committed Aug 16, 2019
2 parents b4e6abb + 62ea849 commit 5e080fa
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
Expand Up @@ -18,6 +18,50 @@ Workspace is preconfigured with an `ext` folder, which applies important
settings (via the `LiferayOSGiExtPlugin`) to your Ext module when it's deployed
to @product@. You'll learn more about this in the next section.

You can also create an Ext module leveraging the `modules-ext` project template
in Dev Studio or IntelliJ.

## Dev Studio

To create an Ext module in Dev Studio,

1. Right click your Liferay Workspace and select *New* → *Liferay Module
Ext Project*.

2. Define the project name and the original module name (i.e., BSN form, like
`com.liferay.login.web`) you intend to override.

![Figure 1: You must define your Ext module's name and the module you intend to override.](../../../images/ext-module-dev-studio.png)

Note, you must have the `target.platform.index.sources` property enabled in
your workspace's `gradle.properties` file to browse for the original module
name.

3. Click *Finish* to create the Module Ext project.

Awesome! You've created an Ext module project in Dev Studio!

## IntelliJ

To create an Ext module in IntelliJ,

1. Go to *File* → *New* → *Liferay Module*.

2. Select the *Liferay Modules Ext* option from the left menu.

3. Define the original module name (i.e., BSN form, like
`com.liferay.login.web`) you intend to override. Then click *Next*.

![Figure 2: You must define the module you intend to override.](../../../images/ext-module-intellij.png)

Note, you must have the `target.platform.index.sources` property enabled in
your workspace's `gradle.properties` file to browse for the original module
name.

4. Define the module name.

5. Click *Finish*.

Great! You know how to create an Ext module and are familiar with its folder
structure and most significant files. Next, you'll learn how to develop your Ext
module to customize @product@.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added develop/reference/images/ext-module-intellij.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5e080fa

Please sign in to comment.