Commit 8a259df6 authored by stancakapost's avatar stancakapost
Browse files

read the macro folder from config

parent c88a1d2f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -24,7 +24,9 @@ public class TestMacroProcessor {
		Properties config = new Properties();
		config.load(new FileInputStream(configFile));
		
		new TestMacroProcessor().run(new File(config.getProperty("input.ats.path")), new File(config.getProperty("output.ats.path")));
		TestMacroProcessor testMacroProcessor = new TestMacroProcessor();
		testMacroProcessor.macroFolder = new File(config.getProperty("macro.path"));
		testMacroProcessor.run(new File(config.getProperty("input.ats.path")), new File(config.getProperty("output.ats.path")));
	}

	public void run(File inputPath, File outputPath) throws IOException {