From 0cb726bba30a4d4d3699bce26345ed7aff7d2f15 Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Fri, 22 Aug 2014 19:14:11 +0000 Subject: [PATCH] LUCENE-5898: Remove remaining hardcoded versions from build files; add a new version.properties file git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619906 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 16 +++++++++++++--- dev-tools/idea/.idea/workspace.xml | 12 ++++++------ lucene/common-build.xml | 22 +++++++--------------- lucene/version.properties | 10 ++++++++++ 4 files changed, 36 insertions(+), 24 deletions(-) create mode 100644 lucene/version.properties diff --git a/build.xml b/build.xml index 5b5180504f0..96e94da7ecc 100644 --- a/build.xml +++ b/build.xml @@ -24,6 +24,9 @@ + + + @@ -144,7 +147,6 @@ - @@ -287,11 +289,19 @@ - + + + + + + + + @@ -359,7 +369,7 @@ File | Project Structure | Platform Settings | SDKs): - + diff --git a/dev-tools/idea/.idea/workspace.xml b/dev-tools/idea/.idea/workspace.xml index c0a856d195d..b7e529dfb41 100644 --- a/dev-tools/idea/.idea/workspace.xml +++ b/dev-tools/idea/.idea/workspace.xml @@ -8,7 +8,7 @@ @@ -183,28 +183,28 @@ @@ -260,7 +260,7 @@ diff --git a/lucene/common-build.xml b/lucene/common-build.xml index b9feb20518e..3bfa9e74139 100644 --- a/lucene/common-build.xml +++ b/lucene/common-build.xml @@ -26,13 +26,6 @@ for standalone use. - - - - - - - @@ -57,16 +50,15 @@ - - - - - + + - - + + + + + - diff --git a/lucene/version.properties b/lucene/version.properties new file mode 100644 index 00000000000..21538dc183b --- /dev/null +++ b/lucene/version.properties @@ -0,0 +1,10 @@ +# This file contains some version properties as used by various build files. + +# RELEAE MANAGER must change this file after creating a release and +# enter new base version (format "x.y.z", no prefix/appendix): +version.base=5.0.0 + +# Other version property defaults, don't change: +version.suffix=SNAPSHOT +version=${version.base}-${version.suffix} +spec.version=${version.base}