You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

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

  1. Unzip MyRegion.jpif.zip to the \bin-directory.
  2. Rename MyRegion.exe to <Region>.exe
  3. Rename MyRegion.jpif to <Region>.jpif
  4. 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>

  • No labels