xc01.mss.hl.com.xml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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.persistenceXmlWriter" />
  11. <antcall target="common.issue" />
  12. <antcall target="common.httpMethodDescribeWriter" />
  13. <antcall target="common.zipStaticResources" />
  14. </target>
  15. <target name="deploy" depends="default">
  16. <java classname="com.x.common.core.application.component.${project}" fork="true">
  17. <classpath refid="project.classpath" />
  18. <arg value="{
  19. centerHost:'xc01.mss.hl.com',
  20. centerPort:30080,
  21. centerContext:'/x_program_center',
  22. centerCipher:'xplatform',
  23. 'keepRemoteMeta' : false,
  24. applicationServersFilePath:'${configuration.dir}/xc01.mss.hl.com/applicationServers.json',
  25. datasFilePath:'${configuration.dir}/xc01.mss.hl.com/datas.json',
  26. dataServersFilePath:'${configuration.dir}/xc01.mss.hl.com/dataServers.json',
  27. storagesFilePath:'${configuration.dir}/xc01.mss.hl.com/storages.json',
  28. storageServersFilePath:'${configuration.dir}/xc01.mss.hl.com/storageServers.json',
  29. webServersFilePath:'${configuration.dir}/xc01.mss.hl.com/webServers.json',
  30. resourcesPath:'${configuration.dir}/xc01.mss.hl.com/resources',
  31. distPath:'${dist.dir}',
  32. applicationRepositoryPath:'${applicationRepository.dir}',
  33. webRepositoryPath:'${webRepository.dir}'
  34. }" />
  35. </java>
  36. <java classname="com.x.common.core.application.component.Tomcat8Deploy" fork="true">
  37. <classpath refid="project.classpath" />
  38. <arg value="{
  39. 'server':'xc01.mss.hl.com',
  40. 'port':30080,
  41. 'username':'xadmin',
  42. 'password':'xpfadmin',
  43. 'filePath':'${dist.dir}/${project}.war'
  44. }" />
  45. </java>
  46. </target>
  47. </project>