OpenSim.Servers.dll.build 2.1 KB

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