Simon Willnauer 5627c6201c Webarchive packageing prepared for including IoC metadata descriptors
- including configured IoC descriptors in war distribution
	- improved dependency fetching (on demand)
	- fixed some spelling errors

Hessian Webservice support
	- created hessian servlet as a generic http interface for provided services
	- Interface def., Impl. and Tests
	- services can be exposed via HessianSkeletonProvider by defining a mapping key, Interface and an implementation instance.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@474244 13f79535-47bb-0310-9956-ffa450edef68
2006-11-13 10:51:04 +00:00

64 lines
3.2 KiB
XML

<?xml version="1.0"?>
<!--
Copyright 2004, 2005 The Apache Software Foundation
Licensed 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="dependency">
<target name="display-download-warning" unless="download-warning-marker-displayed">
<echo>
**************************************************************************************************
* *
* D O W N L O A D W A R N I N G *
* *
* Dependent libraries will be downloaded. These are NOT necessarily downloaded from apache.org, *
* and may use other licences besides the Apache Software License. Dependencies will use an *
* open-source license compatible with the ASL, such as Berkeley Software Distribution (BSD) or *
* Mozilla Public License (MPL). *
* *
**************************************************************************************************
</echo>
<!-- <input
validargs="continue"
message="Enter 'continue' to continue with the build:"/>
<mkdir dir="${external.package.dir}"/>
<echo file="${download-warning-marker.file}">Download warning accepted.</echo>-->
</target>
<macrodef name="ibiblio-dependency">
<attribute name="artifact" description="The name of the JAR artfiact to download." />
<attribute name="version" description="The version number of the artifact to download." />
<attribute name="group" description="The Maven group-id containing the JAR." />
<attribute name="use" default="compile" description="Useage of the dependency: compile, test or run. Subdirectory to place the artifact in." />
<attribute name="folder" default="jars"/>
<attribute name="reposurl" default="http://www.ibiblio.org/maven2"/>
<sequential>
<mkdir dir="${gdata.external.lib.dir}" />
<antcall target="display-download-warning" inheritAll="true"/>
<download-file dldest="${gdata.external.lib.dir}/@{artifact}-@{version}.jar" dlsrc="@{reposurl}/@{group}/@{folder}/@{artifact}-@{version}.jar" />
<property name="download-warning-marker-displayed" value="true"/>
</sequential>
</macrodef>
<macrodef name="download-file">
<attribute name="dlsrc" description="The URL of the file to download." />
<attribute name="dldest" description="The directory and file to copy to." />
<sequential>
<get src="@{dlsrc}" dest="@{dldest}" verbose="true" usetimestamp="true" ignoreerrors="true" />
</sequential>
</macrodef>
</project>