OpenGridServices.GridServer.exe.build 2.4 KB

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