wiki:MolgenisFolderLayout

Version 2 (modified by Morris Swertz, 14 years ago) (diff)

--

Layout of MOLGENIS projects

MOLGENIS projects are organized in a standard layout to ease reuse and integration. In practice you only have to touch the handwritten folders.

/molgenis_module
Your folders:
+--[module].properties [contains the settings specific for this project, including list of imported modules]
+--handwritten/models/ [in the simple applications this is the only folder you need]
+--handwritten/java/ [can in the future also include groovy, jython, scala?]
+--handwritten/web/ [to store your static webcontent like scripts, css, img, this will be served]
+--handwritten/web/img [default folder for your images
Your imports (typically this always include the molgenis_core module):
+--imported/[module] [one folder for each imported module]
+--imported/[module]/module.properties [one for each imported module]
+--imported/[module]/handwritten/models [one subfolder for each imported module]
+--imported/[module]/handwritten/java [one java subfolder for each imported module]
+--imported/[module]/handwritten/web [one web subfolder for each imported module]
Automatic:
+--generated/java [automatic]
+--generated/sql [automatic]
+--generated/models [automatic copies of the model to enable fast re-generation and migrations]
+--generated/web/[module]/ [automatic copy from handwritten/web/ and the modules]
+--generated/web/[module]/img [automatic copy from handwritten/web/img and each imported/[module]/web/img]
+--generated/web/[module]/scripts [automatic copy from handwritten/web/scripts and each imported/[module]/web/scripts]
+--generated/web/[module]/css [automatic copy from handwritten/web/css and each imported/[module]/web/css]

Subversion

Note:

  • generated folders are under svn:ignore
  • imported folders are under svn:externals