1 Star 0 Fork 1.7K

学习小兵/J2Cache

forked from 红薯/J2Cache 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.xml 1.39 KB
一键复制 编辑 原始数据 按行查看 历史
Winter Lau 提交于 2015-10-27 17:04 . JavaSource -> Java
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="build" name="J2Cache">
<property name="debug" value="true"/>
<property name="target" value="1.7"/>
<property name="source" value="1.7"/>
<property name="encoding" value="UTF-8"/>
<property name="build.classes.dir" value="target/classes"/>
<path id="J2Cache.classpath">
<pathelement location="${build.classes.dir}"/>
<fileset dir="lib" includes="*.jar" />
</path>
<target name="init">
<mkdir dir="${build.classes.dir}"/>
<copy includeemptydirs="false" todir="${build.classes.dir}">
<fileset dir="core/Java" excludes="**/*.launch, **/*.java"/>
</copy>
</target>
<target depends="init" name="build">
<echo message="${ant.project.name}: ${ant.file}"/>
<javac debug="${debug}" encoding="${encoding}" destdir="${build.classes.dir}" source="${source}" target="${target}" fork="yes">
<src path="core/Java"/>
<classpath refid="J2Cache.classpath"/>
</javac>
</target>
<target name="clean">
<delete dir="${build.classes.dir}"/>
</target>
<target depends="build" name="cmd">
<echo message="Start ${ant.project.name} Test Client"/>
<java classname="net.oschina.j2cache.CacheTester" classpathref="J2Cache.classpath" fork="true">
<jvmarg value="-Xmx256m" />
</java>
</target>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/devyou/J2Cache.git
git@gitee.com:devyou/J2Cache.git
devyou
J2Cache
J2Cache
master

搜索帮助