You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2005/01/21 22:47:40 UTC

svn commit: r125967 - /lenya/trunk/build.properties /lenya/trunk/src/targets/properties-build.xml

Author: michi
Date: Fri Jan 21 13:47:39 2005
New Revision: 125967

URL: http://svn.apache.org/viewcvs?view=rev&rev=125967
Log:
make sure that local properties are in sync with pre-set build properties
Modified:
   lenya/trunk/build.properties
   lenya/trunk/src/targets/properties-build.xml

Modified: lenya/trunk/build.properties
Url: http://svn.apache.org/viewcvs/lenya/trunk/build.properties?view=diff&rev=125967&p1=lenya/trunk/build.properties&r1=125966&p2=lenya/trunk/build.properties&r2=125967
==============================================================================
--- lenya/trunk/build.properties	(original)
+++ lenya/trunk/build.properties	Fri Jan 21 13:47:39 2005
@@ -16,6 +16,13 @@
 
 
 #------------------------------------------------------------------------------------
+# Build properties version to make sure that local.build.properties is kept in sync
+# NOTE: Do NOT modify this number
+
+build.properties.version=125896
+
+
+#------------------------------------------------------------------------------------
 # The root of the Cocoon source tree
 
 cocoon.src.dir=../cocoon-2.1.6

Modified: lenya/trunk/src/targets/properties-build.xml
Url: http://svn.apache.org/viewcvs/lenya/trunk/src/targets/properties-build.xml?view=diff&rev=125967&p1=lenya/trunk/src/targets/properties-build.xml&r1=125966&p2=lenya/trunk/src/targets/properties-build.xml&r2=125967
==============================================================================
--- lenya/trunk/src/targets/properties-build.xml	(original)
+++ lenya/trunk/src/targets/properties-build.xml	Fri Jan 21 13:47:39 2005
@@ -34,6 +34,12 @@
   <property file="local.build.properties"/>
   <property file="build.properties"/>
 
+  <condition property="local.properties.in.sync">
+    <equals arg1="${build.properties.version}" arg2="125896"/>
+  </condition>
+
+  <fail unless="local.properties.in.sync" message="It seems that your local.build.properties is NOT in sync with build.properties! The file build.properties has probably been modified by some Apache Lenya developer. Re-copy build.properties to local.build.properties and re-set your local properties to get the two files back in sync. Please apologoize the inconvenience."/>
+
   <!-- Project version and name -->
   <property name="version" value="1.4-dev"/>
   <property name="fullname" value="${ant.project.name}-${version}"/>

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org