| 1 |
@echo off |
| 2 |
REM ================================================================ |
| 3 |
REM Licensed to the Apache Software Foundation (ASF) under one |
| 4 |
REM or more contributor license agreements. See the NOTICE file |
| 5 |
REM distributed with this work for additional information |
| 6 |
REM regarding copyright ownership. The ASF licenses this file |
| 7 |
REM to you under the Apache License, Version 2.0 (the |
| 8 |
REM "License"); you may not use this file except in compliance |
| 9 |
REM with the License. You may obtain a copy of the License at |
| 10 |
REM |
| 11 |
REM http://www.apache.org/licenses/LICENSE-2.0 |
| 12 |
REM |
| 13 |
REM Unless required by applicable law or agreed to in writing, |
| 14 |
REM software distributed under the License is distributed on an |
| 15 |
REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 16 |
REM KIND, either express or implied. See the License for the |
| 17 |
REM specific language governing permissions and limitations |
| 18 |
REM under the License. |
| 19 |
REM ================================================================ |
| 20 |
|
| 21 |
CALL "c:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 |
| 22 |
|
| 23 |
SET TESTDIR=E:\Full |
| 24 |
SET TESTPORT=1234 |
| 25 |
SET "NANTARGS= " |
| 26 |
|
| 27 |
SET TEMP=%TESTDIR%\temp |
| 28 |
SET TMP=%TEMP% |
| 29 |
|
| 30 |
IF NOT EXIST "%TESTDIR%\" MKDIR "%TESTDIR%" |
| 31 |
IF NOT EXIST "%TEMP%\" MKDIR "%TEMP%" |
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
SET SVN_URL= |
| 38 |
SET SVN_RELURL= |
| 39 |
for /F "usebackq tokens=1,* delims=:" %%i IN (`svn info .`) do ( |
| 40 |
|
| 41 |
IF "%%i" == "URL" ( |
| 42 |
SET SVN_URL=%%j |
| 43 |
) ELSE IF "%%i" == "Relative URL" ( |
| 44 |
SET SVN_RELURL=%%j |
| 45 |
) |
| 46 |
) |
| 47 |
SET SVN_URL=%SVN_URL:~1% |
| 48 |
SET SVN_RELURL=%SVN_RELURL:~3% |
| 49 |
SET SVN_SUBBRANCH=%SVN_RELURL:~11% |
| 50 |
SET SVN_BRANCH=%SVN_SUBBRANCH:branches/=% |