OpenGrid.Framework.Data.MySQL.dll.build 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?xml version="1.0" ?>
  2. <project name="OpenGrid.Framework.Data.MySQL" 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.MySQL" dynamicprefix="true" >
  12. </resources>
  13. <sources failonempty="true">
  14. <include name="MySQLInventoryData.cs" />
  15. <include name="MySQLUserData.cs" />
  16. <include name="MySQLManager.cs" />
  17. <include name="MySQLLogData.cs" />
  18. <include name="MySQLGridData.cs" />
  19. <include name="Properties/AssemblyInfo.cs" />
  20. </sources>
  21. <references basedir="${project::get-base-directory()}">
  22. <lib>
  23. <include name="${project::get-base-directory()}" />
  24. <include name="${project::get-base-directory()}/${build.dir}" />
  25. </lib>
  26. <include name="System.dll" />
  27. <include name="System.Xml.dll" />
  28. <include name="System.Data.dll" />
  29. <include name="../../bin/OpenGrid.Framework.Data.dll" />
  30. <include name="../../bin/libsecondlife.dll" />
  31. <include name="../../bin/MySql.Data.dll" />
  32. </references>
  33. </csc>
  34. <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" />
  35. <mkdir dir="${project::get-base-directory()}/../../bin/"/>
  36. <copy todir="${project::get-base-directory()}/../../bin/">
  37. <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
  38. <include name="*.dll"/>
  39. <include name="*.exe"/>
  40. </fileset>
  41. </copy>
  42. </target>
  43. <target name="clean">
  44. <delete dir="${bin.dir}" failonerror="false" />
  45. <delete dir="${obj.dir}" failonerror="false" />
  46. </target>
  47. <target name="doc" description="Creates documentation.">
  48. </target>
  49. </project>