Commit 7ab49d2f authored by Ignacio Fagian's avatar Ignacio Fagian
Browse files

Se arregla referencia apache utils en pom.xml, se reutiliza carpeta i18n del binario en java

parent 75e3b852
......@@ -17,8 +17,8 @@
// export const GHCI_URL = 'ws://192.168.129.3:9090/endpoint';
// Google cloud platform
// export const SERVER = 'http://35.199.110.129:9090';
// export const GHCI_URL = 'ws://35.199.110.129:9090/endpoint';
export const SERVER = 'http://35.199.110.129:9090';
export const GHCI_URL = 'ws://35.199.110.129:9090/endpoint';
export const SERVER = 'http://localhost:8080';
export const GHCI_URL = 'ws://localhost:8080/endpoint';
// export const SERVER = 'http://localhost:8080';
// export const GHCI_URL = 'ws://localhost:8080/endpoint';
......@@ -48,10 +48,9 @@
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.0</version>
<artifactId>commons-text</artifactId>
<version>1.4</version>
</dependency>
</dependencies>
<build>
......
......@@ -203,6 +203,7 @@ public class CommandsBean {
this.proceso.destroy();
}
String fullPathBinarios = context.getRealPath("/WEB-INF/classes/edu/proygrado/binarios");
String fullPathMatefun = context.getRealPath("/WEB-INF/classes/edu/proygrado/binarios/MateFun");
String fullPathMatefunTmp = context.getRealPath("/WEB-INF/classes/edu/proygrado/binarios/MateFunTmp")+"/";
......@@ -225,7 +226,7 @@ public class CommandsBean {
}
if (this.i18n == null) {
this.i18n = this.i18nEJB.getLanguage(context.getRealPath("/WEB-INF/classes/edu/proygrado/binarios/i18n"), userLang);
this.i18n = this.i18nEJB.getLanguage(context.getRealPath("/WEB-INF/classes/edu/proygrado/binarios/internationalization"), userLang);
}
if (config != null && config.isArgumentoI() && config.isArgumentoF()) {
......@@ -248,6 +249,8 @@ public class CommandsBean {
}
this.latch = new CountDownLatch(2);
this.builder.directory(new File(fullPathBinarios));
Map<String, String> envs = this.builder.environment();
envs.put("LANGUAGE", userLang);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment