File: build.xml

package info (click to toggle)
logback 1:0.9.18+dak1-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 10,912 kB
  • ctags: 7,792
  • sloc: java: 39,286; xml: 3,628; sql: 354; sh: 113; makefile: 17
file content (102 lines) | stat: -rw-r--r-- 2,653 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
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
95
96
97
98
99
100
101
102
<?xml version="1.0"?>
<project name="logback" basedir="..">

<target name="init">
	<property name="build.dir" value="build"/>
	<property name="dist.dir" value="dist"/>
	
	<property name="core.src.dir" value="logback-core/src/main"/>
	<property name="core.build.dir" value="${build.dir}/core"/>
	<property name="core.jar" value="${dist.dir}/${deb.package}-${deb.version}-core.jar"/>
	
	<property name="classic.src.dir" value="logback-classic/src/main"/>
	<property name="classic.build.dir" value="${build.dir}/classic"/>
	<property name="classic.jar" value="${dist.dir}/${deb.package}-${deb.version}-classic.jar"/>
	
	<property name="access.src.dir" value="logback-access/src/main"/>
	<property name="access.build.dir" value="${build.dir}/access"/>
	<property name="access.jar" value="${dist.dir}/${deb.package}-${deb.version}-access.jar"/>
</target>

<target name="compile.core" depends="init">
	<mkdir dir="${core.build.dir}"/>
	<javac srcdir="${core.src.dir}"
			destdir="${core.build.dir}"
			classpath="${fam.build.dir}"
			source="1.5" target="1.5"
			debug="on">
	</javac>
</target>

<target name="compile.classic" depends="compile.core">
	<mkdir dir="${classic.build.dir}"/>
	<javac srcdir="${classic.src.dir}"
			destdir="${classic.build.dir}"
			classpath="${core.build.dir}"
			source="1.5" target="1.5"
			debug="on">
	</javac>
</target>

<target name="compile.access" depends="compile.core">
	<mkdir dir="${access.build.dir}"/>
	<javac srcdir="${access.src.dir}"
			destdir="${access.build.dir}"
			classpath="${core.build.dir}"
			source="1.5" target="1.5"
			debug="on">
	</javac>
</target>

<target name="jar.core" depends="compile.core">
	<jar jarfile="${core.jar}"
			basedir="${core.build.dir}" />
</target>

<target name="jar.classic" depends="compile.classic">
	<jar jarfile="${classic.jar}"
			basedir="${classic.build.dir}" />
</target>

<target name="jar.access" depends="compile.access">
	<jar jarfile="${access.jar}"
			basedir="${access.build.dir}" />
</target>

<target name="jar.all" depends="jar.core, jar.classic"> <!-- , jar.access -->
</target>

<target name="javadoc">

	<javadoc
		packagenames="*"
		destdir="${dist.dir}/api"
		access="protected"
		old="false"
		verbose="false"
		version="true"
		use="true"
		author="true"
		>
		<fileset dir=".">
			<include name="${core.src.dir}/**/*.java"/>
			<include name="${classic.src.dir}/**/*.java"/>
			<!--<include name="${access.src.dir}/**/*.java"/>-->
		</fileset>
	</javadoc>

</target>



<target name="clean" depends="init">
	<delete dir="${build.dir}"/>
	<delete dir="${dist.dir}"/>

	<mkdir dir="${build.dir}"/>
	<mkdir dir="${dist.dir}"/>
</target>



</project>