Skip to content

Commit 34231df

Browse files
committed
fixed #295
1 parent 8eaf727 commit 34231df

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

ml-data-hub-plugin/build.gradle

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,6 @@ dependencies {
4242
}
4343
}
4444

45-
gradlePlugin {
46-
plugins {
47-
simplePlugin {
48-
id = "com.marklogic.ml-data-hub"
49-
implementationClass = "com.marklogic.gradle.DataHubPlugin"
50-
}
51-
}
52-
}
53-
5445
task sourcesJar(type: Jar, dependsOn: classes) {
5546
classifier 'sources'
5647
from sourceSets.main.allJava

quick-start/src/main/java/com/marklogic/quickstart/util/MlcpOutputStreamInterceptor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ public synchronized void write(byte b[], int off, int len) {
3535

3636
byte[] buf = Arrays.copyOfRange(b, off, off + len - 1);
3737
String status = new String(buf);
38-
if (status.contains("ERROR")) {
38+
// don't log an error if the winutils binary is missing
39+
if (status.contains("ERROR") && !status.contains("winutils binary")) {
3940
listener.onError();
4041
}
4142

0 commit comments

Comments
 (0)