1 |
@ECHO OFF |
2 |
|
3 |
REM Copyright 2001-2006 Hippo (www.hippo.nl) |
4 |
REM |
5 |
REM Licensed under the Apache License, Version 2.0 (the "License"); |
6 |
REM you may not use this file except in compliance with the License. |
7 |
REM You may obtain a copy of the License at |
8 |
REM |
9 |
REM http://www.apache.org/licenses/LICENSE-2.0 |
10 |
REM |
11 |
REM Unless required by applicable law or agreed to in writing, software |
12 |
REM distributed under the License is distributed on an "AS IS" BASIS, |
13 |
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
14 |
REM See the License for the specific language governing permissions and |
15 |
REM limitations under the License. |
16 |
|
17 |
SET WRAPPER_CMD="" |
18 |
|
19 |
dir /B target\hippo-cocoon-* > COCOON_PATH.TXT |
20 |
for /f "tokens=1" %%i in (COCOON_PATH.TXT) do set COCOON_PATH=%%i |
21 |
DEL COCOON_PATH.TXT |
22 |
|
23 |
set WRAPPER_CMD=target\%COCOON_PATH%\bin\wrapper.exe |
24 |
|
25 |
start "%COCOON_PATH% running.." /WAIT %WRAPPER_CMD% -c wrapper.conf |
26 |
|
27 |
|