2015-12-16 22:51:48 -08:00

44 lines
1.5 KiB
XML

<?xml version="1.0" ?>
<project default="run">
<property name="chapter" value="newio"/>
<property name="excludedfiles" value=""/>
<import file="../Ant-Common.xml"/>
<import file="../Ant-Clean.xml"/>
<target name="run" description="Compile and run" depends="build">
<jrun cls="AvailableCharSets" />
<jrun cls="BufferToText" />
<jrun cls="ChannelCopy" arguments="ChannelCopy.java test.txt" />
<jrun cls="Endians" />
<jrun cls="FileLocking" />
<jrun cls="GetChannel" />
<jrun cls="GetData" />
<jrun cls="IntBufferDemo" />
<jrun cls="LargeMappedFiles" />
<jrun cls="LockingMappedFiles" />
<jrun cls="MappedIO" />
<jrun cls="TransferTo" arguments="TransferTo.java TransferTo.txt" />
<jrun cls="UsingBuffers" />
<jrun cls="ViewBuffers" />
</target>
<target name="runconsole" description="Compile and run" depends="build">
<jrunconsole cls="AvailableCharSets" />
<jrunconsole cls="BufferToText" />
<jrunconsole cls="ChannelCopy" arguments="ChannelCopy.java test.txt" />
<jrunconsole cls="Endians" />
<jrunconsole cls="FileLocking" />
<jrunconsole cls="GetChannel" />
<jrunconsole cls="GetData" />
<jrunconsole cls="IntBufferDemo" />
<jrunconsole cls="LargeMappedFiles" />
<jrunconsole cls="LockingMappedFiles" />
<jrunconsole cls="MappedIO" />
<jrunconsole cls="TransferTo" arguments="TransferTo.java TransferTo.txt" />
<jrunconsole cls="UsingBuffers" />
<jrunconsole cls="ViewBuffers" />
</target>
</project>