summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Suereth <Joshua.Suereth@gmail.com>2012-03-27 06:42:15 -0700
committerJosh Suereth <Joshua.Suereth@gmail.com>2012-03-27 06:42:15 -0700
commite8db5aa6aee134b4b70fcc11c82379759565b53c (patch)
tree5c405f706a36e56495b396ae262c3a06dc54fcec
parent2a917f4830fe80987dcea05df74bb5c0a0359833 (diff)
parent960d16a87eaaa6d4265fae53e126dc83e5de7e2b (diff)
downloadscala-e8db5aa6aee134b4b70fcc11c82379759565b53c.tar.gz
scala-e8db5aa6aee134b4b70fcc11c82379759565b53c.tar.bz2
scala-e8db5aa6aee134b4b70fcc11c82379759565b53c.zip
Merge pull request #333 from jsuereth/release-fixes-from-2.9.x
Release fixes from 2.9.x
-rw-r--r--build.xml2
-rw-r--r--docs/README14
-rw-r--r--src/build/pack.xml17
3 files changed, 21 insertions, 12 deletions
diff --git a/build.xml b/build.xml
index 2f655c2077..fcf4f90883 100644
--- a/build.xml
+++ b/build.xml
@@ -1671,7 +1671,7 @@ DOCUMENTATION
<taskdef name="genman"
classname="scala.tools.docutil.ManMaker"
classpathref="manual.classpath"/>
- <genman command="fsc, sbaz, scala, scalac, scaladoc, scalap"
+ <genman command="fsc, scala, scalac, scaladoc, scalap"
htmlout="${build-docs.dir}/manual/html"
manout="${build-docs.dir}/manual/genman"/>
<!-- On Windows source and target files can't be the same ! -->
diff --git a/docs/README b/docs/README
index bcc7108399..6af633444d 100644
--- a/docs/README
+++ b/docs/README
@@ -2,8 +2,7 @@
Scala Software Distributions
----------------------------
-- scala-<major>.<minor>.<patch>.tar.bz2 Unix distribution
-- scala-<major>.<minor>.<patch>.tar.gz Unix distribution
+- scala-<major>.<minor>.<patch>.tgz Unix distribution
- scala-<major>.<minor>.<patch>.zip Windows distribution
The standard distributions require Java 1.5 or above. If you don't
@@ -32,15 +31,10 @@ directly accessible.
You may test the distribution by running the following commands:
-$ ./bin/sbaz install scala-devel-docs
-$ ./bin/scalac doc/scala-devel-docs/examples/sort.scala
-$ ./bin/scala examples.sort
-[6,2,8,5,1]
-[1,2,5,6,8]
$ ./bin/scala
-scala> examples.sort.main(null)
-[6,2,8,5,1]
-[1,2,5,6,8]
+scala> Array(4,3,2,1).sorted
+res0: Array[Int] = Array(1, 2, 3, 4)
+
scala>:quit
$
diff --git a/src/build/pack.xml b/src/build/pack.xml
index c12cfa44bf..723fd1d25d 100644
--- a/src/build/pack.xml
+++ b/src/build/pack.xml
@@ -78,6 +78,7 @@ MAIN DISTRIBUTION PACKAGING
<exclude name="logs/**"/>
<exclude name="sandbox/**"/>
<exclude name="test/partest"/>
+ <exclude name=".git"/>
</tarfileset>
<tarfileset dir="${basedir}" prefix="${dist.name}-sources" filemode="755">
<include name="test/partest"/>
@@ -95,8 +96,22 @@ MAIN DISTRIBUTION PACKAGING
</fileset>
</checksum>
</target>
+
+ <target name="pack-archives.latest.unix" depends="pack-archives.src" unless="os.win">
+ <symlink link="${dists.dir}/archives/scala-latest-sources.tgz"
+ resource="${dists.dir}/archives/scala-${version.number}-sources.tgz"
+ overwrite="yes"/>
+ </target>
+
+ <target name="pack-archives.latest.win" depends="pack-archives.src" if="os.win">
+ <copy tofile="${dists.dir}/archives/scala-latest-sources.tgz">
+ <fileset dir="${dists.dir}/archives">
+ <include name="scala-${version.number}-sources.tgz"/>
+ </fileset>
+ </copy>
+ </target>
- <target name="pack-archives.done" depends="pack-archives.src"/>
+ <target name="pack-archives.done" depends="pack-archives.src, pack-archives.latest.win, pack-archives.latest.unix"/>
<!-- ===========================================================================
MAIN DISTRIBUTION SBAZ