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 backtarcking purposes the associated ESRI-shape files are available as attachments to this page (national shapes, regional shapes).
Step 2.C 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>