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 2008/04/23 18:06:20 UTC

svn commit: r650925 - /incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/build/tag.bat

Author: schor
Date: Wed Apr 23 09:06:10 2008
New Revision: 650925

URL: http://svn.apache.org/viewvc?rev=650925&view=rev
Log:
[uima-1010] have the tagger tag a known tag level of the uima-core when creating uima-as tag

Modified:
    incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/build/tag.bat

Modified: incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/build/tag.bat
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/build/tag.bat?rev=650925&r1=650924&r2=650925&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/build/tag.bat (original)
+++ incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/build/tag.bat Wed Apr 23 09:06:10 2008
@@ -16,38 +16,43 @@
 REM   KIND, either express or implied.  See the License for the
 REM   specific language governing permissions and limitations
 REM   under the License.
+REM  The form %~1 (as opposed to %1) removes surrounding quotes
 
 @echo on
 
-REM  The form %~1 (as opposed to %1) removes surrounding quotes
-
 @if "%~1"=="" goto usage
-@if not "%3"=="" goto usage
-@set leveldir=%~1-%~2
-@set svnloc=tags/%~1/%leveldir%
+@if "%~4"=="" goto usage
+@if not "%5"=="" goto usage
 @goto execute
 
 @:usage
 @echo off
 echo Run this command in its directory to tag a uima-as release
 echo This will copy the HEAD in the repository for several projects
-echo Usage: tag level release-candidate
-echo  example tag uima-as-2.2.2 01
+REM the period following echo inserts a blank line
+echo.  
+echo Usage: tag level release-candidate  core-uima-tag-base core-uima-tag-release-candidate
+echo.
+echo  example tag 2.2.2 01 2.2.2 05
 @echo on
 @goto exit
 
 
 @:execute
-@set baseURL=https://svn.apache.org/repos/asf/incubator/uima/uimaj/trunk
+@setlocal
+@set asLastDir=uima-as-%~1-%~2
+@set asSvnloc=tags/uima-as-%~1/%asLastDir%
+
+@set baseURL=https://svn.apache.org/repos/asf/incubator/uima/uimaj/tags/uimaj-%3/uimaj-%3-%4
 @set asURL=https://svn.apache.org/repos/asf/incubator/uima/sandbox/trunk
-@set tagURL=https://svn.apache.org/repos/asf/incubator/uima/sandbox/%svnloc%
-@set commitMsg=Create Tag for UIMA-AS release candidate %2
+@set tagURL=https://svn.apache.org/repos/asf/incubator/uima/sandbox/%asSvnloc%
+@set commitMsg=Create Tag for uima-as-%1-%2 release candidate based on uimaj-%3-%4
 
-svn copy  %asURL%/uima-as             %tagURL%                    -m "%commitMsg%"
-svn copy  %baseURL%/uimaj             %tagURL%/uimaj              -m "%commitMsg%"
-svn copy  %baseURL%/uimaj-distr       %tagURL%/uimaj-distr        -m "%commitMsg%"
-svn copy  %baseURL%/uimaj-examples    %tagURL%/uimaj-examples     -m "%commitMsg%"
-svn copy  %baseURL%/uima-docbooks     %tagURL%/uima-docbooks      -m "%commitMsg%"
-svn copy  %baseURL%/uima-docbook-tool %tagURL%/uima-docbook-tool  -m "%commitMsg%"
+svn copy %asURL%/uima-as             %tagURL%                    -m "%commitMsg%"
+svn copy %baseURL%/uimaj             %tagURL%/uimaj              -m "%commitMsg%"
+svn copy %baseURL%/uimaj-distr       %tagURL%/uimaj-distr        -m "%commitMsg%"
+svn copy %baseURL%/uimaj-examples    %tagURL%/uimaj-examples     -m "%commitMsg%"
+svn copy %baseURL%/uima-docbooks     %tagURL%/uima-docbooks      -m "%commitMsg%"
+svn copy %baseURL%/uima-docbook-tool %tagURL%/uima-docbook-tool  -m "%commitMsg%"
 
 @:exit