aboutsummaryrefslogtreecommitdiffstats
path: root/application-preprocessor
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2018-01-19 08:06:08 +0100
committerJon Bratseth <bratseth@yahoo-inc.com>2018-01-19 08:06:08 +0100
commit8031bcabb45459bf94a50bd162b985658015aaf4 (patch)
tree3e397992cc0d6a2e1a7a3d2a2e8d94db74152baf /application-preprocessor
parentecf871bfa302fa42d3675eda8156cb4bae9790a9 (diff)
Always write tensor binary files when possible
The application package is read in two locations, the uploaded location and the ".preprocessed" location. We need to produce tensor binaries each time, even though the ranking constants seemlingly survives from one to the other.
Diffstat (limited to 'application-preprocessor')
-rw-r--r--application-preprocessor/src/main/java/com/yahoo/application/preprocessor/ApplicationPreprocessor.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/application-preprocessor/src/main/java/com/yahoo/application/preprocessor/ApplicationPreprocessor.java b/application-preprocessor/src/main/java/com/yahoo/application/preprocessor/ApplicationPreprocessor.java
index fa9dfe69c5d..73110a06151 100644
--- a/application-preprocessor/src/main/java/com/yahoo/application/preprocessor/ApplicationPreprocessor.java
+++ b/application-preprocessor/src/main/java/com/yahoo/application/preprocessor/ApplicationPreprocessor.java
@@ -59,7 +59,8 @@ public class ApplicationPreprocessor {
ApplicationPreprocessor preprocessor = new ApplicationPreprocessor(applicationDir, outputDir, environment, region);
try {
preprocessor.run();
- System.out.println("Application preprocessed successfully. Preprocessed application stored in " + new File(applicationDir, ".preprocessed").getAbsolutePath());
+ System.out.println("Application preprocessed successfully. Preprocessed application stored in " +
+ new File(applicationDir, ".preprocessed").getAbsolutePath());
} catch (Exception e) {
System.err.println("Error validating application package: " + Exceptions.toMessageString(e));
System.exit(1);