Ant Build for debugger

git-svn-id: https://svn.apache.org/repos/asf/incubator/easyant/tasks/trunk@1136023 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/command-line-debugger/build.xml b/command-line-debugger/build.xml
new file mode 100644
index 0000000..575d0e9
--- /dev/null
+++ b/command-line-debugger/build.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0"?>
+
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+<project name="ant-commandline-debugger" default="jar" basedir=".">
+
+	<property name="name" value="cl-debugger" />
+	<property name="build.dir" value="target" />
+	<property name="build.classes" value="${build.dir}/classes" />
+	<property name="build.artifact.dir" value="${build.dir}/artifacts" />
+	<property name="java.dir" value="src/main" />
+
+	<target name="compile">
+		<mkdir dir="${build.dir}" />
+		<mkdir dir="${build.classes}" />
+
+		<javac srcdir="${java.dir}" includeantruntime="true" destdir="${build.classes}" debug="on" target="1.4" source="1.4" />
+
+		<copy todir="${build.classes}">
+			<fileset dir="${java.dir}">
+				<include name="**/*.properties" />
+			</fileset>
+		</copy>
+	</target>
+
+	<target name="jar" depends="compile">
+		<jar destfile="${build.artifact.dir}/${name}.jar" basedir="${build.classes}" whenmanifestonly="fail" />
+	</target>
+
+</project>