1 Star 0 Fork 265

paul008/beetl2.0

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.xml 2.73 KB
一键复制 编辑 原始数据 按行查看 历史
<project name="client" default="jarClass" basedir=".">
<property name="product" value="beetl"/>
<property name="version" value="2.0"/>
<property name="classes.dir" value="${basedir}/bin"/>
<property name="build.dir" value="${basedir}/build"/>
<property name="lib.dir" value="${basedir}"/>
<!--property name="lib.dir" value="E:\lijz\javamonkey\bee\trunk\workspace\tl_sample_web\WebContent\WEB-INF\lib"/-->
<property name="jar.file" value="${product}.${version}.jar"/>
<target name="clean">
<echo>clean build dir</echo>
<delete dir="${build.dir}" quiet="true"/>
</target>
<target name="init" depends="clean">
<mkdir dir="${build.dir}"/>
</target>
<target name="jarClass" depends="init">
<jar destfile="${lib.dir}/${jar.file}">
<fileset dir="${classes.dir}">
<exclude name="org/beetl/test/**" />
<exclude name="org/antlr/**" />
<exclude name="**/*.g" />
<exclude name="org/beetl/coret/asm3/**" />
<exclude name="**/*.tokens" />
<exclude name="org/beetl/performance/**" />
<include name="org/beetl/core/**"/>
<include name="org/beetl/ext/**"/>
</fileset>
<zipfileset src="alllib/antlr-runtime-4.1.jar"/>
<zipfileset src="alllib/asm-4.1.jar"/>
</jar>
</target>
<target name="jarSrc" depends="init">
<jar destfile="${basedir}/beetl_src_${version}.jar">
<fileset dir="${basedir}/src">
<exclude name="**/samples/**" />
</fileset>
<fileset dir="${basedir}/ext">
</fileset>
</jar>
</target>
<target name="javadoc" description="Generate the Javadoc HTML pages.">
<delete dir="../javadoc" />
<mkdir dir="../javadoc" />
<javadoc destdir="../javadoc"
windowtitle="Beetl API"
use="yes"
linksource="no"
splitindex="yes"
encoding="UTF-8" docencoding="UTF-8">
<classpath>
<fileset dir="${basedir}/lib">
<include name="*.jar"/>
</fileset>
</classpath>
<!-- 需要修改 Begin -->
<packageset dir="src" defaultexcludes="yes">
<include name="org/beetl/**"/>
</packageset>
<!-- 需要修改 End -->
</javadoc>
</target>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/paul008/beetl2.0.git
git@gitee.com:paul008/beetl2.0.git
paul008
beetl2.0
beetl2.0
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385