diff options
author | michelou <michelou@epfl.ch> | 2006-05-24 13:31:53 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2006-05-24 13:31:53 +0000 |
commit | 50d5f79bd777b68e3609009542b412d107e84b6e (patch) | |
tree | 7c3d4c8c30bc8aa7ffc0474daa563fe90e067dd8 /build.xml | |
parent | 4e6e4e17d519cc31dc7a9fe8d31a4c7f1ae33567 (diff) | |
download | scala-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.xml | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |