From 8073f2bdfdcd4acf4e7055383a72a26553cffccd Mon Sep 17 00:00:00 2001 From: michelou Date: Fri, 14 Jul 2006 17:00:28 +0000 Subject: [PATCH] EXTENSION_CLASSPATH now contains both files/dirs on Windows git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@8165 5e8d7ff9-d8ef-0310-90f0-a4852d11357a --- build.xml | 6 +++--- src/compiler/scala/tools/ant/templates/tool-windows.tmpl | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/build.xml b/build.xml index 77bf1a116..286576a0b 100644 --- a/build.xml +++ b/build.xml @@ -245,12 +245,12 @@ BUILD SUPPORT MACROS - + + + - - diff --git a/src/compiler/scala/tools/ant/templates/tool-windows.tmpl b/src/compiler/scala/tools/ant/templates/tool-windows.tmpl index b9b8682ef..cd6139aa8 100644 --- a/src/compiler/scala/tools/ant/templates/tool-windows.tmpl +++ b/src/compiler/scala/tools/ant/templates/tool-windows.tmpl @@ -27,6 +27,9 @@ if "%_JAVACMD%"=="" set _JAVACMD=java set _EXTENSION_CLASSPATH=@extclasspath@ if "%_EXTENSION_CLASSPATH%"=="" ( for %%f in ("%_SCALA_HOME%\lib\*") do call :add_cpath "%%f" + if "%OS%"=="Windows_NT" ( + for /d %%f in ("%_SCALA_HOME%\lib\*") do call :add_cpath "%%f" + ) ) set _BOOT_CLASSPATH=@bootclasspath@