You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@etch.apache.org by di...@apache.org on 2009/01/28 23:36:21 UTC

svn commit: r738652 - in /incubator/etch/branches/release-1.0.2/examples: chat/build.xml chat/dist-build.xml distmap/build.xml distmap/dist-build.xml example/build.xml example/dist-build.xml perf/build.xml perf/dist-build.xml

Author: dixson
Date: Wed Jan 28 22:36:21 2009
New Revision: 738652

URL: http://svn.apache.org/viewvc?rev=738652&view=rev
Log:
make examples more tolerant of changes in the etch version

Modified:
    incubator/etch/branches/release-1.0.2/examples/chat/build.xml
    incubator/etch/branches/release-1.0.2/examples/chat/dist-build.xml
    incubator/etch/branches/release-1.0.2/examples/distmap/build.xml
    incubator/etch/branches/release-1.0.2/examples/distmap/dist-build.xml
    incubator/etch/branches/release-1.0.2/examples/example/build.xml
    incubator/etch/branches/release-1.0.2/examples/example/dist-build.xml
    incubator/etch/branches/release-1.0.2/examples/perf/build.xml
    incubator/etch/branches/release-1.0.2/examples/perf/dist-build.xml

Modified: incubator/etch/branches/release-1.0.2/examples/chat/build.xml
URL: http://svn.apache.org/viewvc/incubator/etch/branches/release-1.0.2/examples/chat/build.xml?rev=738652&r1=738651&r2=738652&view=diff
==============================================================================
--- incubator/etch/branches/release-1.0.2/examples/chat/build.xml (original)
+++ incubator/etch/branches/release-1.0.2/examples/chat/build.xml Wed Jan 28 22:36:21 2009
@@ -22,7 +22,7 @@
     <property name="Etch.buildSupportDirectory" location="../../build-support" />
 
     <!-- compute etch.version -->
-    <condition property="etch.version" value="1.0.1" >
+    <condition property="etch.version" value="${Etch.version}" >
         <not><isset property="etch.version" /></not>
     </condition>
 
@@ -262,7 +262,9 @@
     </target>
 
     <target name="dist-src" >
-        <copy file="dist-build.xml" tofile="${dist-src}/build.xml" overwrite="true" />
+        <copy file="dist-build.xml" tofile="${dist-src}/build.xml" overwrite="true" >
+            <filterset refid="Etch.buildTokens" />
+        </copy>    
         <copy file="dist-README.txt" tofile="${dist-src}/README.txt" overwrite="true" />
         
         <copy todir="${dist-src}/src/main/etch" overwrite="true" >

Modified: incubator/etch/branches/release-1.0.2/examples/chat/dist-build.xml
URL: http://svn.apache.org/viewvc/incubator/etch/branches/release-1.0.2/examples/chat/dist-build.xml?rev=738652&r1=738651&r2=738652&view=diff
==============================================================================
--- incubator/etch/branches/release-1.0.2/examples/chat/dist-build.xml (original)
+++ incubator/etch/branches/release-1.0.2/examples/chat/dist-build.xml Wed Jan 28 22:36:21 2009
@@ -3,7 +3,7 @@
     <description>Chat Example</description>
 
     <property name="etch.home" location="${basedir}/../.."/>
-    <property name="etch.version" value="1.0.1"/>
+    <property name="etch.version" value="@EtchVersion@"/>
     <property name="etch-java-runtime-name" value="etch-java-runtime-${etch.version}.jar"/>
 
     <property name="etch-ant-plugin.jar"   location="${etch.home}/lib/etch-ant-plugin-${etch.version}.jar"/>

Modified: incubator/etch/branches/release-1.0.2/examples/distmap/build.xml
URL: http://svn.apache.org/viewvc/incubator/etch/branches/release-1.0.2/examples/distmap/build.xml?rev=738652&r1=738651&r2=738652&view=diff
==============================================================================
--- incubator/etch/branches/release-1.0.2/examples/distmap/build.xml (original)
+++ incubator/etch/branches/release-1.0.2/examples/distmap/build.xml Wed Jan 28 22:36:21 2009
@@ -22,7 +22,7 @@
     <property name="Etch.buildSupportDirectory" location="../../build-support" />
 
     <!-- compute etch.version -->
-    <condition property="etch.version" value="1.0.1" >
+    <condition property="etch.version" value="${Etch.version}" >
         <not><isset property="etch.version" /></not>
     </condition>
 
@@ -258,7 +258,9 @@
     </target>
 
      <target name="dist-src" >
-        <copy file="dist-build.xml" tofile="${dist-src}/build.xml" overwrite="true" />
+         <copy file="dist-build.xml" tofile="${dist-src}/build.xml" overwrite="true" >
+             <filterset refid="Etch.buildTokens" />
+         </copy>
         <copy file="dist-README.txt" tofile="${dist-src}/README.txt" overwrite="true" />
         
         <copy todir="${dist-src}/src/main/etch" overwrite="true" >

Modified: incubator/etch/branches/release-1.0.2/examples/distmap/dist-build.xml
URL: http://svn.apache.org/viewvc/incubator/etch/branches/release-1.0.2/examples/distmap/dist-build.xml?rev=738652&r1=738651&r2=738652&view=diff
==============================================================================
--- incubator/etch/branches/release-1.0.2/examples/distmap/dist-build.xml (original)
+++ incubator/etch/branches/release-1.0.2/examples/distmap/dist-build.xml Wed Jan 28 22:36:21 2009
@@ -3,7 +3,7 @@
     <description>Distributed Map Example</description>
 
     <property name="etch.home" location="${basedir}/../.."/>
-    <property name="etch.version" value="1.0.1"/>
+    <property name="etch.version" value="@EtchVersion@"/>
     <property name="etch-java-runtime-name" value="etch-java-runtime-${etch.version}.jar"/>
 
     <property name="etch-ant-plugin.jar"   location="${etch.home}/lib/etch-ant-plugin-${etch.version}.jar"/>

Modified: incubator/etch/branches/release-1.0.2/examples/example/build.xml
URL: http://svn.apache.org/viewvc/incubator/etch/branches/release-1.0.2/examples/example/build.xml?rev=738652&r1=738651&r2=738652&view=diff
==============================================================================
--- incubator/etch/branches/release-1.0.2/examples/example/build.xml (original)
+++ incubator/etch/branches/release-1.0.2/examples/example/build.xml Wed Jan 28 22:36:21 2009
@@ -22,7 +22,7 @@
     <property name="Etch.buildSupportDirectory" location="../../build-support" />
 
     <!-- compute etch.version -->
-    <condition property="etch.version" value="1.0.1" >
+    <condition property="etch.version" value="${Etch.version}" >
         <not><isset property="etch.version" /></not>
     </condition>
 
@@ -260,7 +260,9 @@
     </target>
     
     <target name="dist-src" >
-        <copy file="dist-build.xml" tofile="${dist-src}/build.xml" overwrite="true" />
+        <copy file="dist-build.xml" tofile="${dist-src}/build.xml" overwrite="true" >
+            <filterset refid="Etch.buildTokens" />
+        </copy>    
         <copy file="dist-README.txt" tofile="${dist-src}/README.txt" overwrite="true" />
         
         <copy todir="${dist-src}/src/main/etch" overwrite="true" >

Modified: incubator/etch/branches/release-1.0.2/examples/example/dist-build.xml
URL: http://svn.apache.org/viewvc/incubator/etch/branches/release-1.0.2/examples/example/dist-build.xml?rev=738652&r1=738651&r2=738652&view=diff
==============================================================================
--- incubator/etch/branches/release-1.0.2/examples/example/dist-build.xml (original)
+++ incubator/etch/branches/release-1.0.2/examples/example/dist-build.xml Wed Jan 28 22:36:21 2009
@@ -3,7 +3,7 @@
     <description>Example Example</description>
 
     <property name="etch.home" location="${basedir}/../.."/>
-    <property name="etch.version" value="1.0.1"/>
+    <property name="etch.version" value="@EtchVersion@"/>
     <property name="etch-java-runtime-name" value="etch-java-runtime-${etch.version}.jar"/>
 
     <property name="etch-ant-plugin.jar"   location="${etch.home}/lib/etch-ant-plugin-${etch.version}.jar"/>

Modified: incubator/etch/branches/release-1.0.2/examples/perf/build.xml
URL: http://svn.apache.org/viewvc/incubator/etch/branches/release-1.0.2/examples/perf/build.xml?rev=738652&r1=738651&r2=738652&view=diff
==============================================================================
--- incubator/etch/branches/release-1.0.2/examples/perf/build.xml (original)
+++ incubator/etch/branches/release-1.0.2/examples/perf/build.xml Wed Jan 28 22:36:21 2009
@@ -22,7 +22,7 @@
     <property name="Etch.buildSupportDirectory" location="../../build-support" />
 
     <!-- compute etch.version -->
-    <condition property="etch.version" value="1.0.1" >
+    <condition property="etch.version" value="${Etch.version}" >
         <not><isset property="etch.version" /></not>
     </condition>
 
@@ -258,7 +258,9 @@
     </target>
 
    <target name="dist-src" >
-        <copy file="dist-build.xml" tofile="${dist-src}/build.xml" overwrite="true" />
+       <copy file="dist-build.xml" tofile="${dist-src}/build.xml" overwrite="true" >
+           <filterset refid="Etch.buildTokens" />
+       </copy>    
         <copy file="dist-README.txt" tofile="${dist-src}/README.txt" overwrite="true" />
         
         <copy todir="${dist-src}/src/main/etch" overwrite="true" >

Modified: incubator/etch/branches/release-1.0.2/examples/perf/dist-build.xml
URL: http://svn.apache.org/viewvc/incubator/etch/branches/release-1.0.2/examples/perf/dist-build.xml?rev=738652&r1=738651&r2=738652&view=diff
==============================================================================
--- incubator/etch/branches/release-1.0.2/examples/perf/dist-build.xml (original)
+++ incubator/etch/branches/release-1.0.2/examples/perf/dist-build.xml Wed Jan 28 22:36:21 2009
@@ -3,7 +3,7 @@
     <description>Perf Perf</description>
 
     <property name="etch.home" location="${basedir}/../.."/>
-    <property name="etch.version" value="1.0.1"/>
+    <property name="etch.version" value="@EtchVersion@"/>
     <property name="etch-java-runtime-name" value="etch-java-runtime-${etch.version}.jar"/>
 
     <property name="etch-ant-plugin.jar"   location="${etch.home}/lib/etch-ant-plugin-${etch.version}.jar"/>