| 1 | = XGAP Customization = |
| 2 | |
| 3 | Programmers can download and customize the XGAP using the Eclipse workspace as follows: |
| 4 | |
| 5 | 1. We assume you already installed and configured the software described in XgapInstall, step 1-7. Only difference is that you should not automatically run tomcat. |
| 6 | 1. Download and unzip XGAP developer workspace [http://gbic.biol.rug.nl/%7Emswertz/xgap/10/xgap_workspace.zip (xgap_workspace.zip)] |
| 7 | 1. Install [http://www.eclipse.org/downloads/ Eclipse] Integrated Development Environment [[BR]]'' You need to install the J2EE version (which allows you to (re)start/stop tomcat)'' |
| 8 | 1. (Optional) MOLGENIS autogenerates documentation for the XGAP application. This includes a graphical representation of the XGAP model in UML format. This requires !GraphViz to work: Download and install graphviz from http://www.graphviz.org/Download.php'' Make sure your PATH is set to run 'dot.exe' from the commandline.'' |
| 9 | 1. Start Eclipse and open the xgap_workspace as your workspace. [[BR]]'' Now you are ready to start extending your XGAP system: '' |
| 10 | * ''Edit the xgap_db.xml model file to change the object model'' |
| 11 | * ''Edit the xgap_ui.xml model file to change the user interface'' |
| 12 | * '' Run the generator by right-clicking the file 'handwritten/java/default/!MolgenisGenerate' and choosing 'run' (next time you can use the green 'play' button).'' |
| 13 | * ''Right-click on your xgap project and 'refresh' to make Eclipse compile the generated code.'' |
| 14 | * '' Load your newly generated datastructure into MySQL by choosing 'handwritten/java/default/!MolgenisUpdateDatabase' and choosing 'run' [[BR]]'''!Warning!:''' any existing data in XGAP will be overwritten. '' |
| 15 | * ''Run your new XGAP extension by right-click on your 'xgap' project and choose 'run on server'. That is all there is to it ;-) '' |
| 16 | |
| 17 | Check the full [http://molgenis.sourceforge.net/doc/ http://www.molgenis.org/wiki/MolgenisGuide] for much more details on MOLGENIS data modeling and plug-in development.'' |
| 18 | Check the full [http://molgenis.sourceforge.net/doc/ http://www.molgenis.org/wiki/MolgenisGuide] for much more details on MOLGENIS data modeling and plug-in development.'' |