You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by ep...@apache.org on 2004/02/12 19:46:12 UTC
cvs commit: jakarta-turbine-fulcrum/intake/src/java/org/apache/fulcrum/intake IntakeServiceImpl.java
epugh 2004/02/12 10:46:12
Modified: intake/src/java/org/apache/fulcrum/intake
IntakeServiceImpl.java
Log:
More explicit error message
Revision Changes Path
1.4 +3 -3 jakarta-turbine-fulcrum/intake/src/java/org/apache/fulcrum/intake/IntakeServiceImpl.java
Index: IntakeServiceImpl.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-fulcrum/intake/src/java/org/apache/fulcrum/intake/IntakeServiceImpl.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- IntakeServiceImpl.java 15 Nov 2003 16:05:18 -0000 1.3
+++ IntakeServiceImpl.java 12 Feb 2004 18:46:12 -0000 1.4
@@ -625,12 +625,12 @@
for (Iterator it = xmlPathes.iterator(); it.hasNext();) {
// Files are webapp.root relative
String xmlPath = (String) it.next();
- File xmlFile = new File( applicationRoot, xmlPath);
+ File xmlFile = new File( applicationRoot, xmlPath).getAbsoluteFile();
log.debug("Path for XML File: " + xmlFile);
if (!xmlFile.canRead()) {
- String READ_ERR = "Could not read input file " + xmlPath;
+ String READ_ERR = "Could not read input file with path " + xmlPath +". Looking for file " + xmlFile;
log.error(READ_ERR);
throw new ConfigurationException(READ_ERR);
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org