OpenSim.Servers.dll.build 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0" ?>
  2. <project name="OpenSim.Servers" 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="OpenSim.Servers" dynamicprefix="true" >
  12. </resources>
  13. <sources failonempty="true">
  14. <include name="BaseHttpServer.cs" />
  15. <include name="BaseServer.cs" />
  16. <include name="CheckSumServer.cs" />
  17. <include name="IRestHandler.cs" />
  18. <include name="LocalUserProfileManager.cs" />
  19. <include name="LoginResponse.cs" />
  20. <include name="LoginServer.cs" />
  21. <include name="UDPServerBase.cs" />
  22. <include name="XmlRpcMethod.cs" />
  23. </sources>
  24. <references basedir="${project::get-base-directory()}">
  25. <lib>
  26. <include name="${project::get-base-directory()}" />
  27. <include name="${project::get-base-directory()}/${build.dir}" />
  28. </lib>
  29. <include name="System.dll" />
  30. <include name="System.Xml.dll" />
  31. <include name="../../bin/OpenSim.Framework.dll" />
  32. <include name="../../bin/OpenSim.Framework.Console.dll" />
  33. <include name="../../bin/libsecondlife.dll" />
  34. <include name="../../bin/XMLRPC.dll" />
  35. </references>
  36. </csc>
  37. <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" />
  38. <mkdir dir="${project::get-base-directory()}/../../bin/"/>
  39. <copy todir="${project::get-base-directory()}/../../bin/">
  40. <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
  41. <include name="*.dll"/>
  42. <include name="*.exe"/>
  43. </fileset>
  44. </copy>
  45. </target>
  46. <target name="clean">
  47. <delete dir="${bin.dir}" failonerror="false" />
  48. <delete dir="${obj.dir}" failonerror="false" />
  49. </target>
  50. <target name="doc" description="Creates documentation.">
  51. </target>
  52. </project>