OpenSim.Servers.dll.build 2.5 KB

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