OpenSim.Config.SimConfigDb4o.dll.build 2.4 KB

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