forked from dirmgr/slamd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.bat
36 lines (26 loc) · 1.08 KB
/
build.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
28
29
30
31
32
33
34
35
@echo off
setlocal
rem ###########################################################################
rem # Sun Public License
rem #
rem # The contents of this file are subject to the Sun Public License Version
rem # 1.0 (the "License"). You may not use this file except in compliance with
rem # the License. A copy of the License is available at http://www.sun.com/
rem #
rem # The Original Code is the SLAMD Distributed Load Generation Engine.
rem # The Initial Developer of the Original Code is Neil A. Wilson.
rem # Portions created by Neil A. Wilson are Copyright (C) 2004-2019.
rem # Some preexisting portions Copyright (C) 2002-2006 Sun Microsystems, Inc.
rem # All Rights Reserved.
rem #
rem # Contributor(s): Neil A. Wilson
rem ###########################################################################
if "%JAVA_HOME%" == "" goto noJavaHome
goto runAnt
:noJavaHome
echo ERROR: Unable to determine the path to the JDK installation.
echo Please specify it using the JAVA_HOME environment variable.
goto end
:runAnt
%~dp0\ext\ant\bin\ant %*
:end