diff --git a/src/var/FeatureModelImplGenerator/template/Main.jak b/src/var/FeatureModelImplGenerator/template/Main.jak index cd2fc8dd4483f52a8c4c42afa70aa93bd8e30743..9af040ca4266ddce26881c997265745447cecebf 100644 --- a/src/var/FeatureModelImplGenerator/template/Main.jak +++ b/src/var/FeatureModelImplGenerator/template/Main.jak @@ -38,8 +38,7 @@ public class Configurator { //path to the testcase compliler private String m_sTestCaseCompilerPath = "../../../build/test/compiler/compiler.dll"; //arguments for the testcase compiler - //TODO: Set paths - private String[] m_aCompilerArgs = new String[] {"path1", "path2"}; + private String[] m_aCompilerArgs = new String[] {"../../test/testfaelle", "../../../build/test/compiler/testfaelle"}; //document representation of the feature model private Document m_oFeatureModelDoc; @@ -126,7 +125,7 @@ public class Configurator { //TODO launch compiler try { - Process oTestCaseCompiler = Runtime.getRuntime().exec("dotnet " + m_sTestManagerPath + m_aCompilerArgs[0] + " " + m_aCompilerArgs[1]); + Process oTestCaseCompiler = Runtime.getRuntime().exec("dotnet " + m_sTestManagerPath + " " + m_aCompilerArgs[0] + " " + m_aCompilerArgs[1]); BufferedReader oOutput = new BufferedReader(new InputStreamReader(oTestCaseCompiler.getInputStream())); String sOutput = null; while ((sOutput = oOutput.readLine()) != null) { @@ -138,6 +137,7 @@ public class Configurator { //TODO launch test manager try { + Process oChMod = Runtime.getRuntime().exec("chmod u+x"+ m_sTestManagerPath); Process oTestManager = Runtime.getRuntime().exec(m_sTestManagerPath); BufferedReader oOutput = new BufferedReader(new InputStreamReader(oTestManager.getInputStream())); String sOutput = null;