Default project creation and templates
Plugins SDK provides default plugins project creation and templates, which are used in Liferay IDE. This section is going to show you the default creation scripts and default templates.
Plugins default project creation—Ant targets
Plugins SDK provides default plugins project creation Ant targets, where you can build your own plugins simply. For example, Ext plugins could be created with the following Ant command line at $PLUGINS_SDK_HOME/ext/:
create.sh: ant -Dext.name=$1 -Dext.display.name=\"$2\" create
create.bat: call ant -Dext.name=%1 -Dext.display.name=%2 create
The first parameter is your extension plugin name. A new directory will be created based on the extension plugin name. The second parameter is the extension plugin's display name.
The hook plugins could be created in the following Ant command line at $PLUGINS_SDK_HOME/hooks/:
create.sh: ant -Dhook.name=$1 -Dhook.display.name=\"$2\" create
create.bat: call ant -Dhook.name=%1 -Dhook.display...