46 Star 107 Fork 29

Angus / es_data_export

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.xml 1.29 KB
一键复制 编辑 原始数据 按行查看 历史
Angus 提交于 2019-01-03 09:50 . No commit message
<?xml version="1.0" encoding="UTF-8"?>
<project name="es_data_export" default="copyAll" basedir=".">
<property name="build" value="build" />
<property name="target" value="target" />
<property name="word" value="docs/V1.0"/>
<property name="routine" value="build"/>
<target name="clean">
<delete dir="${target}" />
<delete dir="${build}" />
<delete dir="${routine}" />
<delete dir="${script}" />
</target>
<target name="create-path" depends="clean">
<mkdir dir="${build}" />
</target>
<target name="mvn_package" depends="create-path">
<exec executable="cmd" failonerror="true">
<arg line="/c mvn clean package" />
</exec>
</target>
<target name="copyAll" depends="mvn_package">
<copy todir="${routine}" file="${target}/es_data_export.jar"></copy>
<copy todir="${routine}" file="export.properties"></copy>
<copy todir="${routine}" file="logback.xml"></copy>
<copy todir="${routine}" file="run.sh"></copy>
<copy todir="${routine}" file="stop.sh"></copy>
</target>
<!--文件打包-->
<target name="zip" depends="copyAll">
<zip destfile="build/${jar_version}.zip" basedir="${build}" excludes=".svn"/>
</target>
<target name="cleanFiles" depends="zip">
<delete dir="${build}/${jar_version}" />
</target>
</project>
Java
1
https://gitee.com/hongjie95/es_data_export.git
git@gitee.com:hongjie95/es_data_export.git
hongjie95
es_data_export
es_data_export
master

搜索帮助