Define bundle organization in main source tree
Description
Environment
Any
Activity
Show:

Michael Saechang August 29, 2012 at 5:49 PM
Cannot be tested by QA. Closing as 'Completed' because code has been committed.

Matthew Lee August 21, 2012 at 4:39 PM
Committed on:
Portal 6.1.x CE GIT ID: b5e11020c4128d6f5f953a0eb99a722476cd9bbe.
Portal 6.2.x GIT ID: e8d58337d10aec1f58252789242f19ba1df1677a.
Completed
Details
Assignee
Michael SaechangMichael Saechang(Deactivated)Reporter
Raymond AugéRaymond AugéEpic/Theme
Git Pull Request
Components
Fix versions
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Epic/Theme
Git Pull Request
Components
Fix versions
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

Linked Tickets
Created April 20, 2012 at 8:45 AM
Updated June 26, 2023 at 6:56 AM
Resolved August 29, 2012 at 5:49 PM
Liferay's use of OSGi will be called the "Liferay Module Framework".
A Liferay Module will be synonymous with an OSGi Bundle, but for the sake of clarity will further be referred to as Liferay Modules, or simply modules. This naming is to avoid collision with the existing use of Liferay Bundles which are ready to run, fully pre-assembled archive files of Liferay, often including an app server/servlet container and some number of Liferay plugins.
All properties influencing or configuring the behaviors of modules, or Liferay's use of modules will be prefixed by
module.framework
.All modules implementing core requirements will be contained within the source tree at:
/portal-modules
Each subfolder of
/portal-modules
will contain a single module's source code, the folder name matching theBundle-SymbolicName
of the module. The exact structure of module subfolder will be defined on the basis of two primary artifact types: A) a jar file B) a war file (in the OSGi context commonly called a WAB or Web Application Bundle). The exact folder structure of each will come later, but will follow common and existing patterns as much as possible.The module framework will be enable or disable by the property
module.framework.enabled
.The base path for all module framework storage needs will be
${liferay.home}/data/framework
. This base will be defined by the propertymodule.framework.base.dir
On deployment, all modules in the main source tree will be placed into the folder identified by the property
module.framework.lib.dir
. The default value for this property will be${module.framework.base.dir}/lib
. This will require that theliferay.home
property be set correctly at build time.