| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <?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.${project}" fork="true">
- <classpath refid="project.classpath" />
- <arg value="{
- centerHost:'xc01.vsettan.com.cn',
- centerPort:30080,
- centerContext:'/x_program_center',
- centerCipher:'xplatform',
- 'keepRemoteMeta' : false,
- applicationServersFilePath:'${configuration.dir}/xc01.vsettan.com.cn/applicationServers.json',
- datasFilePath:'${configuration.dir}/xc01.vsettan.com.cn/datas.json',
- dataServersFilePath:'${configuration.dir}/xc01.vsettan.com.cn/dataServers.json',
- storagesFilePath:'${configuration.dir}/xc01.vsettan.com.cn/storages.json',
- storageServersFilePath:'${configuration.dir}/xc01.vsettan.com.cn/storageServers.json',
- webServersFilePath:'${configuration.dir}/xc01.vsettan.com.cn/webServers.json',
- resourcesPath:'${configuration.dir}/xc01.vsettan.com.cn/resources',
- distPath:'${dist.dir}',
- applicationRepositoryPath:'${applicationRepository.dir}',
- webRepositoryPath:'${webRepository.dir}'
- }" />
- </java>
- <java classname="com.x.common.core.application.component.Tomcat8Deploy" fork="true">
- <classpath refid="project.classpath" />
- <arg value="{
- 'server':'xc01.vsettan.com.cn',
- 'port':30080,
- 'username':'xadmin',
- 'password':'xpfadmin',
- 'filePath':'${dist.dir}/${project}.war'
- }" />
- </java>
- </target>
- <target name="xa01">
- <java classname="com.x.common.core.application.component.DeployAll" fork="true">
- <classpath refid="project.classpath" />
- <arg value="{
- distPath:'${dist.dir}',
- repositoryPath:'${applicationRepository.dir}',
- centerHost:'xc01.vsettan.com.cn',
- centerPort:30080,
- centerContext:null,
- centerCipher:'xplatform',
- configHost:'xa01.vsettan.com.cn',
- configPort:20080,
- configWeight:100,
- server:'dev.xplatform.tech',
- port:20080,
- username:'xadmin',
- password:'xpfadmin',
- includeAssemble: true,
- includeService: true,
- excludes:[]
- }" />
- </java>
- </target>
- </project>
|