Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(983)

Unified Diff: dart/editor/tools/features/com.google.dart.eclipse.feature_releng/build.xml

Issue 103233006: Reapply "Change SDK/DartEditor versioning scheme to semantic versions." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: dart/editor/tools/features/com.google.dart.eclipse.feature_releng/build.xml
diff --git a/dart/editor/tools/features/com.google.dart.eclipse.feature_releng/build.xml b/dart/editor/tools/features/com.google.dart.eclipse.feature_releng/build.xml
index 35a1bac7fa9cbde7618239c0eb705693f189d5d7..2e3f713e7945a72c764ea1a0c66314529fcb959a 100644
--- a/dart/editor/tools/features/com.google.dart.eclipse.feature_releng/build.xml
+++ b/dart/editor/tools/features/com.google.dart.eclipse.feature_releng/build.xml
@@ -29,13 +29,13 @@
</fail>
<!-- parse the tools/VERSION file into an ant property -->
- <!-- the format is "MAJOR x\nMINOR x\nBUILD x\nPATCH n" -->
+ <!-- the format is "MAJOR x\nMINOR x\nPATCH n" -->
<loadproperties srcFile="${source.dir}/../../tools/VERSION">
<filterchain>
<replaceregex pattern=" " replace="="/>
</filterchain>
</loadproperties>
- <property name="dart.version" value="${MAJOR}.${MINOR}.${BUILD}" />
+ <property name="dart.version" value="${MAJOR}.${MINOR}.${PATCH}" />
<property name="dart.version_revision" value="${dart.version}_${build.revision}" />
<echo message="Dart version is ${dart.version} (${dart.version_revision})"></echo>
</target>
@@ -153,6 +153,12 @@
<replacefilter token="@CHANNEL@" value="${build.channel}" />
</replace>
+ <echo message="replacing @VERSION_QUALIFIER@ in ${build.stage.features}/com.google.dart.eclipse.feature_releng/build.properties" />
+ <replace dir="${build.dir}/features/com.google.dart.eclipse.feature_releng">
+ <include name="build.properties" />
+ <replacefilter token="@VERSION_QUALIFIER@" value="${build.version.qualifier}" />
+ </replace>
+
<echo message="Dart Editor for Eclipse version ${feature.version}"/>
<echo message="Building for Eclipse 3.7+"/>
</target>

Powered by Google App Engine
This is Rietveld 408576698