OpenGridServices.InventoryServer.exe.build 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?xml version="1.0" ?>
  2. <project name="OpenGridServices.InventoryServer" 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;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe">
  11. <resources prefix="OpenGridServices.InventoryServer" dynamicprefix="true" >
  12. </resources>
  13. <sources failonempty="true">
  14. <include name="Main.cs" />
  15. <include name="InventoryManager.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.Data.dll" />
  24. <include name="System.Xml.dll" />
  25. <include name="../../bin/OpenSim.Framework.dll" />
  26. <include name="../../bin/OpenSim.Framework.Console.dll" />
  27. <include name="../../bin/OpenSim.GridInterfaces.Local.dll" />
  28. <include name="../../bin/OpenGrid.Framework.Data.dll" />
  29. <include name="../../bin/OpenSim.Servers.dll" />
  30. <include name="../../bin/libsecondlife.dll" />
  31. <include name="../../bin/Db4objects.Db4o.dll" />
  32. <include name="../../bin/XMLRPC.dll" />
  33. </references>
  34. </csc>
  35. <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" />
  36. <mkdir dir="${project::get-base-directory()}/../../bin/"/>
  37. <copy todir="${project::get-base-directory()}/../../bin/">
  38. <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
  39. <include name="*.dll"/>
  40. <include name="*.exe"/>
  41. </fileset>
  42. </copy>
  43. </target>
  44. <target name="clean">
  45. <delete dir="${bin.dir}" failonerror="false" />
  46. <delete dir="${obj.dir}" failonerror="false" />
  47. </target>
  48. <target name="doc" description="Creates documentation.">
  49. </target>
  50. </project>