1 Star 1 Fork 1.7K

softsun / J2Cache

forked from 红薯 / J2Cache 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.xml 1.39 KB
一键复制 编辑 原始数据 按行查看 历史
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="build" name="J2Cache">
<property name="debug" value="true"/>
<property name="target" value="1.5"/>
<property name="source" value="1.5"/>
<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="src/main/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}">
<src path="src/main/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>
1
https://gitee.com/sohudo/J2Cache.git
git@gitee.com:sohudo/J2Cache.git
sohudo
J2Cache
J2Cache
master

搜索帮助