summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@epfl.ch>2008-08-12 11:00:53 +0000
committerLukas Rytz <lukas.rytz@epfl.ch>2008-08-12 11:00:53 +0000
commit13fddf993cb528a32a29e28986630462f5a5fcd5 (patch)
tree9b004f47bd3c50cf6859017ee81deec9cc0dc5a2 /build.xml
parent4f81ca5702998dd1e2a5bf8adce9df655b43fab9 (diff)
downloadscala-13fddf993cb528a32a29e28986630462f5a5fcd5.tar.gz
scala-13fddf993cb528a32a29e28986630462f5a5fcd5.tar.bz2
scala-13fddf993cb528a32a29e28986630462f5a5fcd5.zip
json parser builds on jvm14.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml35
1 files changed, 32 insertions, 3 deletions
diff --git a/build.xml b/build.xml
index 3771d8e01b..e55d9b476f 100644
--- a/build.xml
+++ b/build.xml
@@ -900,7 +900,28 @@ DOCUMENTATION
<touch file="${build-docs.dir}/manual.complete" verbose="no"/>
</target>
- <target name="docs.pre-comp" depends="docs.man">
+ <target name="docs.pre-swing" depends="docs.man">
+ <uptodate property="docs.swing.available" targetfile="${build-docs.dir}/swing.complete">
+ <srcfiles dir="${src.dir}/swing"/>
+ </uptodate>
+ </target>
+
+ <target name="docs.swing" depends="docs.pre-swing" unless="docs.swing.available">
+ <stopwatch name="docs.swing.timer"/>
+ <mkdir dir="${build-docs.dir}/swing"/>
+ <scaladoc
+ destdir="${build-docs.dir}/swing"
+ windowtitle="Scala Swing Library"
+ doctitle="Scala Swing ${version.number} API"
+ classpathref="pack.classpath"
+ srcdir="${src.dir}/swing">
+ <include name="**/*.scala"/>
+ </scaladoc>
+ <touch file="${build-docs.dir}/swing.complete" verbose="no"/>
+ <stopwatch name="docs.swing.timer" action="total"/>
+ </target>
+
+ <target name="docs.pre-comp" depends="docs.swing">
<uptodate property="docs.comp.available" targetfile="${build-docs.dir}/compiler.complete">
<srcfiles dir="${src.dir}/compiler"/>
</uptodate>
@@ -920,8 +941,8 @@ DOCUMENTATION
<touch file="${build-docs.dir}/compiler.complete" verbose="no"/>
<stopwatch name="docs.comp.timer" action="total"/>
</target>
-
- <target name="docs.done" depends="docs.man"/>
+
+ <target name="docs.done" depends="docs.swing"/>
<target name="docs.clean">
<delete dir="${build-docs.dir}" includeemptydirs="yes" quiet="yes" failonerror="no"/>
@@ -1012,6 +1033,12 @@ DISTRIBUTION
<copy toDir="${dist.dir}/doc/scala/tools">
<fileset dir="${build-docs.dir}/manual/html"/>
</copy>
+ <mkdir dir="${dist.dir}/doc/scala/swing"/>
+ <copy file="${src.dir}/swing/doc/README" toDir="${dist.dir}/doc/scala/swing"/>
+ <mkdir dir="${dist.dir}/doc/scala/swing/api"/>
+ <copy toDir="${dist.dir}/doc/scala/swing/api">
+ <fileset dir="${build-docs.dir}/swing"/>
+ </copy>
</target>
<target name="dist.man" depends="dist.doc">
@@ -1139,6 +1166,8 @@ FORWARDED TARGETS FOR PACKAGING
<ant antfile="${src.dir}/build/pack.xml" target="msilpack-all.done" inheritall="yes" inheritrefs="yes"/>
</target>
+ <target name="alldistpack" depends="distpack, fourdistpack, msildistpack"/>
+
<!-- ===========================================================================
FORWARDED TARGETS FOR NIGHTLY BUILDS
============================================================================ -->