JdbcMapper/system-controls/src/jms/build.xml

74 lines
3.1 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/SystemControls/JMS" default="build" basedir=".">
<import file="../../systemcontrols-imports.xml"/>
<property name="module.name" value="jms-control"/>
<property name="module.dir" location="${src.dir}/jms"/>
<path id="module.classpath">
<path refid="ejb.dependency.path"/>
<path refid="controls.dependency.path"/>
<path refid="velocity.dependency.path"/>
<path refid="xbean.dependency.path"/>
</path>
<target name="build" description="Builds the JMS control.">
<echo>compile module: ${module.name}</echo>
<property name="classpath" refid="module.classpath"/>
<echo>module classpath: ${classpath}</echo>
<mkdir dir="${classes.dir}/${module.name}"/>
<mkdir dir="${gen.src.dir}/${module.name}"/>
<build-controls srcdir="${module.dir}"
destdir="${classes.dir}/${module.name}"
tempdir="${gen.src.dir}/${module.name}"
classpathref="module.classpath"/>
<control-jar destfile="${build.lib.dir}/${jmscontrol.jar.name}" basedir="${classes.dir}/${module.name}">
<metainf dir="${beehive.home}">
<include name="LICENSE.txt"/>
<include name="NOTICE.txt"/>
</metainf>
<manifest>
<attribute name="Extension-Name" value="Beehive JMS Control"/>
<attribute name="Specification-Title" value="Beehive JMS Control"/>
<attribute name="Specification-Vendor" value="Apache Software Foundation"/>
<attribute name="Specification-Version" value="${beehive.version}"/>
<attribute name="Implementation-Title" value="Beehive JMS Control"/>
<attribute name="Implementation-Vendor" value="Apache Software Foundation"/>
<attribute name="Implementation-Version" value="${beehive.version}"/>
<attribute name="Web-Service-Control-Version" value="${beehive.version}"/>
</manifest>
</control-jar>
</target>
<target name="clean" description="Clean the JMS control build area.">
<delete dir="${classes.dir}/${module.name}"/>
<delete dir="${gen.src.dir}/${module.name}"/>
<delete file="${build.lib.dir}/${jmscontrol.jar.name}"/>
</target>
</project>