Author: mmerz
Date: Fri Mar 4 10:26:25 2005
New Revision: 156192
URL: http://svn.apache.org/viewcvs?view=rev&rev=156192
Log:
Added manifest entries for wsm.jar, wsm-axis.jar.
Modified:
incubator/beehive/trunk/wsm/build.xml
Modified: incubator/beehive/trunk/wsm/build.xml
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/build.xml?view=diff&r1=156191&r2=156192
==============================================================================
--- incubator/beehive/trunk/wsm/build.xml (original)
+++ incubator/beehive/trunk/wsm/build.xml Fri Mar 4 10:26:25 2005
@@ -1,4 +1,5 @@
<?xml version="1.0"?>
+
<!--
Copyright 2004 The Apache Software Foundation
@@ -16,7 +17,8 @@
$Header:$
-->
-<project name="Beehive - Metadata for Web Services" default="usage"
basedir=".">
+
+ <project name="Beehive - Metadata for Web Services" default="usage"
basedir=".">
<import file="../beehive-imports.xml"/>
<import file="../ant/${webservice.runtime}-import.xml"/>
@@ -50,7 +52,8 @@
<pathelement location="${lib.dir}/schematypes.jar"/>
<pathelement location="${ext.lib.dir}/jaxrpc.jar"/>
<path refid="xbean.dependency.path"/>
- </path>
+ </path>
+
<path id="axis.classpath">
<path refid="controls.dependency.path"/>
<path refid="tools.dependency.path"/>
@@ -59,6 +62,8 @@
<pathelement location="${runtime.classes}"/>
<pathelement location="${xsd.classes.dir}"/>
</path>
+
+
<!-- ====================================================================
-->
<!-- usage - output usage -->
<!-- ====================================================================
-->
@@ -99,6 +104,14 @@
<echo message=""/>
<echo message=""/>
</target>
+
+
+ <!-- ====================================================================
-->
+ <!-- build_all. build this project and all inter-project dependencies
-->
+ <!-- ====================================================================
-->
+ <target name="build_all" depends="build, build_axis"/>
+
+
<!-- ====================================================================
-->
<!-- Creates the output directories of the build. -->
<!-- ====================================================================
-->
@@ -109,6 +122,8 @@
<mkdir dir="${jars.dir}"/>
<mkdir dir="${docs.dir}"/>
</target>
+
+
<!-- ====================================================================
-->
<!-- Compiles the source code of the project. -->
<!-- ====================================================================
-->
@@ -122,12 +137,16 @@
<fileset dir="${runtime.dir}" includes="**/*.properties"/>
</copy>
</target>
+
+
<target name="api" depends="dirs">
<!-- Build the API classes -->
<javac destdir="${api.classes}" debug="on">
<src path="${api.dir}"/>
</javac>
</target>
+
+
<target name="runtime" depends="api">
<!-- Build the runtime classes -->
<javac destdir="${runtime.classes}" classpathref="runtime.classpath"
debug="on">
@@ -143,6 +162,8 @@
<fileset dir="${runtime.dir}" includes="**/*.properties"/>
</copy>
</target>
+
+
<target name="axis" depends="xsd,runtime">
<!-- Build the axis classes -->
<echo message="AXIS build"/>
@@ -151,6 +172,8 @@
<include name="**/axis/**"/>
</javac>
</target>
+
+
<!-- ====================================================================
-->
<!-- Generate classes from xml schemas using XMLBeans.
-->
<!-- ====================================================================
-->
@@ -166,6 +189,8 @@
<echo message="generate"/>
<build-xbean schemaDir="${xsd.schema.dir}"
classgenDir="${xsd.classes.dir}"/>
</target>
+
+
<!-- ====================================================================
-->
<!-- Jars up the classes, libraries, and resources. -->
<!-- ====================================================================
-->
@@ -178,11 +203,24 @@
<fileset dir="${runtime.classes}">
<exclude name="**/axis/**"/>
</fileset>
+ <manifest>
+ <attribute name="Extension-Name" value="Beehive WSM Library"/>
+ <attribute name="Specification-Title" value="Beehive WSM
Library"/>
+ <attribute name="Specification-Vendor" value="Apache Software
Foundation"/>
+ <attribute name="Specification-Version"
value="${beehive.version}"/>
+ <attribute name="Implementation-Title" value="Beehive WSM"/>
+ <attribute name="Implementation-Vendor" value="Apache Software
Foundation"/>
+ <attribute name="Implementation-Version"
value="${beehive.version}"/>
+ <attribute name="Beehive-Version" value="${beehive.version}"/>
+ </manifest>
+
</jar>
<echo message="--------------------------------------------------"/>
<echo message="| WSM build ending |"/>
<echo message="--------------------------------------------------"/>
</target>
+
+
<target name="build_axis" depends="axis">
<echo message="--------------------------------------------------"/>
<echo message="| WSM-AXIS build starting |"/>
@@ -195,15 +233,23 @@
<include name="**/axis/**"/>
<include name="**/schema/**"/>
</fileset>
+ <manifest>
+ <attribute name="Extension-Name" value="Axis Runtime for
Beehive WSM"/>
+ <attribute name="Specification-Title" value="Axis Runtime for
Beehive WSM"/>
+ <attribute name="Specification-Vendor" value="Apache Software
Foundation"/>
+ <attribute name="Specification-Version"
value="${beehive.version}"/>
+ <attribute name="Implementation-Title" value="Axis Runtime for
Beehive WSM"/>
+ <attribute name="Implementation-Vendor" value="Apache Software
Foundation"/>
+ <attribute name="Implementation-Version"
value="${beehive.version}"/>
+ <attribute name="Beehive-Version" value="${beehive.version}"/>
+ </manifest>
</jar>
<echo message="--------------------------------------------------"/>
<echo message="| WSM-AXIS build ending |"/>
<echo message="--------------------------------------------------"/>
</target>
- <!-- ====================================================================
-->
- <!-- build_all. build this project and all inter-project dependencies
-->
- <!-- ====================================================================
-->
- <target name="build_all" depends="build, build_axis"/>
+
+
<!-- ====================================================================
-->
<!-- clean -->
<!-- ====================================================================
-->
@@ -211,12 +257,16 @@
<delete dir="${build.dir}"/>
<ant dir="drt" target="clean" inheritAll="false"/>
</target>
+
+
<!-- ====================================================================
-->
<!-- clean_all -->
<!-- ====================================================================
-->
<target name="clean_all">
<antcall target="clean"/>
</target>
+
+
<!-- ====================================================================
-->
<!-- redeploy -->
<!-- ====================================================================
-->
@@ -225,6 +275,8 @@
<antcall target="build"/>
<antcall target="deploy"/>
</target>
+
+
<!-- ====================================================================
-->
<!-- redeploy_all -->
<!-- ====================================================================
-->
@@ -233,6 +285,8 @@
<antcall target="build_all"/>
<antcall target="deploy_all"/>
</target>
+
+
<!-- ====================================================================
-->
<!-- deploy.webservice.runtime -->
<!-- ====================================================================
-->
@@ -253,6 +307,8 @@
<fileset refid="velocity.fileset"/>
</copy>
</target>
+
+
<!-- ====================================================================
-->
<!-- deploy -->
<!-- ====================================================================
-->
@@ -265,12 +321,16 @@
<echo message="| WSM deploy ending |"/>
<echo message="--------------------------------------------------"/>
</target>
+
+
<!-- ====================================================================
-->
<!-- deploy_all -->
<!-- ====================================================================
-->
<target name="deploy_all">
<antcall target="deploy"/>
</target>
+
+
<!-- ====================================================================
-->
<!-- minprod -->
<!-- ====================================================================
-->
@@ -283,6 +343,8 @@
<echo message="| WSM minprod completed |"/>
<echo message="--------------------------------------------------"/>
</target>
+
+
<!-- ====================================================================
-->
<!-- docs -->
<!-- ====================================================================
-->
@@ -293,10 +355,13 @@
</javadoc>
<fixcrlf srcDir="${docs.dir}/apidocs/classref_wsm"
includes="**/*.html"/>
</target>
+
+
<!-- ====================================================================
-->
<!-- drt -->
<!-- ====================================================================
-->
<target name="drt" depends="build_all">
<ant dir="drt" target="drt" inheritAll="false"/>
</target>
-</project>
+
+</project>
\ No newline at end of file