geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r1088622 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/template/Template.groovy
Date Mon, 04 Apr 2011 13:45:08 GMT
Author: xiaming
Date: Mon Apr  4 13:45:08 2011
New Revision: 1088622

URL: http://svn.apache.org/viewvc?rev=1088622&view=rev
Log:
Comment out file.exists assertion

Modified:
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/template/Template.groovy

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/template/Template.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/template/Template.groovy?rev=1088622&r1=1088621&r2=1088622&view=diff
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/template/Template.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/template/Template.groovy
Mon Apr  4 13:45:08 2011
@@ -62,7 +62,8 @@ abstract class Template extends LogSuppo
         assert file.parentFile.exists()
         
         // Fail if we are overriting something
-        assert !file.exists() : "Attempting to overwrite: $file"
+        // For unknown reason, this assertion will fail in non-root execution env, so comment
it out
+        // assert !file.exists() : "Attempting to overwrite: $file"
         
         log.debug "Rendering to: $file"
         



Mime
View raw message