OpenGrid.Framework.Data.MSSQL.dll.build 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?xml version="1.0" ?>
  2. <project name="OpenGrid.Framework.Data.MSSQL" default="build">
  3. <target name="build">
  4. <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
  5. <mkdir dir="${project::get-base-directory()}/${build.dir}" />
  6. <copy todir="${project::get-base-directory()}/${build.dir}">
  7. <fileset basedir="${project::get-base-directory()}">
  8. </fileset>
  9. </copy>
  10. <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll">
  11. <resources prefix="OpenGrid.Framework.Data.MSSQL" dynamicprefix="true" >
  12. </resources>
  13. <sources failonempty="true">
  14. <include name="MSSQLGridData.cs" />
  15. <include name="MSSQLManager.cs" />
  16. <include name="Properties/AssemblyInfo.cs" />
  17. </sources>
  18. <references basedir="${project::get-base-directory()}">
  19. <lib>
  20. <include name="${project::get-base-directory()}" />
  21. <include name="${project::get-base-directory()}/${build.dir}" />
  22. </lib>
  23. <include name="System.dll" />
  24. <include name="System.Xml.dll" />
  25. <include name="System.Data.dll" />
  26. <include name="../../bin/OpenGrid.Framework.Data.dll" />
  27. <include name="../../bin/libsecondlife.dll" />
  28. </references>
  29. </csc>
  30. <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" />
  31. <mkdir dir="${project::get-base-directory()}/../../bin/"/>
  32. <copy todir="${project::get-base-directory()}/../../bin/">
  33. <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
  34. <include name="*.dll"/>
  35. <include name="*.exe"/>
  36. </fileset>
  37. </copy>
  38. </target>
  39. <target name="clean">
  40. <delete dir="${bin.dir}" failonerror="false" />
  41. <delete dir="${obj.dir}" failonerror="false" />
  42. </target>
  43. <target name="doc" description="Creates documentation.">
  44. </target>
  45. </project>