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

Compare with Current View Page History

« Previous Version 3 Next »

2.A Define a root-directory for the application

Assumption:

  • The NGMS-root directory is located at D:\NGMS
  • The NGMS-root directory contains the FEWS-binary, located D:\NGMS\bin
  • the NGMS-root directory contains the Java RunTime Environment (version 1.5.0_11), located in D:\NGMS\jre

Sample names:

  • the Region-directory is named MyRegion and is located in D:\NGMS\MyRegion
  • the model abbreviation is named XXX
  • the full model name is YYY

2.B Populate the directory

Unzip Sampleregion.zip into the region directory

2.C Create associated executable for testing

In the NGMS\bin-directory, copy and rename javaw.exe to MyRegion.exe
In the NGMS\bin-directory, copy and rename NGMSapp.jpif to MyRegion.jpif

Open the jpif-file and replace the last line by the region-directory

..\jre
-mx1024m
-cp
$JARS_PATH$
nl.wldelft.fews.gui.explorer.Application
MyRegion

  • No labels