You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by xi...@apache.org on 2011/04/04 15:45:08 UTC

svn commit: r1088622 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/template/Template.groovy

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"