880N/A@echo off
880N/A
880N/Arem CDDL HEADER START
880N/Arem
880N/Arem The contents of this file are subject to the terms of the
880N/Arem Common Development and Distribution License, Version 1.0 only
880N/Arem (the "License"). You may not use this file except in compliance
880N/Arem with the License.
880N/Arem
880N/Arem You can obtain a copy of the license at
880N/Arem trunk/opends/resource/legal-notices/OpenDS.LICENSE
880N/Arem or https://OpenDS.dev.java.net/OpenDS.LICENSE.
880N/Arem See the License for the specific language governing permissions
880N/Arem and limitations under the License.
880N/Arem
880N/Arem When distributing Covered Code, include this CDDL HEADER in each
880N/Arem file and include the License file at
880N/Arem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
880N/Arem add the following below this CDDL HEADER, with the fields enclosed
880N/Arem information:
880N/Arem Portions Copyright [yyyy] [name of copyright owner]
880N/Arem
880N/Arem CDDL HEADER END
880N/Arem
880N/Arem
4458N/Arem Copyright 2008-2009 Sun Microsystems, Inc.
880N/A
880N/Asetlocal
880N/A
880N/Arem These are the variables we need to run the functional tests
880N/Aset FT_HOME=%~dP0
3827N/Aset ANT_HOME=%FT_HOME%\..\..\ext\ant
880N/A
880N/Aif "%JAVA_HOME%" == "" goto noJavaHome
880N/Agoto runAnt
880N/A
880N/A:noJavaHome
880N/Aecho Error: JAVA_HOME environment variable is not set.
880N/Aecho Please set it to a valid Java 5 Development Kit installation.
880N/Agoto end
880N/A
880N/A:runAnt
880N/Arem echo a quick summary of what this script did
880N/Aecho using the following variables:
880N/Aecho ANT_HOME=%ANT_HOME%
880N/Aecho JAVA_HOME=%JAVA_HOME%
880N/Aif not "%*" == "" echo your parameters=%*
5354N/A
3827N/Aset OPENDS_LIB=%FT_HOME%\..\..\lib
5354N/Aecho OPENDS_LIB=%OPENDS_LIB%
5666N/Aset ANT_LIBS=-lib "%OPENDS_LIB%\mail.jar"
5354N/Aecho ANT_LIBS=%ANT_LIBS%
5354N/A
5354N/Aecho Now running ant ...
5354N/A"%ANT_HOME%\bin\ant" %ANT_LIBS% -f shared\ant\build.xml %*
880N/A
880N/A:end