View | Details | Raw Unified | Return to bug 34191
Collapse All | Expand All

(-)build.bat (-2 / +6 lines)
Lines 1-4 Link Here
1
@echo off
1
@echo off & setlocal
2
rem  Copyright 1999-2004 The Apache Software Foundation
2
rem  Copyright 1999-2004 The Apache Software Foundation
3
rem
3
rem
4
rem  Licensed under the Apache License, Version 2.0 (the "License");
4
rem  Licensed under the Apache License, Version 2.0 (the "License");
Lines 19-34 Link Here
19
rem $Id: build.bat 54525 2004-10-11 09:39:04Z cziegeler $
19
rem $Id: build.bat 54525 2004-10-11 09:39:04Z cziegeler $
20
rem ----------------------------------------------------------------------------
20
rem ----------------------------------------------------------------------------
21
21
22
set COCOON_HOME=..\cocoon-2.1.8
23
set COCOON_ENDORSED_DIR=%COCOON_HOME%/lib/endorsed
24
22
rem ----- Ignore system CLASSPATH variable
25
rem ----- Ignore system CLASSPATH variable
23
set OLD_CLASSPATH=%CLASSPATH%
26
set OLD_CLASSPATH=%CLASSPATH%
24
set CLASSPATH=
27
set CLASSPATH=
25
for %%i in (lib\*.jar) do call tools\bin\appendcp.bat %%i
28
for %%i in (lib\*.jar) do call tools\bin\appendcp.bat %%i
29
for %%i in (%COCOON_ENDORSED_DIR%\*.jar) do call tools\bin\appendcp.bat %%i
26
30
27
rem ----- Use Ant shipped with Cocoon. Ignore installed in the system Ant
31
rem ----- Use Ant shipped with Cocoon. Ignore installed in the system Ant
28
set OLD_ANT_HOME=%ANT_HOME%
32
set OLD_ANT_HOME=%ANT_HOME%
29
set ANT_HOME=tools
33
set ANT_HOME=tools
30
34
31
call %ANT_HOME%\bin\ant -Djava.endorsed.dirs=lib\endorsed -logger org.apache.tools.ant.NoBannerLogger -emacs %1 %2 %3 %4 %5 %6 %7 %8 %9
35
call %ANT_HOME%\bin\ant -Djava.endorsed.dirs=%COCOON_ENDORSED_DIR% -logger org.apache.tools.ant.NoBannerLogger -emacs %1 %2 %3 %4 %5 %6 %7 %8 %9
32
36
33
rem ----- Restore ANT_HOME and ANT_OPTS
37
rem ----- Restore ANT_HOME and ANT_OPTS
34
set ANT_HOME=%OLD_ANT_HOME%
38
set ANT_HOME=%OLD_ANT_HOME%

Return to bug 34191