1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
--- build.xml.orig 2007-12-17 12:05:42.000000000 -0500
+++ build.xml 2007-12-17 12:07:34.000000000 -0500
@@ -90,11 +90,13 @@
<!-- Setting-up Ant contrib tasks -->
<taskdef resource="net/sf/antcontrib/antlib.xml"
classpath="${ant-contrib.jar}"/>
+ <!--
<fail message="External library ${ant-contrib.jar} requires the optional Ant tasks to be installed">
<condition><not><and>
<available file="${ant.home}/lib/ant-nodeps.jar"/>
</and></not></condition>
</fail>
+ -->
</target>
<!-- ===========================================================================
@@ -1052,7 +1054,7 @@
DOCUMENTATION
============================================================================ -->
- <target name="docs" depends="setup.quick"
+ <target name="docs" depends="setup.quick" if="do.docs"
description="Generated the API for library sources">
<mkdir dir="${api-lib.dir}"/>
<quickdoc
@@ -1070,7 +1072,7 @@
</quickdoc>
</target>
- <target name="docs.compiler" depends="setup.quick"
+ <target name="docs.compiler" depends="setup.quick" if="do.docs"
description="Generated the API for compiler sources">
<mkdir dir="${api-comp.dir}"/>
<quickdoc
@@ -1155,7 +1157,7 @@
<target name="dist.patch" depends="init">
<propertyfile file="${number.file}">
- <entry key="version.patch" type="int" default="0" operation="+"/>
+ <entry key="version.patch" type="int" default="0"/>
</propertyfile>
<property file="${number.file}"/>
<property name="version.number"
@@ -1165,7 +1167,7 @@
<target name="dist.minor" depends="init">
<propertyfile file="${number.file}">
- <entry key="version.minor" type="int" default="0" operation="+"/>
+ <entry key="version.minor" type="int" default="0"/>
<entry key="version.patch" type="int" value="0"/>
</propertyfile>
<property file="${number.file}"/>
@@ -1339,7 +1341,7 @@
<copy todir="${dist.current.dir}/doc/scala">
<fileset dir="${docs.dir}" includes="README,LICENSE"/>
</copy>
- <copy todir="${dist.current.dir}/doc/scala/api">
+ <copy todir="${dist.current.dir}/doc/scala/api" failonerror="false">
<fileset dir="${api-lib.dir}"/>
</copy>
<copy todir="${dist.current.dir}/doc/scala/examples">
@@ -1360,7 +1362,7 @@
</target>
<!-- Create the SBaz packages -->
- <target name="build.sbaz" depends="build.dist">
+ <target name="build.sbaz" depends="build.dist" if="do.archive">
<property name="sbaz.universe" value="http://www.scala-lang.org/downloads/packages"/>
<mkdir dir="${dist.dir}"/>
<!-- Create the Scala library package -->
@@ -1426,7 +1428,7 @@
</quicksbaz>
</target>
- <target name="build.archive" depends="build.dist">
+ <target name="build.archive" depends="build.dist" if="do.archive">
<tar
destfile="${dist.dir}/scala-${version.number}.tgz"
compression="gzip">
|