7 | | Next: [[BR]] |
8 | | [MolgenisFromScratch Generate a MOLGENIS from scratch][[BR]] |
9 | | [MolgenisFromExisting Generate a MOLGENIS from existing database] |
| 7 | 1. Start Eclipse and browse to MOLGENIS molgenis3X_workspace you downloaded and unzipped before. Open. You will see in the left pane: |
| 8 | screenie |
| 9 | The molgenis3X_workspace contains two projects. (a) molgenis3_x contains all code of the MOLGENIS framework (b) the project molgenis3_x_distro contains an application template which you will use to create the new MOLGENIS application with. |
| 10 | 1. Check whether MOLGENIS is properly linked with Java: Right-click on the molgenis3_x project and choose [refresh]. Then right-click on the molgenis3_x_distro project and choose [refresh]. This will force Eclipse to rebuild the code for your platform. |
| 11 | screenie |
| 12 | If everything is well then there will be no errors listed in the problems pane on the bottom of your screen. |
| 13 | screenie |
| 14 | 1. (Skip step unless library issues). To link missing system libraries choose [Window] -> [Preferences]. Then browse to Java -> Installed JREs. Finally add your JDK and tick to be used as default. |
| 15 | 1. Open the molgenis3_x_distro project and explore. This unveils the basic MOLGENIS application structure: |
| 16 | * molgenis.properties contains the settings of your applications. |
| 17 | * The *.xml files contain your MOLGENIS models |
| 18 | * WebContent contains web resources (images, javascript, etc) |
| 19 | * generated/java and generated/sql will contain the output of the MOLGENIS generator. |
| 20 | * handwritten/java contains the MOLGENIS generator tools and any programs you will add. |