-
Notifications
You must be signed in to change notification settings - Fork 0
/
prep116.bat
27 lines (26 loc) · 2.16 KB
/
prep116.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
@echo off
set jsk=%CD%\webapps\cs116
set v=11.1.1.6.0
set h="%jsk%\WEB-INF\lib"
if not exist %h%\systemtools-1.1.2.jar goto nofile
call mvn install:install-file -Dfile="%h%\cs-core.jar" -DgroupId=com.oracle.sites -DartifactId=cs-core -Dversion=%v% -Dpackaging=jar
call mvn install:install-file -Dfile="%h%\cs.jar" -DgroupId=com.oracle.sites -DartifactId=cs -Dversion=%v% -Dpackaging=jar
call mvn install:install-file -Dfile="%h%\wem-sso-api-1.2.2.jar" -DgroupId=com.oracle.sites -DartifactId=wem-sso-api -Dversion=%v% -Dpackaging=jar
call mvn install:install-file -Dfile="%h%\assetapi.jar" -DgroupId=com.oracle.sites -DartifactId=assetapi -Dversion=%v% -Dpackaging=jar
call mvn install:install-file -Dfile="%h%\assetapi-impl.jar" -DgroupId=com.oracle.sites -DartifactId=assetapi-impl -Dversion=%v% -Dpackaging=jar
call mvn install:install-file -Dfile="%h%\xcelerate.jar" -DgroupId=com.oracle.sites -DartifactId=xcelerate -Dversion=%v% -Dpackaging=jar
call mvn install:install-file -Dfile="%h%\jsoup-1.5.2.jar" -DgroupId=com.oracle.sites -DartifactId=jsoup -Dversion=%v% -Dpackaging=jar
call mvn install:install-file -Dfile="%h%\xstream-1.4.2.jar" -DgroupId=com.oracle.sites -DartifactId=xstream -Dversion=%v% -Dpackaging=jar
call mvn install:install-file -Dfile="%h%\basic.jar" -DgroupId=com.oracle.sites -DartifactId=basic -Dversion=%v% -Dpackaging=jar
call mvn install:install-file -Dfile="%h%\gator.jar" -DgroupId=com.oracle.sites -DartifactId=gator -Dversion=%v% -Dpackaging=jar
call mvn install:install-file -Dfile="%h%\framework.jar" -DgroupId=com.oracle.sites -DartifactId=framework -Dversion=%v% -Dpackaging=jar
call mvn install:install-file -Dfile="%h%\cs-cache-1.2.2.jar" -DgroupId=com.oracle.sites -DartifactId=cs-cache -Dversion=%v% -Dpackaging=jar
call mvn install:install-file -Dfile="%h%\assetframework.jar" -DgroupId=com.oracle.sites -DartifactId=assetframework -Dversion=%v% -Dpackaging=jar
call mvn install:install-file -Dfile="%h%\lucene-search.jar" -DgroupId=com.oracle.sites -DartifactId=lucene-search -Dversion=%v% -Dpackaging=jar
cd core
call sbt "sitesTagWrapperGen %jsk% %v%"
cd ..
goto end
:nofile
echo Edit this file and set the location of cs webapp for WebCenter Sites %v%
:end