1 Star 0 Fork 1

yunsir/http4e

forked from need/http4e 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.xml 1.57 KB
一键复制 编辑 原始数据 按行查看 历史
<project name="Http4e MasterBuild" default="all">
<property file="ant.properties" />
<target name="build">
<subant target="">
<fileset dir="." includes="*/ant.project.xml" />
</subant>
</target>
<macrodef name="iterate">
<attribute name="target"/>
<sequential>
<subant target="@{target}">
<fileset dir="." includes="*/ant.project.xml" />
</subant>
</sequential>
</macrodef>
<target name="clean">
<iterate target="clean"/>
</target>
<target name="dist">
<iterate target="dist"/>
</target>
<target name="compile">
<iterate target="compile"/>
</target>
<target name="feature">
<copy todir="dest" flatten="true">
</copy>
</target>
<target name="tar" depends="">
<echo>Preparing Tar Product including:
features/${project.plugin}_${product.version}.jar,
plugins/${project.plugin}_${product.version}.jar,
plugins/${project.core}_${product.version}.jar</echo>
<copy file="./site.xml" tofile="./install/site.xml"/>
<tar destfile="install/${product.tar}">
<tarfileset dir="install/features" prefix="/features" preserveLeadingSlashes="false">
<include name="${project.plugin}_${product.version}.jar"/>
</tarfileset>
<tarfileset dir="install/plugins" prefix="/plugins" preserveLeadingSlashes="false">
<include name="${project.core}_${product.version}.jar"/>
<include name="${project.plugin}_${product.version}.jar"/>
</tarfileset>
</tar>
</target>
<target name="all" depends="build,tar"/>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yunsir/http4e.git
git@gitee.com:yunsir/http4e.git
yunsir
http4e
http4e
master

搜索帮助