summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2006-05-24 13:31:53 +0000
committermichelou <michelou@epfl.ch>2006-05-24 13:31:53 +0000
commit50d5f79bd777b68e3609009542b412d107e84b6e (patch)
tree7c3d4c8c30bc8aa7ffc0474daa563fe90e067dd8 /build.xml
parent4e6e4e17d519cc31dc7a9fe8d31a4c7f1ae33567 (diff)
downloadscala-50d5f79bd777b68e3609009542b412d107e84b6e.tar.gz
scala-50d5f79bd777b68e3609009542b412d107e84b6e.tar.bz2
scala-50d5f79bd777b68e3609009542b412d107e84b6e.zip
create a copy (and not a link) for "latest" on ...
create a copy (and not a link) for "latest" on Windows
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index 571fb4c159..d34ceeaad3 100644
--- a/build.xml
+++ b/build.xml
@@ -706,7 +706,7 @@ GENERATES A DISTRIBUTION
<target name="dist"
depends="build.dist"
description="Creates a complete Scala distribution"/>
-
+
<target name="pack"
depends="build.archive, build.sbaz"
description="Packs a distribution for SBaz and ZIP/TAR"/>
@@ -764,7 +764,9 @@ GENERATES A DISTRIBUTION
<!-- Recreate the 'latest' link to point to this distribution -->
<if><isset property="os.win"/>
<then>
- <copy file="${dist.current.dir}" tofile="${dist.dir}/latest"/>
+ <copy todir="${dist.dir}/latest">
+ <fileset dir="${dist.current.dir}"/>
+ </copy>
</then>
<else>
<symlink