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/28 10:59:59 UTC

svn commit: r148869 - /lenya/branches/BRANCH_1_2_X/build.properties /lenya/branches/BRANCH_1_2_X/src/targets/properties-build.xml

Author: michi
Date: Fri Jan 28 01:59:57 2005
New Revision: 148869

URL: http://svn.apache.org/viewcvs?view=rev&rev=148869
Log:
build properties version added in order to check if local build properties is in sync
Modified:
   lenya/branches/BRANCH_1_2_X/build.properties
   lenya/branches/BRANCH_1_2_X/src/targets/properties-build.xml

Modified: lenya/branches/BRANCH_1_2_X/build.properties
Url: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/build.properties?view=diff&rev=148869&p1=lenya/branches/BRANCH_1_2_X/build.properties&r1=148868&p2=lenya/branches/BRANCH_1_2_X/build.properties&r2=148869
==============================================================================
--- lenya/branches/BRANCH_1_2_X/build.properties	(original)
+++ lenya/branches/BRANCH_1_2_X/build.properties	Fri Jan 28 01:59:57 2005
@@ -14,6 +14,16 @@
 
 # Properties controlling the build process 
 
+
+#------------------------------------------------------------------------------------
+# Build properties version to make sure that local.build.properties is kept in sync
+# NOTE: Do NOT modify this number unless you are a Dev and want to modify this file
+# NOTE for Devs: Update this number if this file is being updated.
+#                Also update the version number within src/targets/properties-build.xml
+
+build.properties.version=128440
+
+
 #------------------------------------------------------------------------------------
 # The root of the Cocoon source tree
 # NOTE: Lenya cannot be built offline with Cocoon-2.1.5.1 because of a unresolvable

Modified: lenya/branches/BRANCH_1_2_X/src/targets/properties-build.xml
Url: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/targets/properties-build.xml?view=diff&rev=148869&p1=lenya/branches/BRANCH_1_2_X/src/targets/properties-build.xml&r1=148868&p2=lenya/branches/BRANCH_1_2_X/src/targets/properties-build.xml&r2=148869
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/targets/properties-build.xml	(original)
+++ lenya/branches/BRANCH_1_2_X/src/targets/properties-build.xml	Fri Jan 28 01:59:57 2005
@@ -34,6 +34,13 @@
   <property file="local.build.properties"/>
   <property file="build.properties"/>
 
+  <condition property="local.properties.in.sync">
+    <equals arg1="${build.properties.version}" arg2="128440"/>
+  </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.2.2-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