Author: bcarothers
Date: 2009-08-06 11:29:02 -0400 (Thu, 06 Aug 2009)
New Revision: 1153
Modified:
trunk/extensions/dna-connector-filesystem/src/main/java/org/jboss/dna/connector/filesystem/FileSystemRequestProcessor.java
trunk/extensions/dna-connector-filesystem/src/main/resources/org/jboss/dna/connector/filesystem/FileSystemI18n.properties
Log:
Expanded error message to get more info about Hudson failure
Modified:
trunk/extensions/dna-connector-filesystem/src/main/java/org/jboss/dna/connector/filesystem/FileSystemRequestProcessor.java
===================================================================
---
trunk/extensions/dna-connector-filesystem/src/main/java/org/jboss/dna/connector/filesystem/FileSystemRequestProcessor.java 2009-08-06
15:02:52 UTC (rev 1152)
+++
trunk/extensions/dna-connector-filesystem/src/main/java/org/jboss/dna/connector/filesystem/FileSystemRequestProcessor.java 2009-08-06
15:29:02 UTC (rev 1153)
@@ -1040,7 +1040,8 @@
if (len > maxPathLength - delta) {
String msg =
FileSystemI18n.maxPathLengthExceeded.text(this.maxPathLength,
this.getSourceName(),
-
root.getCanonicalPath());
+
root.getCanonicalPath(),
+ delta);
throw new RepositorySourceException(this.getSourceName(), msg);
}
Modified:
trunk/extensions/dna-connector-filesystem/src/main/resources/org/jboss/dna/connector/filesystem/FileSystemI18n.properties
===================================================================
---
trunk/extensions/dna-connector-filesystem/src/main/resources/org/jboss/dna/connector/filesystem/FileSystemI18n.properties 2009-08-06
15:02:52 UTC (rev 1152)
+++
trunk/extensions/dna-connector-filesystem/src/main/resources/org/jboss/dna/connector/filesystem/FileSystemI18n.properties 2009-08-06
15:29:02 UTC (rev 1153)
@@ -55,4 +55,4 @@
deleteFailed = Could not delete file at path "{0}" in workspace "{1}"
in {2}
copyFailed = Could not copy file at path "{0}" in workspace "{1}" to
path "{2}" in workspace "{3}" in {4}
getCanonicalPathFailed = Could not determine canonical path
-maxPathLengthExceeded = The maximum absolute path length ({0}) for source "{1}"
was exceeded by the node at: {2}
+maxPathLengthExceeded = The maximum absolute path length ({0}) for source "{1}"
was exceeded by the node at: {2} ({3})
Show replies by date