3 Star 13 Fork 7

Tong Yanqun/jAlbum

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
asmblefiles.xml 3.24 KB
一键复制 编辑 原始数据 按行查看 历史
Shentar 提交于 2021-05-22 21:57 . support http 2 and jdk 11.
<?xml version="1.0" encoding="utf-8"?>
<project name="jAlbum" basedir="." default="all">
<property name="dedup.dir" location="dedup"/>
<property name="client.dir" location="client"/>
<property name="photoweb.dir" location="photoweb"/>
<property name="distribute.dir" location="distribute"/>
<property name="scripts.dir" location="scripts"/>
<target name="test" depends="release"/>
<target name="all">
<mkdir dir="${distribute.dir}"/>
<mkdir dir="${distribute.dir}/lib"/>
<mkdir dir="${distribute.dir}/client"/>
<mkdir dir="${distribute.dir}/lib/extra"/>
<mkdir dir="${distribute.dir}/log"/>
<move todir="${distribute.dir}" overwrite="true">
<fileset dir="${dedup.dir}/target">
<include name="start.jar"/>
</fileset>
<fileset dir="${photoweb.dir}/target">
<include name="root.war"/>
</fileset>
</move>
<copy todir="${distribute.dir}" overwrite="false">
<fileset dir="${dedup.dir}">
<include name="dedup.db"/>
<include name="favicon.ico"/>
<include name="jalbum.xml"/>
<include name="keystore"/>
<include name="log4j.xml"/>
</fileset>
<fileset dir="${scripts.dir}">
<include name="jalbum.sh"/>
<include name="start.bat"/>
<include name="readme.txt"/>
</fileset>
</copy>
<!--copy todir="${distribute.dir}/lib" overwrite="true">
<fileset dir="${dedup.dir}/lib" />
</copy-->
<copy todir="${distribute.dir}/lib/extra" overwrite="true">
<fileset dir="${photoweb.dir}/target/dependency">
</fileset>
</copy>
<copy todir="${distribute.dir}/lib" overwrite="true">
<fileset dir="${dedup.dir}/target/dependency">
</fileset>
</copy>
<copy todir="${distribute.dir}/js" overwrite="true">
<fileset dir="${dedup.dir}/js"/>
</copy>
<copy todir="${distribute.dir}/client" overwrite="true">
<fileset dir="${client.dir}">
<include name="album.apk"/>
</fileset>
</copy>
</target>
<target name="release" depends="all">
<delete dir="${distribute.dir}/relase_tmp"/>
<delete file="jAlbum_release.zip"/>
<mkdir dir="${distribute.dir}/relase_tmp"/>
<copy todir="${distribute.dir}/relase_tmp" overwrite="true">
<fileset dir="${dedup.dir}">
<include name="jalbum.xml"/>
<include name="log4j.xml"/>
</fileset>
</copy>
<fixcrlf srcdir="${distribute.dir}/relase_tmp" includes="**/*.xml" eol="crlf"/>
<zip destfile="jAlbum_release.zip">
<zipfileset dir="${distribute.dir}"
excludes=".svn/**, thumbnail/**, log/**, relase_tmp/**, dedup.db, log4j.xml, jalbum.xml, keystore"/>
<zipfileset dir="${dedup.dir}" includes="dedup.db, keystore"/>
<zipfileset dir="${distribute.dir}/relase_tmp" includes="log4j.xml, jalbum.xml"/>
</zip>
<delete dir="${distribute.dir}/relase_tmp"/>
</target>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/shentar/jAlbum.git
git@gitee.com:shentar/jAlbum.git
shentar
jAlbum
jAlbum
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385