]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-6345: Improved error message when prototype Nuxeo per-repository config file...
authorAron Roberts <aron@socrates.berkeley.edu>
Wed, 26 Mar 2014 19:57:29 +0000 (12:57 -0700)
committerAron Roberts <aron@socrates.berkeley.edu>
Wed, 26 Mar 2014 19:57:29 +0000 (12:57 -0700)
services/common/src/main/java/org/collectionspace/services/common/ServiceMain.java

index 95b3b684337050ce8947590153b9a5a5c65fb744..b4a3d4f2e41b4e3c6d45b98a717b286b7852b46f 100644 (file)
@@ -853,7 +853,8 @@ public class ServiceMain {
         // rather than always failing outright if the prototype file for creating\r
         // new or updated files can't be located.\r
         if (! prototypeNuxeoConfigFile.canRead()) {\r
-            String msg = String.format("Could not find and/or read the prototype Nuxeo config file '%s'",\r
+            String msg = String.format("Could not find and/or read the prototype Nuxeo config file '%s'. "\r
+                    + "Please redeploy this file by running 'ant deploy' from the Services layer source code's '3rdparty/nuxeo' module.",\r
                     prototypeNuxeoConfigFile.getCanonicalPath());\r
             throw new RuntimeException(msg);\r
         }\r