File: build.xml

package info (click to toggle)
libcsv-java 2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 216 kB
  • sloc: java: 3,225; xml: 37; makefile: 8
file content (19 lines) | stat: -rw-r--r-- 807 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<project name="javacsv" default="dist" basedir=".">
	<!-- set global properties for this build -->
	<property name="src" location="src" />
	<property name="build" location="build" />
	<target name="init">
		<!-- Create the build directory structure used by compile -->
		<mkdir dir="${build}" />
	</target>
	<target name="compile" depends="init" description="compile the source ">
		<!-- Compile the java code from ${src} into ${build} -->
		<javac srcdir="${src}" destdir="${build}" encoding="ISO_8859_1" source="1.4" includeantruntime="false">
			<exclude name="**/AllTests.java" />
		</javac>
	</target>
	<target name="dist" depends="compile" description="generate the distribution">
		<jar jarfile="javacsv.jar" basedir="${build}" />
		<delete dir="${build}" />
	</target>
</project>