under win32 the build.bat script will *only* work out
of the box if %ANT_HOME% is not set or "." This is
due to some of the class path settings for the
buildlib jars.
Note: only tested on win32(nt4).
Here is my quick solution:
REM -- added the following line to add all buildlib
jars.
for %%i in (.\buildlib\*.jar) do call appendcp.bat %%i
REM --Following lines not necesary--
REM -- The %ANT_HOME% bit didn't work if ANT_HOME was
already set.
REM set CP=%CP%;%ANT_HOME%\buildlib\ant-1.4.jar;%
ANT_HOME%\buildlib\ant-1.4-optional.jar
REM set CP=%CP%;%ANT_HOME%\buildlib\junit.jar
REM set CP=%CP%;%ANT_HOME%\buildlib\httpunit.jar
REM set CP=%CP%;%ANT_HOME%\buildlib\activation.jar
REM set CP=%CP%;%ANT_HOME%\buildlib\jakarta-oro-
2.0.3.jar
REM set CP=%CP%;%ANT_HOME%\buildlib\starteam-sdk-
interfaceonly.jar
REM set CP=%CP%;%ANT_HOME%\buildlib\jmxri.jar
REM set CP=%CP%;%ANT_HOME%\buildlib\jmxtools.jar
REM set CP=%CP%;%ANT_HOME%\buildlib\mail.jar
REM set CP=%CP%;%ANT_HOME%\buildlib\cruisecontrol.jar
Hope this helps someone.
Sébastien Koechlin
Build System
None
Public
|
Date: 2001-12-14 09:22 Logged In: YES |
| Filename | Description | Download |
|---|---|---|
| build.bat | updated build.bat for win32 | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| assigned_to | nobody | 2001-12-14 09:22 | ccambien |
| File Added | 14419: build.bat | 2001-12-10 03:07 | haytona |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use