OpenSim.Scripting.EmbeddedJVM.dll.build 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?xml version="1.0" ?>
  2. <project name="OpenSim.Scripting.EmbeddedJVM" 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" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll">
  11. <resources prefix="OpenSim.Scripting.EmbeddedJVM" dynamicprefix="true" >
  12. </resources>
  13. <sources failonempty="true">
  14. <include name="ClassInstance.cs" />
  15. <include name="ClassRecord.cs" />
  16. <include name="Heap.cs" />
  17. <include name="Interpreter.cs" />
  18. <include name="InterpreterLogic.cs" />
  19. <include name="InterpreterMethods.cs" />
  20. <include name="InterpreterReturn.cs" />
  21. <include name="MainMemory.cs" />
  22. <include name="MethodMemory.cs" />
  23. <include name="Object.cs" />
  24. <include name="OpenSimJVM.cs" />
  25. <include name="Stack.cs" />
  26. <include name="StackFrame.cs" />
  27. <include name="Thread.cs" />
  28. <include name="Properties/AssemblyInfo.cs" />
  29. <include name="Types/ArrayReference.cs" />
  30. <include name="Types/BaseType.cs" />
  31. <include name="Types/ObjectReference.cs" />
  32. <include name="Types/PrimitiveTypes/Byte.cs" />
  33. <include name="Types/PrimitiveTypes/Char.cs" />
  34. <include name="Types/PrimitiveTypes/Float.cs" />
  35. <include name="Types/PrimitiveTypes/Int.cs" />
  36. </sources>
  37. <references basedir="${project::get-base-directory()}">
  38. <lib>
  39. <include name="${project::get-base-directory()}" />
  40. <include name="${project::get-base-directory()}/${build.dir}" />
  41. </lib>
  42. <include name="System.dll" />
  43. <include name="System.Xml.dll" />
  44. <include name="../../bin/OpenSim.Framework.dll" />
  45. </references>
  46. </csc>
  47. <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/ScriptEngines/" />
  48. <mkdir dir="${project::get-base-directory()}/../../bin/ScriptEngines/"/>
  49. <copy todir="${project::get-base-directory()}/../../bin/ScriptEngines/">
  50. <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
  51. <include name="*.dll"/>
  52. <include name="*.exe"/>
  53. </fileset>
  54. </copy>
  55. </target>
  56. <target name="clean">
  57. <delete dir="${bin.dir}" failonerror="false" />
  58. <delete dir="${obj.dir}" failonerror="false" />
  59. </target>
  60. <target name="doc" description="Creates documentation.">
  61. </target>
  62. </project>