You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by vd...@apache.org on 2016/11/30 08:09:00 UTC

svn commit: r1772000 - /openmeetings/application/branches/3.1.x/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/install/InstallWizard.java

Author: vdegtyarev
Date: Wed Nov 30 08:09:00 2016
New Revision: 1772000

URL: http://svn.apache.org/viewvc?rev=1772000&view=rev
Log:
OPENMEETINGS-1513 minor changes. Build error for 3.1.x is fixed

Modified:
    openmeetings/application/branches/3.1.x/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/install/InstallWizard.java

Modified: openmeetings/application/branches/3.1.x/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/install/InstallWizard.java
URL: http://svn.apache.org/viewvc/openmeetings/application/branches/3.1.x/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/install/InstallWizard.java?rev=1772000&r1=1771999&r2=1772000&view=diff
==============================================================================
--- openmeetings/application/branches/3.1.x/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/install/InstallWizard.java (original)
+++ openmeetings/application/branches/3.1.x/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/install/InstallWizard.java Wed Nov 30 08:09:00 2016
@@ -551,10 +551,10 @@ public class InstallWizard extends Abstr
 		
 		private boolean checkToolPath(TextField<String> path, String[] args) {
 			ConverterProcessResult result = ProcessHelper.executeScript(path.getInputName() + " path:: '" + path.getValue() + "'", args);
-			if (!result.isOk()) {
+			if (!result.getExitValue().equals("0")) {
 				path.error(result.getError().replaceAll(regex, ""));
 			}
-			return result.isOk();
+			return result.getExitValue().equals("0");
 		}
 		
 		private boolean checkOfficePath() {