You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2009/10/13 14:20:51 UTC
svn commit: r824717 -
/incubator/uima/sandbox/trunk/SandboxDistr/annotator-package/build/changeVersion.xml
Author: schor
Date: Tue Oct 13 12:20:51 2009
New Revision: 824717
URL: http://svn.apache.org/viewvc?rev=824717&view=rev
Log:
UIMA-1610 add changeVersion for SandboxDistr
Added:
incubator/uima/sandbox/trunk/SandboxDistr/annotator-package/build/changeVersion.xml
Added: incubator/uima/sandbox/trunk/SandboxDistr/annotator-package/build/changeVersion.xml
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/SandboxDistr/annotator-package/build/changeVersion.xml?rev=824717&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/SandboxDistr/annotator-package/build/changeVersion.xml (added)
+++ incubator/uima/sandbox/trunk/SandboxDistr/annotator-package/build/changeVersion.xml Tue Oct 13 12:20:51 2009
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+<!-- Run this with ant to change the version number.
+ Input (new version number, previous one, and a history)
+ is kept in the file "versions.properties" - so edit
+ this file before running the script
+ -->
+
+<project name="set-version-string" basedir="." default="all">
+
+
+ <property file="versions.properties"/>
+ <!-- sets uima.version.snapshot to -SNAPSHOT or nothing
+ sets uima.version.base to x.y.z
+ sets uima.prev.version.snapshot
+ sets uima.prev.version.base
+ -->
+
+ <property name="uima.version" value="${uima.version.base}-incubating${uima.version.snapshot}"/>
+ <echo>uima.version: ${uima.version}</echo>
+ <property name="uima.eclipse.version" value="${uima.version.base}.incubating${uima.version.snapshot}"/>
+ <echo>uima.eclipse.version: ${uima.eclipse.version}</echo>
+ <property name="uima.prev.version" value="${uima.prev.version.base}-incubating${uima.prev.version.snapshot}"/>
+ <echo>uima.prev.version: ${uima.prev.version}</echo>
+ <property name="uima.eclipse.prev.version" value="${uima.prev.version.base}.incubating${uima.prev.version.snapshot}"/>
+ <echo>uima.eclipse.prev.version: ${uima.eclipse.prev.version}</echo>
+ <property name="wksp" location="../../../"/>
+ <echo>workspace location: ${wksp}</echo>
+
+ <target name="all" depends=
+ "sandbox,
+ normal-modules,
+ docbooks,
+ readme"/>
+ <!-- uimaj, normal-modules, uima-framework,
+ eclipse-plugins, eclipse-features, eclipse-update,
+ docbooks, readme -->
+
+ <target name="sandbox">
+ <replace file="${wksp}/SandboxDistr/pom.xml" summary="yes">
+ <replacefilter token="<version>${uima.prev.version}</version> <!-- this comment is a flag for changeVersion -->"
+ value="<version>${uima.version}</version> <!-- this comment is a flag for changeVersion -->"/>
+ </replace>
+ <replace file="${wksp}/SandboxDistr/annotator-package/pom.xml" summary="yes">
+ <replacefilter token="<version>${uima.prev.version}</version> <!-- this comment is a flag for changeVersion -->"
+ value="<version>${uima.version}</version> <!-- this comment is a flag for changeVersion -->"/>
+ </replace>
+ </target>
+
+ <target name="normal-modules">
+ <replace dir="${wksp}" includes=
+ "BSFAnnotator/pom.xml,
+ ConceptMapper/pom.xml,
+ ConfigurableFeatureExtractor/pom.xml,
+ DictionaryAnnotator/pom.xml,
+ FsVariables/pom.xml,
+ Lucas/pom.xml,
+ OpenCalaisAnnotator/pom.xml,
+ PearPackagingAntTask/pom.xml,
+ RegularExpressionAnnotator/pom.xml,
+ SimpleServer/pom.xml,
+ SnowballAnnotator/pom.xml,
+ Tagger/pom.xml,
+ TikaAnnotator/pom.xml,
+ WhitespaceTokenizer/pom.xml
+- " summary="yes"
+ token="<version>${uima.prev.version}</version> <!-- this comment is a flag for changeVersion -->"
+ value="<version>${uima.version}</version> <!-- this comment is a flag for changeVersion -->"/>
+ </target>
+
+ <target name="readme">
+ <echo message="Manually update the uimaj-distr/src/main/readme/RELEASE_NOTES and RELEASE_NOTES.html"/>
+ </target>
+
+ <target name="docbooks">
+ <replace dir="${wksp}" includes="SandboxDocs/src/docbook/book_info.xml"
+ summary="yes"
+ token="<releaseinfo>Version ${uima.prev.version}</releaseinfo>"
+ value="<releaseinfo>Version ${uima.version}</releaseinfo>" />
+ <echo message="Manually update the SandboxDocs/src/docbook/book_info.xml: <pubdate>October, 2009</pubdate>" />
+ </target>
+
+</project>
\ No newline at end of file