File: build.xml

package info (click to toggle)
ehcache 2.6.11-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 9,140 kB
  • ctags: 14,506
  • sloc: java: 84,615; xml: 13,172; perl: 33; makefile: 15; sh: 13
file content (27 lines) | stat: -rw-r--r-- 712 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="UTF-8"?>
<project basedir=".." name="ehcache" default="jar">

  <property name="target" value="${basedir}/target" />
  <property name="build" value="${target}/classes" />

  <target name="clean">
    <delete dir="${build}"/>
    <delete dir="${target}"/>
  </target>

  <target name="jar" depends="compile">
    <jar jarfile="${target}/${ant.project.name}.jar">
      <fileset dir="src/main/resources"/>
      <fileset dir="${build}"/>
    </jar>
  </target>

  <target name="compile" depends="init">
    <javac destdir="${build}" srcdir="src/main/java" debug="yes" source="1.5" target="1.5"/>
  </target>

  <target name="init">
    <mkdir dir="${build}"/>
  </target>

</project>