build.bat revision 6560
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin@echo off
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrem CDDL HEADER START
3e14f97f673e8a630f076077de35afdd43dc1587Roger A. Faulknerrem
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrem The contents of this file are subject to the terms of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrem Common Development and Distribution License, Version 1.0 only
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chinrem (the "License"). You may not use this file except in compliance
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrem with the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrem
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrem You can obtain a copy of the license at
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrem trunk/opends/resource/legal-notices/OpenDS.LICENSE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrem or https://OpenDS.dev.java.net/OpenDS.LICENSE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrem See the License for the specific language governing permissions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrem and limitations under the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrem
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrem When distributing Covered Code, include this CDDL HEADER in each
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrem file and include the License file at
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrem add the following below this CDDL HEADER, with the fields enclosed
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrem information:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrem Portions Copyright [yyyy] [name of copyright owner]
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrem
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrem CDDL HEADER END
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrem
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrem
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrem Copyright 2008-2010 Sun Microsystems, Inc.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrem Portions Copyright 2013 ForgeRock AS.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinsetlocal
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinset DIR_HOME=%~dP0
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinif "%JAVA_HOME%" == "" goto noJavaHome
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chingoto runAnt
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin:noJavaHome
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinecho Error: JAVA_HOME environment variable is not set.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinecho Please set it to a valid Java 6 installation.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chingoto end
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin:runAnt
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinset CLASSPATH=%DIR_HOME%\ext\junit.jar
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin"%DIR_HOME%\ext\ant\bin\ant" %*
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin:end
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin