xc01.vsettan.com.cn.xml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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.vsettan.com.cn',
  20. centerPort:30080,
  21. centerContext:'/x_program_center',
  22. centerCipher:'xplatform',
  23. 'keepRemoteMeta' : false,
  24. applicationServersFilePath:'${configuration.dir}/xc01.vsettan.com.cn/applicationServers.json',
  25. datasFilePath:'${configuration.dir}/xc01.vsettan.com.cn/datas.json',
  26. dataServersFilePath:'${configuration.dir}/xc01.vsettan.com.cn/dataServers.json',
  27. storagesFilePath:'${configuration.dir}/xc01.vsettan.com.cn/storages.json',
  28. storageServersFilePath:'${configuration.dir}/xc01.vsettan.com.cn/storageServers.json',
  29. webServersFilePath:'${configuration.dir}/xc01.vsettan.com.cn/webServers.json',
  30. resourcesPath:'${configuration.dir}/xc01.vsettan.com.cn/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.vsettan.com.cn',
  40. 'port':30080,
  41. 'username':'xadmin',
  42. 'password':'xpfadmin',
  43. 'filePath':'${dist.dir}/${project}.war'
  44. }" />
  45. </java>
  46. </target>
  47. <target name="xa01">
  48. <java classname="com.x.common.core.application.component.DeployAll" fork="true">
  49. <classpath refid="project.classpath" />
  50. <arg value="{
  51. distPath:'${dist.dir}',
  52. repositoryPath:'${applicationRepository.dir}',
  53. centerHost:'xc01.vsettan.com.cn',
  54. centerPort:30080,
  55. centerContext:null,
  56. centerCipher:'xplatform',
  57. configHost:'xa01.vsettan.com.cn',
  58. configPort:20080,
  59. configWeight:100,
  60. server:'dev.xplatform.tech',
  61. port:20080,
  62. username:'xadmin',
  63. password:'xpfadmin',
  64. includeAssemble: true,
  65. includeService: true,
  66. excludes:[]
  67. }" />
  68. </java>
  69. </target>
  70. </project>