upgrade.bat revision 1777
f30ee734ac0ee8b792c77ab3bc42494fcddb1508hajmarem CDDL HEADER START
074f2520bc04a7a93b4123bc58fb40055c9174d2hajmarem The contents of this file are subject to the terms of the
074f2520bc04a7a93b4123bc58fb40055c9174d2hajmarem Common Development and Distribution License, Version 1.0 only
074f2520bc04a7a93b4123bc58fb40055c9174d2hajmarem (the "License"). You may not use this file except in compliance
074f2520bc04a7a93b4123bc58fb40055c9174d2hajmarem with the License.
074f2520bc04a7a93b4123bc58fb40055c9174d2hajmarem You can obtain a copy of the license at
074f2520bc04a7a93b4123bc58fb40055c9174d2hajmarem See the License for the specific language governing permissions
074f2520bc04a7a93b4123bc58fb40055c9174d2hajmarem and limitations under the License.
rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome
set JAVA_BIN=%JAVA_HOME%\bin\java.exe
if not exist "%INSTANCE_ROOT%\lib\set-java-home.bat" goto noSetJavaHome
call "%INSTANCE_ROOT%\lib\set-java-home.bat"
set JAVA_BIN=%JAVA_HOME%\bin\java.exe
"%JAVA_BIN%" org.opends.server.tools.InstallDS -t > NUL 2>&1
FOR %%x in ("%INSTANCE_ROOT%\lib\*.jar") DO call "%INSTANCE_ROOT%\lib\setcp.bat" %%x
"%JAVA_BIN%" org.opends.quicksetup.upgrader.BuildExtractor %*
FOR %%x in ("%INSTANCE_ROOT%\tmp\upgrade\lib\*.jar") DO call "%INSTANCE_ROOT%\lib\setcp.bat" %%x
"%JAVA_BIN%" org.opends.quicksetup.upgrader.UpgradeLauncher %*