blob: 0a6430220bef1f8f6990f167d12b45eb3180fea1 [file] [log] [blame]
<!--
-
- 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="common">
<dirname property="project.root" file="${ant.file.common}"/>
<property name="project.name" value="qpid"/>
<property name="project.version" value="0.9"/>
<property name="project.namever" value="${project.name}-${project.version}"/>
<property name="client.namever" value="${project.name}-client-${project.version}"/>
<property name="specs.dir" value="specs"/>
<property name="amqpspec.dir" value="${project.root}/../${specs.dir}"/>
<property name="classes.dir" value="classes"/>
<property name="src.dir" value="src"/>
<property name="lib.dir" value="lib"/>
<property name="doc.dir" value="doc"/>
<property name="etc.dir" value="etc"/>
<property name="bin.dir" value="bin"/>
<property name="etc.dir" value="etc"/>
<property name="log.dir" value="log"/>
<property name="test.dir" value="test"/>
<property name="tasks.dir" value="tasks"/>
<property name="metainf.dir" value="META-INF"/>
<property name="release.dir" value="release"/>
<property name="build.dir" value="build"/>
<property name="resources.dir" value="resources"/>
<property name="stylesheets.dir" value="stylesheets"/>
<property name="releasedocs.dir" value="release-docs"/>
<property name="src.bin" value="${bin.dir}"/>
<property name="launcher.sfx" value="-launch.jar"/>
<property name="release.root.dir" value="${project.root}/${release.dir}"/>
<property name="resources.root.dir" value="${project.root}/${resources.dir}"/>
<property name="build.root.dir" value="${project.root}/${build.dir}"/>
<property name="release.root.dir" value="${project.root}/${release.dir}"/>
<property name="dist.root" value="${build.root.dir}/dist"/>
<property name="dist.dir" value="${dist.root}/${project.namever}"/>
<property name="dist.client.dir" value="${dist.dir}/client"/>
<property name="dist.bin" value="${dist.dir}/${bin.dir}"/>
<property name="dist.lib" value="${dist.dir}/${lib.dir}"/>
<property name="dist.doc" value="${dist.dir}/${doc.dir}"/>
<property name="dist.etc" value="${dist.dir}/${etc.dir}"/>
<property name="module.build.file" value="build-module.xml"/>
<property name="build.file" value="build.xml"/>
<property name="module.file" value="module.xml"/>
<property name="common.file" value="common.xml"/>
<property name="build.properties.file" value="build.properties"/>
<property name="build.release" value="${build.root.dir}/${release.dir}"/>
<property name="build.release.prepare" value="${build.root.dir}/${release.dir}/prepare"/>
<property name="build.zip" value="${build.root.dir}/${project.namever}.zip"/>
<property name="build.tar" value="${build.root.dir}/${project.namever}.tar"/>
<property name="build.tgz" value="${build.root.dir}/${project.namever}.tar.gz"/>
<property name="build.bz2" value="${build.root.dir}/${project.namever}.tar.bz2"/>
<property name="client.zip" value="${build.root.dir}/${client.namever}.zip"/>
<property name="client.tar" value="${build.root.dir}/${client.namever}.tar"/>
<property name="client.tgz" value="${build.root.dir}/${client.namever}.tar.gz"/>
<property name="client.bz2" value="${build.root.dir}/${client.namever}.tar.bz2"/>
<property name="java.target" value="1.5"/>
<property name="java.source" value="1.5"/>
<property name="tasks.root.dir" value="${project.root}/tasks"/>
<property name="tasks.classes" value="${tasks.root.dir}/classes"/>
<property name="tasks.src" value="${tasks.root.dir}/src"/>
<property name="common.dir" value="common"/>
<property name="common.root.dir" value="${project.root}/${common.dir}"/>
<mkdir dir="${tasks.classes}"/>
<javac srcdir="${tasks.src}" destdir="${tasks.classes}"
classpath="${java.class.path}"/>
<taskdef name="map" classname="org.apache.qpid.tasks.Map"
classpath="${tasks.classes}"/>
<target name="clean-tasks">
<delete dir="${tasks.classes}"/>
</target>
</project>