OpenSim.build 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?xml version="1.0" ?>
  2. <project name="OpenSim" default="build">
  3. <echo message="Using '${nant.settings.currentframework}' Framework"/>
  4. <property name="bin.dir" value="bin" />
  5. <property name="obj.dir" value="obj" />
  6. <property name="doc.dir" value="doc" />
  7. <property name="project.main.dir" value="${project::get-base-directory()}" />
  8. <property name="project.config" value="Release" />
  9. <target name="Release" description="">
  10. <property name="project.config" value="Release" />
  11. <property name="build.debug" value="false" />
  12. </target>
  13. <target name="Debug" description="">
  14. <property name="project.config" value="Debug" />
  15. <property name="build.debug" value="true" />
  16. </target>
  17. <target name="net-1.1" description="Sets framework to .NET 1.1">
  18. <property name="nant.settings.currentframework" value="net-1.1" />
  19. </target>
  20. <target name="net-2.0" description="Sets framework to .NET 2.0">
  21. <property name="nant.settings.currentframework" value="net-2.0" />
  22. </target>
  23. <target name="mono-2.0" description="Sets framework to mono 2.0">
  24. <property name="nant.settings.currentframework" value="mono-2.0" />
  25. </target>
  26. <target name="mono-1.0" description="Sets framework to mono 1.0">
  27. <property name="nant.settings.currentframework" value="mono-1.0" />
  28. </target>
  29. <target name="init" description="">
  30. <call target="${project.config}" />
  31. <sysinfo />
  32. <echo message="Platform ${sys.os.platform}" />
  33. <property name="build.dir" value="${bin.dir}/${project.config}" />
  34. </target>
  35. <target name="clean" description="">
  36. <echo message="Deleting all builds from all configurations" />
  37. <delete dir="${bin.dir}" failonerror="false" />
  38. <delete dir="${obj.dir}" failonerror="false" />
  39. <nant buildfile="OpenSim.Framework/OpenSim.Framework.dll.build" target="clean" />
  40. <nant buildfile="OpenSim.Framework.Console/OpenSim.Framework.Console.dll.build" target="clean" />
  41. <nant buildfile="OpenSim.Physics/OdePlugin/OpenSim.Physics.OdePlugin.dll.build" target="clean" />
  42. <nant buildfile="Servers/OpenSim.Servers.dll.build" target="clean" />
  43. <nant buildfile="OpenSim.Physics/Manager/OpenSim.Physics.Manager.dll.build" target="clean" />
  44. <nant buildfile="OpenSim.Physics/BasicPhysicsPlugin/OpenSim.Physics.BasicPhysicsPlugin.dll.build" target="clean" />
  45. <nant buildfile="OpenSim.RegionServer/OpenSim.RegionServer.dll.build" target="clean" />
  46. <nant buildfile="OpenSim.GenericConfig/Xml/OpenSim.GenericConfig.Xml.dll.build" target="clean" />
  47. <nant buildfile="OpenGridServices.UserServer/OpenGridServices.UserServer.exe.build" target="clean" />
  48. <nant buildfile="OpenGridServices.GridServer/OpenGridServices.GridServer.exe.build" target="clean" />
  49. <nant buildfile="OpenSim.GridInterfaces/Local/OpenSim.GridInterfaces.Local.dll.build" target="clean" />
  50. <nant buildfile="OpenSim.Physics/PhysXPlugin/OpenSim.Physics.PhysXPlugin.dll.build" target="clean" />
  51. <nant buildfile="OpenGrid.Config/GridConfigDb4o/OpenGrid.Config.GridConfigDb4o.dll.build" target="clean" />
  52. <nant buildfile="OpenSim/OpenSim.exe.build" target="clean" />
  53. <nant buildfile="OpenSim.Storage/LocalStorageDb4o/OpenSim.Storage.LocalStorageDb4o.dll.build" target="clean" />
  54. <nant buildfile="OpenUser.Config/UserConfigDb4o/OpenUser.Config.UserConfigDb4o.dll.build" target="clean" />
  55. <nant buildfile="OpenSim.GridInterfaces/Remote/OpenSim.GridInterfaces.Remote.dll.build" target="clean" />
  56. <nant buildfile="OpenSim.Terrain.BasicTerrain/OpenSim.Terrain.BasicTerrain.dll.build" target="clean" />
  57. </target>
  58. <target name="build" depends="init" description="">
  59. <nant buildfile="OpenSim.Framework/OpenSim.Framework.dll.build" target="build" />
  60. <nant buildfile="OpenSim.Framework.Console/OpenSim.Framework.Console.dll.build" target="build" />
  61. <nant buildfile="Servers/OpenSim.Servers.dll.build" target="build" />
  62. <nant buildfile="OpenGridServices.GridServer/OpenGridServices.GridServer.exe.build" target="build" />
  63. <nant buildfile="OpenGridServices.UserServer/OpenGridServices.UserServer.exe.build" target="build" />
  64. <nant buildfile="OpenSim.Physics/Manager/OpenSim.Physics.Manager.dll.build" target="build" />
  65. <nant buildfile="OpenGrid.Config/GridConfigDb4o/OpenGrid.Config.GridConfigDb4o.dll.build" target="build" />
  66. <nant buildfile="OpenUser.Config/UserConfigDb4o/OpenUser.Config.UserConfigDb4o.dll.build" target="build" />
  67. <nant buildfile="OpenSim.GridInterfaces/Local/OpenSim.GridInterfaces.Local.dll.build" target="build" />
  68. <nant buildfile="OpenSim.GridInterfaces/Remote/OpenSim.GridInterfaces.Remote.dll.build" target="build" />
  69. <nant buildfile="OpenSim.Physics/BasicPhysicsPlugin/OpenSim.Physics.BasicPhysicsPlugin.dll.build" target="build" />
  70. <nant buildfile="OpenSim.Physics/PhysXPlugin/OpenSim.Physics.PhysXPlugin.dll.build" target="build" />
  71. <nant buildfile="OpenSim.Physics/OdePlugin/OpenSim.Physics.OdePlugin.dll.build" target="build" />
  72. <nant buildfile="OpenSim.GenericConfig/Xml/OpenSim.GenericConfig.Xml.dll.build" target="build" />
  73. <nant buildfile="OpenSim.Terrain.BasicTerrain/OpenSim.Terrain.BasicTerrain.dll.build" target="build" />
  74. <nant buildfile="OpenSim.RegionServer/OpenSim.RegionServer.dll.build" target="build" />
  75. <nant buildfile="OpenSim/OpenSim.exe.build" target="build" />
  76. <nant buildfile="OpenSim.Storage/LocalStorageDb4o/OpenSim.Storage.LocalStorageDb4o.dll.build" target="build" />
  77. </target>
  78. <target name="build-release" depends="Release, init, build" description="Builds in Release mode" />
  79. <target name="build-debug" depends="Debug, init, build" description="Builds in Debug mode" />
  80. <target name="package" depends="clean, doc" description="Builds all" />
  81. <target name="doc" depends="build-release">
  82. <echo message="Generating all documentation from all builds" />
  83. <nant buildfile="OpenSim.Framework/OpenSim.Framework.dll.build" target="doc" />
  84. <nant buildfile="OpenSim.Framework.Console/OpenSim.Framework.Console.dll.build" target="doc" />
  85. <nant buildfile="OpenSim.Physics/OdePlugin/OpenSim.Physics.OdePlugin.dll.build" target="doc" />
  86. <nant buildfile="Servers/OpenSim.Servers.dll.build" target="doc" />
  87. <nant buildfile="OpenSim.Physics/Manager/OpenSim.Physics.Manager.dll.build" target="doc" />
  88. <nant buildfile="OpenSim.Physics/BasicPhysicsPlugin/OpenSim.Physics.BasicPhysicsPlugin.dll.build" target="doc" />
  89. <nant buildfile="OpenSim.RegionServer/OpenSim.RegionServer.dll.build" target="doc" />
  90. <nant buildfile="OpenSim.GenericConfig/Xml/OpenSim.GenericConfig.Xml.dll.build" target="doc" />
  91. <nant buildfile="OpenGridServices.UserServer/OpenGridServices.UserServer.exe.build" target="doc" />
  92. <nant buildfile="OpenGridServices.GridServer/OpenGridServices.GridServer.exe.build" target="doc" />
  93. <nant buildfile="OpenSim.GridInterfaces/Local/OpenSim.GridInterfaces.Local.dll.build" target="doc" />
  94. <nant buildfile="OpenSim.Physics/PhysXPlugin/OpenSim.Physics.PhysXPlugin.dll.build" target="doc" />
  95. <nant buildfile="OpenGrid.Config/GridConfigDb4o/OpenGrid.Config.GridConfigDb4o.dll.build" target="doc" />
  96. <nant buildfile="OpenSim/OpenSim.exe.build" target="doc" />
  97. <nant buildfile="OpenSim.Storage/LocalStorageDb4o/OpenSim.Storage.LocalStorageDb4o.dll.build" target="doc" />
  98. <nant buildfile="OpenUser.Config/UserConfigDb4o/OpenUser.Config.UserConfigDb4o.dll.build" target="doc" />
  99. <nant buildfile="OpenSim.GridInterfaces/Remote/OpenSim.GridInterfaces.Remote.dll.build" target="doc" />
  100. <nant buildfile="OpenSim.Terrain.BasicTerrain/OpenSim.Terrain.BasicTerrain.dll.build" target="doc" />
  101. </target>
  102. </project>