File: build.bat

package info (click to toggle)
libxt-java 0.20050823-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 2,740 kB
  • ctags: 3,837
  • sloc: java: 21,506; xml: 3,143; sh: 19; makefile: 12
file content (29 lines) | stat: -rw-r--r-- 741 bytes parent folder | download | duplicates (2)
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
@echo off

if "%JAVA_HOME%" == "" goto error

echo.
echo XT Builder
echo ----------------------

set ANT_HOME=.\ant

set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%ANT_HOME%\lib\ant.jar;%ANT_HOME%\lib\xercesImpl.jar;%ANT_HOME%\lib\xalan.jar;%ANT_HOME%\lib\xml-apis.jar;%ANT_HOME%

"%JAVA_HOME%\bin\java.exe" -Djava_home="%JAVA_HOME%" -Dant.home="%ANT_HOME%" -classpath "%LOCALCLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 %5

goto end

:error

echo "ERROR: JAVA_HOME not found in your environment."
echo.
echo "Please set the JAVA_HOME variable in your environment to match the"
echo "location of the Java Virtual Machine you wish to use."

:end

set LOCALCLASSPATH=
set ANT_HOME=

rem # $Id: build.bat 15 2004-11-30 23:18:49Z blindsey $