From 993697474c18059511d9a1741e158b95177bf7d4 Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Wed, 26 Mar 2014 12:57:29 -0700 Subject: [PATCH] CSPACE-6345: Improved error message when prototype Nuxeo per-repository config file is missing from its expected location. --- .../java/org/collectionspace/services/common/ServiceMain.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/common/src/main/java/org/collectionspace/services/common/ServiceMain.java b/services/common/src/main/java/org/collectionspace/services/common/ServiceMain.java index 95b3b6843..b4a3d4f2e 100644 --- a/services/common/src/main/java/org/collectionspace/services/common/ServiceMain.java +++ b/services/common/src/main/java/org/collectionspace/services/common/ServiceMain.java @@ -853,7 +853,8 @@ public class ServiceMain { // rather than always failing outright if the prototype file for creating // new or updated files can't be located. if (! prototypeNuxeoConfigFile.canRead()) { - String msg = String.format("Could not find and/or read the prototype Nuxeo config file '%s'", + String msg = String.format("Could not find and/or read the prototype Nuxeo config file '%s'. " + + "Please redeploy this file by running 'ant deploy' from the Services layer source code's '3rdparty/nuxeo' module.", prototypeNuxeoConfigFile.getCanonicalPath()); throw new RuntimeException(msg); } -- 2.47.3