JdbcMapper/netui/src/util/build.xml

65 lines
2.4 KiB
XML

<?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.
$Header:$
-->
<project name="Beehive/NetUI/Util" default="build" basedir=".">
<import file="../../netui-imports.xml"/>
<property name="module.name" value="util"/>
<property name="module.dir" location="${src.dir}/${module.name}"/>
<path id="module.classpath">
<path refid="servlet.dependency.path"/>
<path refid="log4j.dependency.path"/>
<path refid="commons-codec.dependency.path"/>
<path refid="commons-logging.dependency.path"/>
</path>
<target name="build">
<echo>compile module: ${module.name}</echo>
<property name="classpath" refid="module.classpath"/>
<echo>module classpath: ${classpath}</echo>
<mkdir dir="${classes.dir}/${module.name}"/>
<javac srcdir="${module.dir}"
destdir="${classes.dir}/${module.name}"
classpathref="module.classpath"
debug="${compile.debug}"
deprecation="${compile.deprecation}"
optimize="${compile.optimize}"
source="${compile.source}"
target="${compile.target}">
<include name="**/*.java"/>
</javac>
<copy todir="${classes.dir}/${module.name}">
<fileset dir="${module.dir}" includes="**/*.properties"/>
<fileset dir="${module.dir}" includes="**/*.xsd"/>
<fileset dir="${module.dir}" includes="**/config/internal/*.xml"/>
</copy>
</target>
<target name="clean">
<delete dir="${classes.dir}/${module.name}"/>
<delete file="${build.lib.dir}/${util.jar.name}"/>
</target>
</project>