Skip to content

Commit f30e384

Browse files
committed
Fixing issue 87 with maven wrapper
1 parent 5d14706 commit f30e384

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/ibm/cldk/utils/BuildProject.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ private static String getGradleCmd() {
5454
String gradleWrapperExists = new File(projectRootPom, gradleWrapper).exists() ? "true" : "false";
5555

5656
if (new File(projectRootPom, gradleWrapper).exists()) {
57-
GRADLE_CMD = gradleWrapper;
57+
GRADLE_CMD = String.valueOf(new File(projectRootPom, gradleWrapper));
5858
} else {
5959
GRADLE_CMD = gradle;
6060
}
@@ -112,6 +112,7 @@ private static boolean commandExists(String command) {
112112
int exitCode = process.waitFor();
113113
return exitCode == 0;
114114
} catch (IOException | InterruptedException exceptions) {
115+
exceptions.printStackTrace();
115116
return false;
116117
}
117118
}

0 commit comments

Comments
 (0)