File: build-debug.xml

package info (click to toggle)
libtritonus-java 20070428-14
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,004 kB
  • sloc: ansic: 53,816; java: 45,226; sh: 3,017; makefile: 1,174; xml: 823; cpp: 147
file content (94 lines) | stat: -rw-r--r-- 2,605 bytes parent folder | download | duplicates (8)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<?xml version="1.0"?>
<!-- If a tool complains that project.dtd is not available,
     run the following command:
     ant -f build-dtd.xml
-->
<!DOCTYPE project SYSTEM "project.dtd" [
<!ENTITY common SYSTEM "build-common.xml">
]>

<project name="tritonus" default="dist" basedir=".">

  <taskdef name="ajc"
	   classname="org.aspectj.tools.ant.taskdefs.Ajc" >
  </taskdef>
  <property name="usejavac" value="false" />

  &common;


  <target name="compile" depends="prepare">
    <ajc srcdir="${src}"
	 destdir="${build}"
	 debug="on"
	 usejavac="${usejavac}" >
      <include name="javax/sound/" />
      <include name="org/tritonus/core/" />
      <include name="org/tritonus/lowlevel/" />
      <include name="org/tritonus/share/" />
      <exclude name="org/tritonus/share/sampled/AudioSystemShadow.java" />
      <include name="org/tritonus/debug/AJDebug.java" />
      <include name="org/tritonus/debug/Utils.java" />
      <include name="org/tritonus/midi/" />
      <exclude name="org/tritonus/midi/device/midishare/" />
      <include name="org/tritonus/sampled/" />
      <exclude name="org/tritonus/sampled/convert/javalayer/" />
      <exclude name="org/tritonus/sampled/convert/vorbis/" />
      <exclude name="org/tritonus/sampled/file/vorbis/" />
      <classpath>
	<pathelement path="${classpath}"/>
	<pathelement location="build"/>
      </classpath>
    </ajc>

<!--
    <javac srcdir="${src.classes}"
	   debug="on"
	   destdir="${build}"
	   includes="org/tritonus/lowlevel/dsp/" />
-->
  </target>


  <target name="compile-javalayer-dependent"
	  depends="prepare"
	  if="javalayer-present">
    <ajc srcdir="${src}"
	 destdir="${build}"
	 debug="on"
	 usejavac="${usejavac}" >
      <include name="org/tritonus/sampled/convert/javalayer/" />
      <classpath>
	<pathelement path="${classpath}"/>
	<pathelement location="build"/>
      </classpath>
    </ajc>
  </target>

  <target name="compile-jorbis-dependent"
	  depends="prepare"
	  if="jorbis-present">
    <ajc srcdir="${src}"
	 destdir="${build}"
	 debug="on"
	 usejavac="${usejavac}" >
      <include name="org/tritonus/sampled/convert/vorbis/" />
      <include name="org/tritonus/sampled/file/vorbis/" />
      <include name="org/tritonus/debug/AJDebugVorbis.java" />
      <classpath>
	<pathelement path="${classpath}"/>
	<pathelement location="build"/>
      </classpath>
    </ajc>
  </target>

  <target name="compile-midishare-dependent"
	  depends="prepare"
	  if="midishare-present">
    <javac srcdir="${src}"
	   destdir="${build}"
	   includes="org/tritonus/midi/device/midishare/" />
  </target>


</project>