File: build.xml

package info (click to toggle)
libibatis-java 2.3.4.726-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,640 kB
  • sloc: java: 14,435; xml: 85; sh: 15; makefile: 6
file content (30 lines) | stat: -rw-r--r-- 1,046 bytes parent folder | download | duplicates (3)
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
28
29
30
<?xml version="1.0" encoding="UTF-8"?>

<project default="jar" name="ibatis" basedir="..">

  <target name="clean">
    <delete dir="target" quiet="true"/>
  </target>

  <target name="compile" description="o Compile the source files">
    <mkdir dir="target/classes"/>
    <javac srcdir="src" destdir="target/classes" debug="true" source="1.7" target="1.7">
      <classpath>
        <pathelement path="/usr/share/java/cglib.jar"/>
        <pathelement path="/usr/share/java/commons-dbcp.jar"/>
        <pathelement path="/usr/share/java/commons-logging.jar"/>
        <pathelement path="/usr/share/java/geronimo-jta-1.2-spec.jar"/>
        <pathelement path="/usr/share/java/log4j-1.2.jar"/>
        <pathelement path="/usr/share/java/oscache.jar"/>
      </classpath>
    </javac>
    <copydir src="src" dest="target/classes" includes="**/*.dtd"/>
  </target>

  <target name="jar" description="o Create the jar" depends="compile">
    <jar jarfile="target/ibatis.jar">
      <fileset dir="target/classes"/>
    </jar>
  </target>

</project>