View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-cms6/file-import-service/trunk/BuildInstance.cmd
Revision: 31428
Committed: Mon Nov 28 14:54:22 2011 UTC (10 years, 10 months ago) by bvdschans
File size: 652 byte(s)
Log Message:
CMSSIX-288: restructure CMS 6 SVN

File Contents

# Content
1 @echo off
2 setlocal
3 if "%1"=="" goto noInstance
4 pushd .
5 if not exist "%1" goto instanceDoesNotExist
6 pushd "%1"
7 set INSTANCE_DIR=%CD%
8 popd
9 copy /y "%INSTANCE_DIR%\build.properties" . >nul
10 call maven -b clean cocoon:install
11 cd target\hippo-cocoon-*
12 copy /y "%INSTANCE_DIR%\wrapper.conf" bin >nul
13 copy /y "%INSTANCE_DIR%\yjp*.*" bin >nul 2>nul
14 echo.
15 echo Manually Zip the Hippo Cocoon instance now.
16 popd
17 goto end
18
19 :noInstance
20 echo No instance specified. Usage: BuildInstance {instance directory path}
21 goto end
22
23 :instanceDoesNotExist
24 echo The instance does not exist. Usage: BuildInstance {instance directory path}
25 goto end
26
27 :end