You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2005/03/09 02:03:34 UTC
svn commit: r156589 - lenya/trunk/src/targets/webapp-build.xml
Author: gregor
Date: Tue Mar 8 17:03:33 2005
New Revision: 156589
URL: http://svn.apache.org/viewcvs?view=rev&rev=156589
Log:
Made sure cocoon.xconf is only copied if it has changed. This resolves http://issues.apache.org/bugzilla/show_bug.cgi?id=33847
Modified:
lenya/trunk/src/targets/webapp-build.xml
Modified: lenya/trunk/src/targets/webapp-build.xml
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/targets/webapp-build.xml?view=diff&r1=156588&r2=156589
==============================================================================
--- lenya/trunk/src/targets/webapp-build.xml (original)
+++ lenya/trunk/src/targets/webapp-build.xml Tue Mar 8 17:03:33 2005
@@ -73,10 +73,11 @@
property="${cocoon.xconf.md5}"
verifyProperty="cocoon.xconf.isEqual"/>
<condition property="cocoon.xconf.copy">
- <istrue value="${cocoon.xconf.isEqual}"/>
+ <isfalse value="${cocoon.xconf.isEqual}"/>
</condition>
<antcall target="copy-cocoon.xconf"/>
- <antcall target="delete-cocoon.xconf.ant_patch"/>
+ <delete file="${build.webapp}/WEB-INF/cocoon.xconf.ant_patch"/>
+
<!-- Patch web.xml -->
<!--
<echo>INFO: Patch web.xml</echo>
@@ -174,11 +175,6 @@
<copy
file="${build.webapp}/WEB-INF/cocoon.xconf.ant_patch"
toFile="${build.webapp}/WEB-INF/cocoon.xconf"/>
- </target>
- <!-- ... or delete patch file -->
- <target name="delete-cocoon.xconf.ant_patch" unless="cocoon.xconf.copy">
- <echo>INFO: Discard patched cocoon.xconf.</echo>
- <delete file="${build.webapp}/WEB-INF/cocoon.xconf.ant_patch"/>
</target>
<!--
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org