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 @@ ...@@ -17,8 +17,8 @@
// export const GHCI_URL = 'ws://192.168.129.3:9090/endpoint'; // export const GHCI_URL = 'ws://192.168.129.3:9090/endpoint';
// Google cloud platform // Google cloud platform
// export const SERVER = 'http://35.199.110.129:9090'; export const SERVER = 'http://35.199.110.129:9090';
// export const GHCI_URL = 'ws://35.199.110.129:9090/endpoint'; export const GHCI_URL = 'ws://35.199.110.129:9090/endpoint';
export const SERVER = 'http://localhost:8080'; // export const SERVER = 'http://localhost:8080';
export const GHCI_URL = 'ws://localhost:8080/endpoint'; // export const GHCI_URL = 'ws://localhost:8080/endpoint';
...@@ -47,11 +47,10 @@ ...@@ -47,11 +47,10 @@
<version>2.9.0</version> <version>2.9.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.commons</groupId> <groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId> <artifactId>commons-text</artifactId>
<version>3.0</version> <version>1.4</version>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
......
...@@ -203,6 +203,7 @@ public class CommandsBean { ...@@ -203,6 +203,7 @@ public class CommandsBean {
this.proceso.destroy(); 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 fullPathMatefun = context.getRealPath("/WEB-INF/classes/edu/proygrado/binarios/MateFun");
String fullPathMatefunTmp = context.getRealPath("/WEB-INF/classes/edu/proygrado/binarios/MateFunTmp")+"/"; String fullPathMatefunTmp = context.getRealPath("/WEB-INF/classes/edu/proygrado/binarios/MateFunTmp")+"/";
...@@ -225,7 +226,7 @@ public class CommandsBean { ...@@ -225,7 +226,7 @@ public class CommandsBean {
} }
if (this.i18n == null) { 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()) { if (config != null && config.isArgumentoI() && config.isArgumentoF()) {
...@@ -247,6 +248,8 @@ public class CommandsBean { ...@@ -247,6 +248,8 @@ public class CommandsBean {
} }
this.latch = new CountDownLatch(2); this.latch = new CountDownLatch(2);
this.builder.directory(new File(fullPathBinarios));
Map<String, String> envs = this.builder.environment(); Map<String, String> envs = this.builder.environment();
......
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