Step 2.a. Define a root-directory for the application
Assumption:
- The <NGMS-root> directory is located at D:\NGMS-root
- The \bin-directory contains the FEWS-binary, located D:\NGMS\bin
- the \jre-directory contains the Java RunTime Environment (version 1.5.0_11), located in D:\NGMS\jre
Sample names:
- the <Region>-directory is named <Region> and is located in D:\NGMS\<Region>
- the model abbreviation is named XXX
- the full model name is YYY
Step 2.b. Populate the directory
Unzip SampleRegion.zip into the region directory.
Note: the SampleRegion only contains FEWS-compressed GIS-layers. For backtracking purposes the associated ESRI-shape files are available as attachments to this page (national shapes, regional shapes).
Step 2.c. Add most recent 'standard' xml files
This page contains the most recent version of some of the 'standard' configuration files which are still subject to change.
The following files should be added to the directory structure. The files are structured per directory name.
DisplayConfigFiles
MapLayerFiles
ModuleConfigFiles
RegionConfigFiles
SystemConfigFiles
UnitConversionsFiles
WorkflowFiles
Step 2.d. Create associated executable for testing purposes
- Unzip MyRegion.jpif.zip to the \bin-directory.
- Rename MyRegion.exe to <Region>.exe
- Rename MyRegion.jpif to <Region>.jpif
- Open the jpif-file and replace the last line by the Region-directory. The content should be as follows:
..\jre
-mx1024m
-cp
$JARS_PATH$
nl.wldelft.fews.gui.explorer.Application
<Region>