build.bat revision 1ab5fba4c1e5f249437a6be931f09c5bc61d17ee
1096N/A@echo off
2362N/A
1096N/Arem CDDL HEADER START
1096N/Arem
1096N/Arem The contents of this file are subject to the terms of the
1096N/Arem Common Development and Distribution License, Version 1.0 only
2362N/Arem (the "License"). You may not use this file except in compliance
1096N/Arem with the License.
2362N/Arem
1096N/Arem You can obtain a copy of the license at
1096N/Arem trunk/opends/resource/legal-notices/OpenDS.LICENSE
1096N/Arem or https://OpenDS.dev.java.net/OpenDS.LICENSE.
1096N/Arem See the License for the specific language governing permissions
1096N/Arem and limitations under the License.
1096N/Arem
1096N/Arem When distributing Covered Code, include this CDDL HEADER in each
1096N/Arem file and include the License file at
1096N/Arem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
1096N/Arem add the following below this CDDL HEADER, with the fields enclosed
1096N/Arem information:
2362N/Arem Portions Copyright [yyyy] [name of copyright owner]
2362N/Arem
2362N/Arem CDDL HEADER END
1096N/Arem
1096N/Arem
1096N/Arem Copyright 2008-2010 Sun Microsystems, Inc.
1096N/A
1096N/Asetlocal
1096N/A
1096N/Aset DIR_HOME=%~dP0
1096N/A
1096N/Aif "%JAVA_HOME%" == "" goto noJavaHome
1096N/Agoto runAnt
1096N/A
1096N/A:noJavaHome
1096N/Aecho Error: JAVA_HOME environment variable is not set.
1096N/Aecho Please set it to a valid Java 5 installation.
1096N/Agoto end
1096N/A
1096N/A
1096N/A:runAnt
1096N/Aset CLASSPATH=%DIR_HOME%\ext\junit.jar:%DIR_HOME%\ext\xalan-j\xalan.jar:%DIR_HOME%\ext\xalan-j\serializer.jar
1096N/A
1096N/A"%DIR_HOME%\ext\ant\bin\ant" %*
1096N/A
1096N/A
1096N/A:end