removed task 'examples' from build.xml

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6631 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
michelou 2006-03-08 15:56:20 +00:00
parent a47b53941b
commit 8a89650451
1 changed files with 0 additions and 44 deletions

View File

@ -813,50 +813,6 @@ DOCUMENTATION
<echo level="error" message="Docs is not available yet."/> <echo level="error" message="Docs is not available yet."/>
</target> </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 GENERATES A DISTRIBUTION
============================================================================ --> ============================================================================ -->