diff --git a/build.xml b/build.xml index ce5ac59..2c17861 100644 --- a/build.xml +++ b/build.xml @@ -42,14 +42,17 @@ - + + diff --git a/src/multeval/MultEval.java b/src/multeval/MultEval.java index 2acf795..95f3a7e 100644 --- a/src/multeval/MultEval.java +++ b/src/multeval/MultEval.java @@ -70,19 +70,19 @@ static int initThreads(final List> metrics, int threads) { return threads; } - private static String loadVersion() throws IOException { - Properties props = new Properties(); - FileInputStream in = new FileInputStream("constants"); - props.load(in); - in.close(); - String version = props.getProperty("version"); - return version; - } +// private static String loadVersion() throws IOException { +// Properties props = new Properties(); +// FileInputStream in = new FileInputStream("constants"); +// props.load(in); +// in.close(); +// String version = props.getProperty("version"); +// return version; +// } public static void main(String[] args) throws ConfigurationException, IOException, InterruptedException { - String version = loadVersion(); + String version = MultEval.class.getPackage().getImplementationVersion(); System.err.println(String.format("MultEval V%s\n", version) + "By Jonathan Clark\n" + "Using Libraries: METEOR (Michael Denkowski) and TER (Matthew Snover)\n");