File: build.bat

package info (click to toggle)
castor 1.3.2-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 44,976 kB
  • sloc: java: 206,032; xml: 95,088; sql: 14,460; sh: 365; makefile: 10
file content (24 lines) | stat: -rw-r--r-- 1,079 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@echo off
REM $Id: build.bat 8505 2010-01-07 03:34:08Z rjoachim $
set LIB_DIR=..\lib
set ANT_LIB_DIR=lib
REM Include Ant infrastructure on CLASSPATH
set CP="%ANT_LIB_DIR%\ant-1.7.1.jar"
set CP=%CP%;"%ANT_LIB_DIR%\ant-launcher-1.7.1.jar"
set CP=%CP%;"%ANT_LIB_DIR%\ant-trax-1.7.1.jar"
set CP=%CP%;"%ANT_LIB_DIR%\ant-junit-1.7.1.jar"
set CP=%CP%;"%ANT_LIB_DIR%\ant-nodeps-1.7.1.jar"
set CP=%CP%;"%ANT_LIB_DIR%\maven-ant-tasks-2.1.0.jar"
REM Include JUnit JAR
set CP=%CP%;"%LIB_DIR%\junit-4.5.jar"
REM Include compiled Castor artefacts
REM set "CP=%CP%;..\build\classes"
REM Include SUN's tools.jar (incl. the compiler), required by Ant for compilation
set CP=%CP%;"%JAVA_HOME%\lib\tools.jar"
REM Include various dependencies
REM Disable for for JDK 1.4 and above
set CP=%CP%;"%LIB_DIR%\xerces-J_1.4.0.jar"
REM Not sure why those would ever be needed
REM set CP=%CP%;"%LIB_DIR%\commons-logging-1.1.jar";"%LIB_DIR%\log4j-1.2.8.jar"
"%JAVA_HOME%\bin\java" -classpath %CP% -Dant.home=lib org.apache.tools.ant.Main %1 %2 %3 %4 %5 %6 -buildfile ..\src\build.xml