<?xml version="1.0" ?>
<project name="Spring.Messaging.Nms" default="build" xmlns="http://nant.sf.net/schemas/nant.xsd">
<!--
    Required properties:
      * current.bin.dir           - (path) root level to build to
      * current.build.debug       - (true|false) debug build?
      * current.build.defines.csc - framework-specific build defines for C# compiler
 -->
    <target name="build">
        <csc target="library" define="${current.build.defines.csc}"
                warnaserror="false"
            debug="${current.build.debug}"
            output="${current.bin.dir}/${project::get-name()}.dll"
            doc="${current.bin.dir}/${project::get-name()}.xml"
            >
            <arg line="${compiler.args}"/>
            <nowarn>
                <warning number="1591" />
            </nowarn>
            <sources failonempty="true">
                <include name="**/*.cs" />
                <include name="../GenCommonAssemblyInfo.cs" />
            </sources>
	    <resources prefix="Spring" dynamicprefix="true" failonempty="true">
        	<include name="**/*.keys" />
	        <include name="**/*.xsd" />
        	<exclude name="**/obj/**" />
	    </resources>
	    <references basedir="${current.bin.dir}">
		<include name="*.dll" />
		<include name="System.Data.Dll" />
		<exclude name="${project::get-name()}.dll" />
		<exclude name="CloverRuntime.dll" />
	    </references>
        </csc>
    </target>

</project>