00001 package webscripts;
00002
00003 import java.io.*;
00004 import java.util.*;
00005
00006 import ProdDatabase.*;
00007
00008 public class makeReferenceFiles implements SCTDBInfo {
00009
00010 public static void main(String[] args) {
00011
00012 if(args.length==0) {
00013 System.err.println("Requires target directory as first argument.");
00014 System.exit(0);
00015 }
00016 String targetDir = args[0];
00017
00018
00019 try {
00020 LOOP:
00021 for(int i=0;i<sctdaqNormalTestNames.length;i++) {
00022 switch(i) {
00023 case SCTDB_TEST_RESET:
00024 case SCTDB_TEST_REDUNDANCY:
00025 case SCTDB_TEST_LONGTERM:
00026 case SCTDB_TEST_IV:
00027 continue LOOP;
00028 default:
00029 generalScripts.makeDataReferenceFile2(targetDir, i, true);
00030 generalScripts.makeDataReferenceFile2(targetDir, i, false);
00031 }
00032 }
00033 System.out.println("Completed.");
00034
00035 }catch(Exception e){System.err.println(e.toString());}
00036
00037 }
00038 }