You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by na...@apache.org on 2011/04/24 22:50:28 UTC

svn commit: r1096381 - /tuscany/sca-java-1.x/trunk/tools/eclipse/pom.xml

Author: nash
Date: Sun Apr 24 20:50:28 2011
New Revision: 1096381

URL: http://svn.apache.org/viewvc?rev=1096381&view=rev
Log:
Ensure the Tuscany Eclipse plugin release number has 3 digits

Modified:
    tuscany/sca-java-1.x/trunk/tools/eclipse/pom.xml

Modified: tuscany/sca-java-1.x/trunk/tools/eclipse/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/trunk/tools/eclipse/pom.xml?rev=1096381&r1=1096380&r2=1096381&view=diff
==============================================================================
--- tuscany/sca-java-1.x/trunk/tools/eclipse/pom.xml (original)
+++ tuscany/sca-java-1.x/trunk/tools/eclipse/pom.xml Sun Apr 24 20:50:28 2011
@@ -61,6 +61,13 @@
                                 <mkdir dir="target"/>
                                 <echo file="target/filter.properties" message="tuscany.eclipse.version=${pom.version}.v${DSTAMP}-${TSTAMP}"/>
                                 <replace file="target/filter.properties" token="-SNAPSHOT"/>
+                                <!--
+                                  The following is a temporary(?) hack to ensure Eclipse has 3 digits for
+                                  the release number.  Ideally we would use something like
+                                    replaceregexp file="target/filter.properties" match="\d+\.\d+\.v" value="\1\.\2\.0\.v"
+                                  but this requires additional dependencies and is tricky to configure.
+                                 -->
+                                <replace file="target/filter.properties" token="1.7.v" value="1.7.0.v"/>
                             </tasks>
                         </configuration>
                     </execution>