| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project basedir="." name="main" default="default">
- <basename property="project" file="${basedir}" />
- <dirname property="root.dir" file="${basedir}../" />
- <property file="${root.dir}/building/build.properties" />
- <include file="${root.dir}/building/build_common.xml" as="common" />
- <target name="default">
- <antcall target="common.clean" />
- <antcall target="common.compile" />
- <antcall target="common.persistenceXmlWriter" />
- <antcall target="common.issue" />
- <antcall target="common.httpMethodDescribeWriter" />
- <antcall target="common.zipStaticResources" />
- </target>
- <target name="deploy" depends="default">
- <java classname="com.x.common.core.application.component.center.${project}" fork="false">
- <classpath refid="project.classpath" />
- <arg value="{
- 'repositoryPath':'${repository.dir}',
- 'configurationPath':'${configuration.dir}',
- 'distPath':'${dist.dir}',
- 'meta':'hbtelecom'
- }" />
- </java>
- <java classname="com.x.common.core.application.component.Tomcat8Deploy" fork="false">
- <classpath refid="project.classpath" />
- <arg value="{
- 'filePath':'${dist.dir}/${project}.war',
- 'tempPath':'${temp.dir}',
- 'server':'hbxc01.bf.ctc.com',
- 'host':'hbxc01.bf.ctc.com',
- 'port':30080,
- 'username':'admin',
- 'password':'xpfadmin',
- 'keepMeta': false,
- 'token':'xplatform'
- }" />
- </java>
- </target>
- <target name="compileAll">
- <java classname="com.x.common.core.application.component.CompileAll" fork="false">
- <classpath refid="project.classpath" />
- <arg value="{
- rootPath:'${root.dir}',
- includeAssemble:true,
- includeCore:true,
- includeService:true,
- includeCenter:true,
- excludes:['x_cms_assemble_control','x_cms_core_entity']
- }" />
- </java>
- </target>
- <target name="deployApplication_xa01">
- <java classname="com.x.common.core.application.component.DeployAll" fork="false">
- <classpath refid="project.classpath" />
- <arg value="{
- repositoryPath:'${repository.dir}',
- configurationPath:'${configuration.dir}',
- distPath:'${dist.dir}',
- tempPath:'${temp.dir}',
- meta:'hbtelecom',
- server:'hbxa01.bf.ctc.com',
- host:'hbxa01.bf.ctc.com',
- port:20080,
- username:'admin',
- password:'xpfadmin',
- includeAssemble:true,
- includeService: true,
- keepMeta:false,
- token:'xplatform',
- excludes:['x_cms_assemble_control','x_cms_core_entity']
- }" />
- </java>
- </target>
- <target name="deployApplication_xa02">
- <java classname="com.x.common.core.application.component.DeployAll" fork="false">
- <classpath refid="project.classpath" />
- <arg value="{
- repositoryPath:'${repository.dir}',
- configurationPath:'${configuration.dir}',
- distPath:'${dist.dir}',
- tempPath:'${temp.dir}',
- meta:'hbtelecom',
- server:'hbxa02.bf.ctc.com',
- host:'hbxa02.bf.ctc.com',
- port:20080,
- username:'admin',
- password:'xpfadmin',
- includeAssemble:true,
- includeService: true,
- keepMeta:false,
- token:'xplatform',
- excludes:['x_cms_assemble_control','x_cms_core_entity']
- }" />
- </java>
- </target>
- </project>
|