x_program_center_build.xml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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.httpMethodDescribeWriter" />
  11. <antcall target="common.war" />
  12. </target>
  13. <target name="compileAll">
  14. <java classname="com.x.base.core.project.CompileAll" fork="true">
  15. <classpath refid="project.classpath" />
  16. <arg value="{
  17. includeAssemble:true,
  18. includeCore:true,
  19. includeService:true,
  20. includeCenter:true,
  21. excludes:[''],
  22. rootPath:'${root.dir}'
  23. }" />
  24. </java>
  25. </target>
  26. <target name="deployOnLocal" depends="default">
  27. <copy file="${store.dir}/${project}.war" todir="d:/o2server/store" />
  28. <touch file="d:/o2server/servers/centerServer/webapps/${project}.xml" />
  29. </target>
  30. </project>