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 (11 years ago) by bvdschans
File size: 652 byte(s)
Log Message:
CMSSIX-288: restructure CMS 6 SVN

File Contents

# User Rev Content
1 jstuyts 2109 @echo off
2     setlocal
3     if "%1"=="" goto noInstance
4     pushd .
5     if not exist "%1" goto instanceDoesNotExist
6 jstuyts 2113 pushd "%1"
7 jstuyts 2109 set INSTANCE_DIR=%CD%
8     popd
9 jstuyts 2113 copy /y "%INSTANCE_DIR%\build.properties" . >nul
10 jstuyts 2109 call maven -b clean cocoon:install
11     cd target\hippo-cocoon-*
12 jstuyts 2113 copy /y "%INSTANCE_DIR%\wrapper.conf" bin >nul
13     copy /y "%INSTANCE_DIR%\yjp*.*" bin >nul 2>nul
14 jstuyts 2109 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