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

(-)build.bat (-2 / +7 lines)
Lines 19-35 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
23
set COCOON_HOME=externals\cocoon_2_1_x
24
set COCOON_ENDORSED_DIR=%COCOON_HOME%\lib\endorsed
25
22
rem ----- Ignore system CLASSPATH variable
26
rem ----- Ignore system CLASSPATH variable
23
set OLD_CLASSPATH=%CLASSPATH%
27
set OLD_CLASSPATH=%CLASSPATH%
24
set CLASSPATH=
28
set CLASSPATH=
25
for %%i in (lib\*.jar) do call tools\bin\appendcp.bat %%i
29
for %%i in (lib\*.jar) do call tools\bin\appendcp.bat %%i
30
for %%i in (%COCOON_ENDORSED_DIR%\*.jar) do call tools\bin\appendcp.bat %%i
26
31
27
rem ----- Use Ant shipped with Cocoon. Ignore installed in the system Ant
32
rem ----- Use Ant shipped with Cocoon. Ignore installed in the system Ant
28
set OLD_ANT_HOME=%ANT_HOME%
33
set OLD_ANT_HOME=%ANT_HOME%
29
set ANT_HOME=tools
34
set ANT_HOME=tools
30
35
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
36
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
37
 
33
rem ----- Restore ANT_HOME and ANT_OPTS
38
rem ----- Restore ANT_HOME and ANT_OPTS
34
set ANT_HOME=%OLD_ANT_HOME%
39
set ANT_HOME=%OLD_ANT_HOME%
35
set OLD_ANT_HOME=
40
set OLD_ANT_HOME=

Return to bug 34191