Gld Extension Development: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
</pre> | </pre> | ||
The above will build the extension and install it in ${RUNTIME_DIR}/gld/extensions | The above will build the extension and install it in ${RUNTIME_DIR}/gld/extensions. The location of the installation directory can be configured in <extension-name>/.nort/project.yaml, as "install/installation.directory". | ||
=Extension Name= | =Extension Name= |
Revision as of 19:08, 21 December 2016
Internal
Overview
cd projects/gld/extensions/<extension-name> release snapshot
The above will build the extension and install it in ${RUNTIME_DIR}/gld/extensions. The location of the installation directory can be configured in <extension-name>/.nort/project.yaml, as "install/installation.directory".
Extension Name
The extension name, as described by the "gld Concepts - Extension Name" section, must be specified as the "extension.name" property in the extension project POM:
<project ...> ... <properties> <extension.name>jboss-datagrid-7</extension.name> ... </properties> ... </project>
The POM "extension.name" property is the authoritative source of information for extension name, and it will be inferred from it everywhere extension name is necessary.
For simplicity, it is recommended that the extension top-level directory of the extension project has the same name as "extension.name".