/[projects]/dao/FuldDaekningWorker/src/dk/daoas/fulddaekning/Lookup.java
ViewVC logotype

Diff of /dao/FuldDaekningWorker/src/dk/daoas/fulddaekning/Lookup.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2157 by torben, Sat May 10 08:24:55 2014 UTC revision 2158 by torben, Sat May 10 09:26:42 2014 UTC
# Line 14  import java.util.logging.Logger; Line 14  import java.util.logging.Logger;
14  import dk.daoas.fulddaekning.BoundingBox.BoundingBoxException;  import dk.daoas.fulddaekning.BoundingBox.BoundingBoxException;
15    
16  public class Lookup {  public class Lookup {
17    
18            static final String CONFIG_FILENAME = "fulddaekning.properties";
19    
20          static int max_workers;          static int max_workers;
21          static boolean verbose;          static boolean verbose;
22                    
# Line 155  public class Lookup { Line 158  public class Lookup {
158                    
159          public static void main(String[] args) throws Exception {          public static void main(String[] args) throws Exception {
160                                    
161                  File confFile = new File("fulddaekning.properties");                  File confFile = new File( CONFIG_FILENAME );
162                  if (! confFile.exists() ) {                  if (! confFile.exists() ) {
163                          logger.warning("Config file not found");                          logger.warning("Config file not found: " + CONFIG_FILENAME);
164                          System.exit(1);                          System.exit(1);
165                  }                  }
166                                                                    

Legend:
Removed from v.2157  
changed lines
  Added in v.2158

  ViewVC Help
Powered by ViewVC 1.1.20