XMLRPC.dll.build 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" ?>
  2. <project name="XMLRPC" 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="XMLRPC" dynamicprefix="true" >
  12. </resources>
  13. <sources failonempty="true">
  14. <include name="XmlRpcBoxcarRequest.cs" />
  15. <include name="XmlRpcRequest.cs" />
  16. <include name="XmlRpcResponseSerializer.cs" />
  17. <include name="Logger.cs" />
  18. <include name="XmlRpcRequestDeserializer.cs" />
  19. <include name="XmlRpcExposedAttribute.cs" />
  20. <include name="XmlRpcResponse.cs" />
  21. <include name="XmlRpcException.cs" />
  22. <include name="XmlRpcResponseDeserializer.cs" />
  23. <include name="XmlRpcResponder.cs" />
  24. <include name="XmlRpcServer.cs" />
  25. <include name="XmlRpcErrorCodes.cs" />
  26. <include name="XmlRpcSerializer.cs" />
  27. <include name="XmlRpcSystemObject.cs" />
  28. <include name="SimpleHttpRequest.cs" />
  29. <include name="XmlRpcClientProxy.cs" />
  30. <include name="XmlRpcRequestSerializer.cs" />
  31. <include name="XmlRpcDeserializer.cs" />
  32. <include name="XmlRpcXmlTokens.cs" />
  33. </sources>
  34. <references basedir="${project::get-base-directory()}">
  35. <lib>
  36. <include name="${project::get-base-directory()}" />
  37. <include name="${project::get-base-directory()}/${build.dir}" />
  38. </lib>
  39. <include name="System.dll" />
  40. <include name="System.Xml.dll" />
  41. </references>
  42. </csc>
  43. <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" />
  44. <mkdir dir="${project::get-base-directory()}/../../bin/"/>
  45. <copy todir="${project::get-base-directory()}/../../bin/">
  46. <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
  47. <include name="*.dll"/>
  48. <include name="*.exe"/>
  49. </fileset>
  50. </copy>
  51. </target>
  52. <target name="clean">
  53. <delete dir="${bin.dir}" failonerror="false" />
  54. <delete dir="${obj.dir}" failonerror="false" />
  55. </target>
  56. <target name="doc" description="Creates documentation.">
  57. </target>
  58. </project>