summaryrefslogtreecommitdiff
blob: 468cd44b52aaa37d24e0033077580ae50341d5db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0"?>
<project name="ehcache" default="jar" basedir=".">
  <path id="globalClassPath">
    <fileset dir="lib/" includes="*.jar"/>
  </path>
  <target name="compile">
    <mkdir dir="classes"/>
    <javac srcdir="src" destdir="classes/" classpathref="globalClassPath"/>
    <copy todir="classes/">
      <fileset dir="." includes="ehcache-failsafe.xml"/>
    </copy>
  </target>
  <target name="jar" depends="compile">
    <jar destfile="ehcache.jar">
      <fileset dir="classes" includes="**/*.class"/>
      <fileset dir="classes" includes="**/*.xml"/>
    </jar>
  </target>
</project>