| 1 | = Layout of MOLGENIS projects = |
| 2 | |
| 3 | MOLGENIS projects are organized in a standard layout to ease reuse and integration. |
| 4 | In practice you only have to touch the handwritten folders. |
| 5 | |
| 6 | /molgenis_module |
| 7 | Your folders: |
| 8 | +--[module].properties [contains the settings specific for this project, including list of imported modules] |
| 9 | +--handwritten/models/ [in the simple applications this is the only folder you need] |
| 10 | +--handwritten/java/ [can in the future also include groovy, jython, scala?] |
| 11 | +--handwritten/web/ [to store your static webcontent like scripts, css, img, this will be served] |
| 12 | +--handwritten/web/img [default folder for your images |
| 13 | Your imports (typically this always include the molgenis_core module): |
| 14 | +--imported/[module] [one folder for each imported module] |
| 15 | +--imported/[module]/module.properties [one for each imported module] |
| 16 | +--imported/[module]/handwritten/models [one subfolder for each imported module] |
| 17 | +--imported/[module]/handwritten/java [one java subfolder for each imported module] |
| 18 | +--imported/[module]/handwritten/web [one web subfolder for each imported module] |
| 19 | Automatic: |
| 20 | +--generated/java [automatic] |
| 21 | +--generated/sql [automatic] |
| 22 | +--generated/models [automatic copies of the model to enable fast re-generation and migrations] |
| 23 | +--generated/web/[module]/ [automatic copy from handwritten/web/ and the modules] |
| 24 | +--generated/web/[module]/img [automatic copy from handwritten/web/img and each imported/[module]/web/img] |
| 25 | +--generated/web/[module]/scripts [automatic copy from handwritten/web/scripts and each imported/[module]/web/scripts] |
| 26 | +--generated/web/[module]/css [automatic copy from handwritten/web/css and each imported/[module]/web/css] |
| 27 | |
| 28 | = Subversion = |
| 29 | |
| 30 | Note: |
| 31 | - generated folders are under svn:ignore |
| 32 | - imported folders are under svn:externals |