summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2013-06-24 16:41:53 -0700
committerAdriaan Moors <adriaan.moors@typesafe.com>2013-07-05 16:00:16 -0700
commit46a4635d3acc0a18869131879e6cde862d6b9776 (patch)
treeabb18a0b1dd886547bd4b036b2702b5f87297df2 /build.xml
parent4340f799da2c7a7097eb327c353d0d96084197f8 (diff)
downloadscala-46a4635d3acc0a18869131879e6cde862d6b9776.tar.gz
scala-46a4635d3acc0a18869131879e6cde862d6b9776.tar.bz2
scala-46a4635d3acc0a18869131879e6cde862d6b9776.zip
Spin off parser combinators to scala-parser-combinators.jar.
Diffstat (limited to 'build.xml')
-rwxr-xr-xbuild.xml44
1 files changed, 36 insertions, 8 deletions
diff --git a/build.xml b/build.xml
index 854bb9c68b..6906c15a19 100755
--- a/build.xml
+++ b/build.xml
@@ -472,7 +472,7 @@ TODO:
There must be a variable of the shape @{stage}.@{project}.build.path
for all @{stage} in locker, quick, strap
and all @{project} in library, reflect, compiler
- when stage is quick, @{project} also includes: actors, repl, xml, swing, plugins, scalacheck, interactive, scaladoc, partest, scalap
+ when stage is quick, @{project} also includes: actors, parser-combinators, xml, repl, swing, plugins, scalacheck, interactive, scaladoc, partest, scalap
-->
<!-- LOCKER -->
@@ -510,6 +510,11 @@ TODO:
<pathelement location="${build-quick.dir}/classes/actors"/>
</path>
+ <path id="quick.parser-combinators.build.path">
+ <path refid="quick.library.build.path"/>
+ <pathelement location="${build-quick.dir}/classes/parser-combinators"/>
+ </path>
+
<path id="quick.reflect.build.path">
<path refid="quick.library.build.path"/>
<pathelement location="${build-quick.dir}/classes/reflect"/>
@@ -545,6 +550,7 @@ TODO:
<path id="quick.scalacheck.build.path">
<pathelement location="${build-quick.dir}/classes/library"/>
<pathelement location="${build-quick.dir}/classes/actors"/>
+ <pathelement location="${build-quick.dir}/classes/parser-combinators"/>
<pathelement location="${build-quick.dir}/classes/scalacheck"/>
<path refid="partest.extras.classpath"/>
</path>
@@ -566,6 +572,7 @@ TODO:
<path id="quick.scaladoc.build.path">
<path refid="quick.xml.build.path"/>
<path refid="quick.compiler.build.path"/>
+ <path refid="quick.parser-combinators.build.path"/>
<pathelement location="${build-quick.dir}/classes/partest"/>
<pathelement location="${build-quick.dir}/classes/scaladoc"/>
</path>
@@ -577,6 +584,7 @@ TODO:
</path>
<path id="quick.bin.tool.path">
+ <path refid="quick.parser-combinators.build.path"/>
<path refid="quick.xml.build.path"/>
<path refid="quick.repl.build.path"/>
<path refid="quick.actors.build.path"/>
@@ -596,6 +604,8 @@ TODO:
<path id="pack.bin.tool.path">
<pathelement location="${build-pack.dir}/lib/scala-library.jar"/>
+ <pathelement location="${build-pack.dir}/lib/scala-actors.jar"/>
+ <pathelement location="${build-pack.dir}/lib/scala-parser-combinators.jar"/>
<pathelement location="${build-pack.dir}/lib/scala-xml.jar"/>
<pathelement location="${build-pack.dir}/lib/scala-reflect.jar"/>
<pathelement location="${build-pack.dir}/lib/scala-compiler.jar"/>
@@ -622,7 +632,8 @@ TODO:
<fileset dir="${asm-classes}"/>
</path>
- <path id="pack.xml.files"> <fileset dir="${build-quick.dir}/classes/xml"/> </path>
+ <path id="pack.parser-combinators.files"> <fileset dir="${build-quick.dir}/classes/parser-combinators"/> </path>
+ <path id="pack.xml.files"> <fileset dir="${build-quick.dir}/classes/xml"/> </path>
<path id="pack.swing.files"> <fileset dir="${build-quick.dir}/classes/swing"/> </path>
<path id="pack.reflect.files"> <fileset dir="${build-quick.dir}/classes/reflect"/> </path>
<path id="pack.plugins.files"> <fileset dir="${build-quick.dir}/classes/continuations-plugin"/> </path>
@@ -663,6 +674,7 @@ TODO:
<!-- MISC -->
<path id="docs.compiler.path">
<pathelement location="${build-pack.dir}/lib/scala-library.jar"/>
+ <pathelement location="${build-pack.dir}/lib/scala-parser-combinators.jar"/>
<pathelement location="${build-pack.dir}/lib/scala-xml.jar"/>
<pathelement location="${build-pack.dir}/lib/scala-reflect.jar"/>
<pathelement location="${build-pack.dir}/lib/scala-compiler.jar"/>
@@ -689,6 +701,7 @@ TODO:
<path id="partest.classpath">
<path refid="pack.compiler.path"/>
+ <pathelement location="${build-pack.dir}/lib/scala-parser-combinators.jar"/>
<pathelement location="${build-pack.dir}/lib/scala-xml.jar"/>
<pathelement location="${build-pack.dir}/lib/scala-partest.jar"/>
<pathelement location="${build-pack.dir}/lib/scalap.jar"/>
@@ -718,6 +731,7 @@ TODO:
<pathelement location="${build-osgi.dir}/org.scala-lang.scala-reflect.jar"/>
<pathelement location="${build-osgi.dir}/org.scala-lang.scala-compiler.jar"/>
<pathelement location="${build-osgi.dir}/org.scala-lang.scala-actors.jar"/>
+ <pathelement location="${build-osgi.dir}/org.scala-lang.scala-parser-combinators.jar"/>
<path refid="pax.exam.classpath"/>
<path refid="forkjoin.classpath"/>
</path>
@@ -1162,6 +1176,9 @@ TODO:
<target name="quick.actors" depends="quick.lib">
<staged-build with="locker" stage="quick" project="actors"/> </target>
+ <target name="quick.parser-combinators" depends="quick.lib">
+ <staged-build with="locker" stage="quick" project="parser-combinators"/> </target>
+
<target name="quick.reflect" depends="quick.lib">
<staged-build with="locker" stage="quick" project="reflect"/> </target>
@@ -1171,7 +1188,7 @@ TODO:
<target name="quick.repl" depends="quick.comp">
<staged-build with="locker" stage="quick" project="repl"/> </target>
- <target name="quick.scalacheck" depends="quick.actors, quick.lib">
+ <target name="quick.scalacheck" depends="quick.actors, quick.parser-combinators, quick.lib">
<staged-build with="locker" stage="quick" project="scalacheck" args="-nowarn"/> </target>
<target name="quick.scalap" depends="quick.repl">
@@ -1180,7 +1197,7 @@ TODO:
<target name="quick.partest" depends="quick.scalap, quick.xml, quick.repl, asm.done">
<staged-build with="locker" stage="quick" project="partest" version="partest"/> </target>
- <target name="quick.scaladoc" depends="quick.comp, quick.partest">
+ <target name="quick.scaladoc" depends="quick.comp, quick.partest, quick.parser-combinators">
<staged-build with="locker" stage="quick" project="scaladoc" version="scaladoc"/> </target>
<target name="quick.interactive" depends="quick.comp, quick.scaladoc">
@@ -1225,7 +1242,7 @@ TODO:
</staged-uptodate>
</target>
- <target name="quick.bin" depends="quick.lib, quick.reflect, quick.comp, quick.repl, quick.scalacheck, quick.scalap, quick.interactive, quick.xml, quick.swing, quick.plugins, quick.partest, quick.scaladoc">
+ <target name="quick.bin" depends="quick.lib, quick.reflect, quick.comp, quick.repl, quick.scalacheck, quick.scalap, quick.interactive, quick.xml, quick.parser-combinators, quick.swing, quick.plugins, quick.partest, quick.scaladoc">
<staged-bin stage="quick" classpathref="quick.bin.tool.path"/>
</target>
@@ -1240,7 +1257,8 @@ TODO:
<staged-pack project="library"/></target>
<target name="pack.actors" depends="quick.lib"> <staged-pack project="actors"/> </target>
- <target name="pack.xml" depends="quick.xml"> <staged-pack project="xml"/> </target>
+ <target name="pack.xml" depends="quick.xml"> <staged-pack project="xml"/> </target>
+ <target name="pack.parser-combinators" depends="quick.parser-combinators"> <staged-pack project="parser-combinators"/> </target>
<target name="pack.swing" if="has.java6" depends="quick.swing"> <staged-pack project="swing"/> </target>
<target name="pack.reflect" depends="quick.reflect"> <staged-pack project="reflect"/> </target>
@@ -1277,7 +1295,7 @@ TODO:
<target name="pack.scalap" depends="quick.scalap"> <staged-pack project="scalap" targetjar="scalap.jar"/> </target>
- <target name="pack.bin" depends="pack.comp, pack.lib, pack.actors, pack.partest, pack.plugins, pack.reflect, pack.scalacheck, pack.scalap, pack.xml,pack.swing">
+ <target name="pack.bin" depends="pack.comp, pack.lib, pack.actors, pack.partest, pack.plugins, pack.reflect, pack.scalacheck, pack.scalap, pack.xml, pack.swing, pack.parser-combinators">
<staged-bin stage="pack"/>
</target>
@@ -1381,6 +1399,7 @@ TODO:
<stopwatch name="osgi.bundle.timer"/>
<make-bundle name="scala-library" version="${osgi.version.number}" />
<make-bundle name="scala-actors" version="${osgi.version.number}" />
+ <make-bundle name="scala-parser-combinators" version="${osgi.version.number}" />
<make-bundle name="scala-reflect" version="${osgi.version.number}" />
<make-bundle name="scala-compiler" version="${osgi.version.number}" />
<make-plugin-bundle name="continuations" version="${osgi.version.number}" />
@@ -1707,6 +1726,12 @@ TODO:
</staged-docs>
</target>
+ <target name="docs.parser-combinators" depends="docs.start">
+ <staged-docs project="parser-combinators" title="Scala Parser Combinator Library" docroot="rootdoc.txt">
+ <include name="**/*.scala"/>
+ </staged-docs>
+ </target>
+
<target name="docs.comp" depends="docs.start">
<staged-docs project="compiler" title="Scala Compiler" docroot="rootdoc.txt">
<include name="**/*.scala"/>
@@ -1775,7 +1800,7 @@ TODO:
</staged-uptodate>
</target>
- <target name="docs.done" depends="docs.jline, docs.comp, docs.man, docs.lib, docs.xml, docs.scalap, docs.partest, docs.continuations-plugin"/>
+ <target name="docs.done" depends="docs.jline, docs.comp, docs.man, docs.lib, docs.xml, docs.parser-combinators, docs.scalap, docs.partest, docs.continuations-plugin"/>
<!-- ===========================================================================
DISTRIBUTION
@@ -1823,6 +1848,7 @@ TODO:
<copy-bundle name="scala-xml"/>
<copy-bundle name="scala-swing"/>
<copy-bundle name="scala-actors"/>
+ <copy-bundle name="scala-parser-combinators"/>
<copy-bundle name="scala-compiler"/>
<copy toDir="${dist.dir}/bin">
<fileset dir="${build-pack.dir}/bin"/>
@@ -1882,6 +1908,7 @@ TODO:
<jar whenmanifestonly="fail" destfile="${dist.dir}/src/scala-xml-src.jar" basedir="${src.dir}/xml"/>
<jar whenmanifestonly="fail" destfile="${dist.dir}/src/scala-swing-src.jar" basedir="${src.dir}/swing"/>
<jar whenmanifestonly="fail" destfile="${dist.dir}/src/scala-reflect-src.jar" basedir="${src.dir}/reflect"/>
+ <jar whenmanifestonly="fail" destfile="${dist.dir}/src/scala-parser-combinators-src.jar" basedir="${src.dir}/parser-combinators"/>
<jar whenmanifestonly="fail" destfile="${dist.dir}/src/scalap-src.jar" basedir="${src.dir}/scalap"/>
<jar whenmanifestonly="fail" destfile="${dist.dir}/src/scala-partest-src.jar" basedir="${src.dir}/partest"/>
</target>
@@ -1933,6 +1960,7 @@ TODO:
<fileset dir="${src.dir}/xml"/>
<fileset dir="${src.dir}/swing"/>
<fileset dir="${src.dir}/actors"/>
+ <fileset dir="${src.dir}/parser-combinators"/>
<fileset dir="${src.dir}/forkjoin"/>
</jar>
<jar whenmanifestonly="fail" destfile="${lib.dir}/scala-reflect-src.jar" basedir="${src.dir}/reflect"/>