<?xml version="1.0"?>

<!--
	Build file to compile, and package all of the examples
        and servlets for the example code described in
	"Developing for Wireless Devices using J2ME(tm)"
-->
<project name="BookFiles" default="all" basedir=".">

	<!-- Build the size task before anything else -->
	<target name="buildtask">
		<ant antfile="buildtask.xml"/>
	</target>

	<!-- Build the midlets -->
	<target name="buildmidlets">
		<ant antfile="buildmidlets.xml"/>
	</target>

	<target name="all" depends="buildtask, buildmidlets"/>

	<target name="clean">
		<ant antfile="buildmidlets.xml" target="clean"/>
		<delete dir="classes"/>
		<delete dir="lib"/>
	</target>

	<target name="run">
		<ant antfile="buildmidlets.xml" target="run"/>
	</target>
</project>
