Author: desruisseaux
Date: Wed Feb  4 17:08:26 2015
New Revision: 1657325

URL: http://svn.apache.org/r1657325
Log:
Ant script used for the release process need to be adapted to a code change in 
the Version class.

Modified:
    sis/branches/JDK8/core/sis-build-helper/src/main/ant/prepare-release.xml

Modified: 
sis/branches/JDK8/core/sis-build-helper/src/main/ant/prepare-release.xml
URL: 
http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/ant/prepare-release.xml?rev=1657325&r1=1657324&r2=1657325&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/ant/prepare-release.xml 
(original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/ant/prepare-release.xml 
Wed Feb  4 17:08:26 2015
@@ -35,11 +35,9 @@
                 replace = 
"<sis.plugin.version>${sis.version}-SNAPSHOT</sis.plugin.version>"/>
 
     <!-- Replace the version number in Java code. -->
-    <replace dir="${user.dir}" failOnNoReplacements="true">
-      <include 
name="core/sis-utility/src/main/java/org/apache/sis/util/Version.java"/>
-      <replacefilter token="&quot;${sis.version}-SNAPSHOT&quot;"
-                     value="&quot;${sis.version}&quot;"/>
-    </replace>
+    <replaceregexp file = 
"${user.dir}/core/sis-utility/src/main/java/org/apache/sis/util/Version.java"
+                  match = "MINOR_VERSION\s*\+\s*&quot;-SNAPSHOT&quot;"
+                replace = "MINOR_VERSION"/>
 
     <!-- Replace URL to trunk by URL to the branch on Subversion. -->
     <replace dir="${user.dir}" failOnNoReplacements="true">


Reply via email to