service_template_build.xml 873 B

12345678910111213141516171819202122232425
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project basedir="." name="main" default="default">
  3. <basename property="project" file="${basedir}" />
  4. <dirname property="root.dir" file="${basedir}../" />
  5. <property file="${root.dir}/building/build.properties" />
  6. <include file="${root.dir}/building/build_common.xml" as="common" />
  7. <target name="default">
  8. <antcall target="common.clean" />
  9. <antcall target="common.compile" />
  10. <antcall target="common.createPersistenceXml" />
  11. <antcall target="common.httpMethodDescribeWriter" />
  12. <antcall target="common.war" />
  13. </target>
  14. <target name="javadoc">
  15. <antcall target="common.docs" />
  16. </target>
  17. <target name="deployOnLocal" depends="default">
  18. <copy file="${store.dir}/${project}.war" todir="d:/o2server/store" />
  19. <touch file="d:/o2server/servers/applicationServer/webapps/${project}.xml" />
  20. </target>
  21. </project>