<project name="Profiler" default="build" basedir=".">
	<import file="build.xml"/>
	<taskdef name="jsprofcopy" classname="com.webroot.antext.JSProfCopy"/>


	<target name="profile.bindows" description="Instrument Bindows source for Profiling">
		<delete dir="${dist.jetty.bindows}/css"/>
		<delete dir="${dist.jetty.bindows}/js"/>

		<jsprofcopy todir="${dist.jetty.bindows}/js">
			<fileset dir="${bindows}/html/js.source"/>
		</jsprofcopy>

		<copy todir="${dist.jetty.bindows}/css">
			<fileset dir="${bindows}/html/css.source"/>
		</copy>
	</target>


	<target name="profile.Admin" description="Instrument AdminConsole JavaScript for Profiling">
		<jsprofcopy todir="${dist.jetty.webapps}/${Admin.name}" overwrite="true">
			<fileset dir="${Admin.location}/resources"/>
		</jsprofcopy>
	</target>
</project>