OpenSim.Storage.LocalStorageSQLite.dll.build 2.3 KB

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