deploy_o2collect.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project basedir="." name="main" default="default">
  3. <basename property="project" file="${basedir}" />
  4. <dirname property="applicationserver.dir" file="${basedir}../" />
  5. <dirname property="code.dir" file="${basedir}../../" />
  6. <property file="${applicationserver.dir}/a_build/build.properties" />
  7. <include file="${applicationserver.dir}/a_build/build_common.xml" as="common" />
  8. <target name="default">
  9. <for-contrib param="line">
  10. <tokens>
  11. <file file="${store.dir}/jars/manifest_o2collect.cfg" />
  12. </tokens>
  13. <sequential>
  14. <copy tofile="D:/o2collect/store/jars/@{line}" file="${store.dir}/jars/@{line}" overwrite="true" />
  15. </sequential>
  16. </for-contrib>
  17. <for-contrib param="line">
  18. <tokens>
  19. <file file="${store.dir}/manifest_o2collect.cfg" />
  20. </tokens>
  21. <sequential>
  22. <copy tofile="D:/o2collect/store/@{line}" file="${store.dir}/@{line}" overwrite="true" />
  23. </sequential>
  24. </for-contrib>
  25. <for-contrib param="line">
  26. <tokens>
  27. <file file="${ext.dir}/manifest_o2collect.cfg" />
  28. </tokens>
  29. <sequential>
  30. <copy tofile="D:/o2collect/commons/ext/@{line}" file="${ext.dir}/@{line}" overwrite="true" />
  31. </sequential>
  32. </for-contrib>
  33. <copy file="${store.dir}/jars/manifest_o2collect.cfg" tofile="D:/o2collect/store/jars/manifest.cfg" />
  34. <copy file="${store.dir}/manifest_o2collect.cfg" tofile="D:/o2collect/store/manifest.cfg" />
  35. <copy file="${ext.dir}/manifest_o2collect.cfg" tofile="D:/o2collect/commons/ext/manifest.cfg" />
  36. <copy file="${store.dir}/jars/o2_collect_console.jar" tofile="D:/o2collect/console.jar" />
  37. </target>
  38. </project>