From: Aron Roberts Date: Wed, 26 Mar 2014 19:57:29 +0000 (-0700) Subject: CSPACE-6345: Improved error message when prototype Nuxeo per-repository config file... X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=993697474c18059511d9a1741e158b95177bf7d4;p=tmp%2Fjakarta-migration.git CSPACE-6345: Improved error message when prototype Nuxeo per-repository config file is missing from its expected location. --- 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); }