Skip to content
Permalink
Browse files
Ant Build for debugger
git-svn-id: https://svn.apache.org/repos/asf/incubator/easyant/tasks/trunk@1136023 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Siddhartha Purkayastha committed Jun 15, 2011
1 parent 0af050c commit 46c6e259152fbd52b9aecb351b7d481551bc0a67
Showing 1 changed file with 44 additions and 0 deletions.
@@ -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>

0 comments on commit 46c6e25

Please sign in to comment.