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
This commit is contained in:
michelou 2006-07-14 17:00:28 +00:00
parent 4ca33ccc09
commit 8073f2bdfd
2 changed files with 6 additions and 3 deletions

View File

@ -245,12 +245,12 @@ BUILD SUPPORT MACROS
<attribute name="build.dir"/>
<sequential>
<if><not><available file="@{build.dir}/lib/fjbg.jar"/></not><then>
<if><isset property="os.unix"/><then>
<if><isset property="os.win"/><then>
<copy file="${fjbg.jar}" tofile="@{build.dir}/lib/fjbg.jar"/>
</then><else>
<symlink
link="@{build.dir}/lib/fjbg.jar"
resource="${fjbg.jar}" overwrite="yes" failonerror="no"/>
</then><else>
<copy file="${fjbg.jar}" tofile="@{build.dir}/lib/fjbg.jar"/>
</else></if>
</then></if>
</sequential>

View File

@ -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@