cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject svn commit: r123673 - /cocoon/branches/BRANCH_2_1_X/tools/src/anttasks/XConfToolTask.java
Date Wed, 29 Dec 2004 20:29:38 GMT
Author: sylvain
Date: Wed Dec 29 12:29:38 2004
New Revision: 123673

URL: http://svn.apache.org/viewcvs?view=rev&rev=123673
Log:
Raise an error when patch file is inconsistent rather than just a warning
Modified:
   cocoon/branches/BRANCH_2_1_X/tools/src/anttasks/XConfToolTask.java

Modified: cocoon/branches/BRANCH_2_1_X/tools/src/anttasks/XConfToolTask.java
Url: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/tools/src/anttasks/XConfToolTask.java?view=diff&rev=123673&p1=cocoon/branches/BRANCH_2_1_X/tools/src/anttasks/XConfToolTask.java&r1=123672&p2=cocoon/branches/BRANCH_2_1_X/tools/src/anttasks/XConfToolTask.java&r2=123673
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/tools/src/anttasks/XConfToolTask.java	(original)
+++ cocoon/branches/BRANCH_2_1_X/tools/src/anttasks/XConfToolTask.java	Wed Dec 29 12:29:38
2004
@@ -228,8 +228,7 @@
         String basename = basename(filename);
 
         if (!elem.getTagName().equals(extension)) {
-            log("Skipping non xconf-tool file: "+filename);
-            return false;
+	    throw new BuildException("Not a valid xpatch file: "+filename);
         }
 
         String replacePropertiesStr = elem.getAttribute("replace-properties");

Mime
View raw message