hbtelecom.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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.center.${project}" fork="false">
  17. <classpath refid="project.classpath" />
  18. <arg value="{
  19. 'repositoryPath':'${repository.dir}',
  20. 'configurationPath':'${configuration.dir}',
  21. 'distPath':'${dist.dir}',
  22. 'meta':'hbtelecom'
  23. }" />
  24. </java>
  25. <java classname="com.x.common.core.application.component.Tomcat8Deploy" fork="false">
  26. <classpath refid="project.classpath" />
  27. <arg value="{
  28. 'filePath':'${dist.dir}/${project}.war',
  29. 'tempPath':'${temp.dir}',
  30. 'server':'hbxc01.bf.ctc.com',
  31. 'host':'hbxc01.bf.ctc.com',
  32. 'port':30080,
  33. 'username':'admin',
  34. 'password':'xpfadmin',
  35. 'keepMeta': false,
  36. 'token':'xplatform'
  37. }" />
  38. </java>
  39. </target>
  40. <target name="compileAll">
  41. <java classname="com.x.common.core.application.component.CompileAll" fork="false">
  42. <classpath refid="project.classpath" />
  43. <arg value="{
  44. rootPath:'${root.dir}',
  45. includeAssemble:true,
  46. includeCore:true,
  47. includeService:true,
  48. includeCenter:true,
  49. excludes:['x_cms_assemble_control','x_cms_core_entity']
  50. }" />
  51. </java>
  52. </target>
  53. <target name="deployApplication_xa01">
  54. <java classname="com.x.common.core.application.component.DeployAll" fork="false">
  55. <classpath refid="project.classpath" />
  56. <arg value="{
  57. repositoryPath:'${repository.dir}',
  58. configurationPath:'${configuration.dir}',
  59. distPath:'${dist.dir}',
  60. tempPath:'${temp.dir}',
  61. meta:'hbtelecom',
  62. server:'hbxa01.bf.ctc.com',
  63. host:'hbxa01.bf.ctc.com',
  64. port:20080,
  65. username:'admin',
  66. password:'xpfadmin',
  67. includeAssemble:true,
  68. includeService: true,
  69. keepMeta:false,
  70. token:'xplatform',
  71. excludes:['x_cms_assemble_control','x_cms_core_entity']
  72. }" />
  73. </java>
  74. </target>
  75. <target name="deployApplication_xa02">
  76. <java classname="com.x.common.core.application.component.DeployAll" fork="false">
  77. <classpath refid="project.classpath" />
  78. <arg value="{
  79. repositoryPath:'${repository.dir}',
  80. configurationPath:'${configuration.dir}',
  81. distPath:'${dist.dir}',
  82. tempPath:'${temp.dir}',
  83. meta:'hbtelecom',
  84. server:'hbxa02.bf.ctc.com',
  85. host:'hbxa02.bf.ctc.com',
  86. port:20080,
  87. username:'admin',
  88. password:'xpfadmin',
  89. includeAssemble:true,
  90. includeService: true,
  91. keepMeta:false,
  92. token:'xplatform',
  93. excludes:['x_cms_assemble_control','x_cms_core_entity']
  94. }" />
  95. </java>
  96. </target>
  97. </project>