summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2006-03-08 15:56:20 +0000
committermichelou <michelou@epfl.ch>2006-03-08 15:56:20 +0000
commit2534d32a6e6f6905c5e801493f980f64c7a739fc (patch)
tree86a65c538658acd74b7633844a6a3453d2427acf
parent27b35faf279393f9cd820d33d8b51ad22dc8173d (diff)
downloadscala-2534d32a6e6f6905c5e801493f980f64c7a739fc.tar.gz
scala-2534d32a6e6f6905c5e801493f980f64c7a739fc.tar.bz2
scala-2534d32a6e6f6905c5e801493f980f64c7a739fc.zip
removed task 'examples' from build.xml
-rw-r--r--build.xml44
1 files changed, 0 insertions, 44 deletions
diff --git a/build.xml b/build.xml
index c9e92fc3e5..a779cd86e6 100644
--- a/build.xml
+++ b/build.xml
@@ -814,50 +814,6 @@ DOCUMENTATION
</target>
<!-- ===========================================================================
-EXAMPLES
-============================================================================ -->
-
- <target name="examples" depends="setup">
- <remove dir="${build.dir}/examples"/>
- <mkdir dir="${build.dir}"/>
- <pathconvert property="list" pathsep=",">
- <path>
- <fileset dir="${docs.dir}" includes="examples/*.scala"
- excludes="**/*current.scala,**/fors.scala,**/parsers2.scala,**/typeinf.scala"/>
- </path>
- <mapper>
- <globmapper from="${docs.dir}/*" to="*"/>
- </mapper>
- </pathconvert>
- <for list="${list}" param="file">
- <sequential>
- <starr srcdir="${docs.dir}"
- destdir="${build.dir}">
- <classpath>
- <pathelement location="${starr.lib.jar}"/>
- <pathelement location="${build.dir}"/>
- </classpath>
- <include name="@{file}"/>
- </starr>
- </sequential>
- </for>
- <for list="${list}" param="file">
- <sequential>
- <var name="classname" unset="true"/>
- <basename property="classname" file="@{file}" suffix=".scala"/>
- <echo>classname=${classname}</echo>
- <java classname="examples.${classname}"
- output="${build.dir}/examples/${classname}.log">
- <classpath>
- <pathelement location="${starr.lib.jar}"/>
- <pathelement location="${build.dir}"/>
- </classpath>
- </java>
- </sequential>
- </for>
- </target>
-
-<!-- ===========================================================================
GENERATES A DISTRIBUTION
============================================================================ -->