You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by st...@apache.org on 2005/05/11 18:03:09 UTC

svn commit: r169650 [1/2] - /incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF /incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src /incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF /incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src /incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF /incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src /incubator/beehive/trunk/samples/wsm-blank/WEB-INF /incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src /incubator/beehive/trunk/samples/wsm-employee/WEB-INF /incubator/beehive/trunk/samples/wsm-employee/WEB-INF/src /incubator/beehive/trunk/samples/wsm-petstore-dashboard /incubator/beehive/trunk/samples/wsm-petstore-dashboard/src /incubator/beehive/trunk/samples/wsm-samples/WEB-INF /incubator/beehive/trunk/samples/wsm-samples/WEB-INF/src

Author: steveh
Date: Wed May 11 09:03:06 2005
New Revision: 169650

URL: http://svn.apache.org/viewcvs?rev=169650&view=rev
Log:
Fixes for 

BEEHIVE-673: move WSM build files from WEB-INF/ to WEB-INF/src
BEEHIVE-678: need to remove the "to.dir" support from the WSM samples

Added:
    incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build-client-svn.xml   (with props)
    incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build-client.xml   (with props)
    incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build-svn.xml   (with props)
    incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build.properties   (with props)
    incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build.xml   (with props)
    incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/
    incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build-client-svn.xml   (with props)
    incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build-client.xml   (with props)
    incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build-svn.xml   (with props)
    incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build.properties   (with props)
    incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build.xml   (with props)
    incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build-client-svn.xml   (with props)
    incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build-client.xml   (with props)
    incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build-svn.xml   (with props)
    incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build.properties   (with props)
    incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build.xml   (with props)
    incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build-client-svn.xml   (with props)
    incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build-client.xml   (with props)
    incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build-svn.xml   (with props)
    incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build.properties   (with props)
    incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build.xml   (with props)
    incubator/beehive/trunk/samples/wsm-employee/WEB-INF/src/build-client-svn.xml   (with props)
    incubator/beehive/trunk/samples/wsm-employee/WEB-INF/src/build-client.xml   (with props)
    incubator/beehive/trunk/samples/wsm-employee/WEB-INF/src/build-svn.xml   (with props)
    incubator/beehive/trunk/samples/wsm-employee/WEB-INF/src/build.properties   (with props)
    incubator/beehive/trunk/samples/wsm-employee/WEB-INF/src/build.xml   (with props)
    incubator/beehive/trunk/samples/wsm-petstore-dashboard/src/build.properties   (with props)
    incubator/beehive/trunk/samples/wsm-petstore-dashboard/src/build.xml   (with props)
    incubator/beehive/trunk/samples/wsm-samples/WEB-INF/src/build-svn.xml   (with props)
    incubator/beehive/trunk/samples/wsm-samples/WEB-INF/src/build.properties   (with props)
    incubator/beehive/trunk/samples/wsm-samples/WEB-INF/src/build.xml   (with props)
Removed:
    incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/build-client-svn.xml
    incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/build-client.xml
    incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/build-svn.xml
    incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/build.properties
    incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/build.xml
    incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/build-client-svn.xml
    incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/build-client.xml
    incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/build-svn.xml
    incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/build.properties
    incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/build.xml
    incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/build-client-svn.xml
    incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/build-client.xml
    incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/build-svn.xml
    incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/build.properties
    incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/build.xml
    incubator/beehive/trunk/samples/wsm-blank/WEB-INF/build-client-svn.xml
    incubator/beehive/trunk/samples/wsm-blank/WEB-INF/build-client.xml
    incubator/beehive/trunk/samples/wsm-blank/WEB-INF/build-svn.xml
    incubator/beehive/trunk/samples/wsm-blank/WEB-INF/build.properties
    incubator/beehive/trunk/samples/wsm-blank/WEB-INF/build.xml
    incubator/beehive/trunk/samples/wsm-employee/WEB-INF/build-client-svn.xml
    incubator/beehive/trunk/samples/wsm-employee/WEB-INF/build-client.xml
    incubator/beehive/trunk/samples/wsm-employee/WEB-INF/build-svn.xml
    incubator/beehive/trunk/samples/wsm-employee/WEB-INF/build.properties
    incubator/beehive/trunk/samples/wsm-employee/WEB-INF/build.xml
    incubator/beehive/trunk/samples/wsm-petstore-dashboard/build.properties
    incubator/beehive/trunk/samples/wsm-petstore-dashboard/build.xml
    incubator/beehive/trunk/samples/wsm-samples/WEB-INF/build-svn.xml
    incubator/beehive/trunk/samples/wsm-samples/WEB-INF/build.properties
    incubator/beehive/trunk/samples/wsm-samples/WEB-INF/build.xml

Added: incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build-client-svn.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build-client-svn.xml?rev=169650&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build-client-svn.xml (added)
+++ incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build-client-svn.xml Wed May 11 09:03:06 2005
@@ -0,0 +1,97 @@
+<?xml version="1.0" ?>
+
+<!--
+   Copyright 2004 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.
+ 
+   $Header:$
+ -->
+
+<project name="Enhanced Address Book Sample Client" basedir="." default="test">
+	
+  <import file="../../../../beehive-imports.xml" />
+
+  <property
+      name="wsdl.url" 
+      value="http://localhost:8080/EnhancedAddressBookWS/web/Service.jws?wsdl" />
+  <property name="webapp.dir" value="../.." />
+  <property name="web.inf.dir" value="${webapp.dir}/WEB-INF" />
+  <property name="lib.dir" value="${web.inf.dir}/lib" />
+  <property name="log.dir" value="${web.inf.dir}/logs" />
+  <property name="build.dir" value="${web.inf.dir}/build-client" />
+  <property name="gen.dir" value="${build.dir}/gen" />
+  <property name="classes.dir" value="${build.dir}/classes" />
+      
+  <path id="jars">
+    <fileset dir="${lib.dir}">
+      <include name="**/*.jar"/>
+    </fileset>
+  </path>
+	
+  <target name="test" depends="dirs,compile">
+    <junit
+        printsummary="yes"
+        haltonfailure="yes"
+        showoutput="yes">
+      <classpath>
+        <pathelement location= "${classes.dir}"/>
+      <path refid="jars"/>
+      </classpath>
+      <formatter type="plain"/>
+      <batchtest fork="yes" todir="${log.dir}">
+        <fileset dir="${classes.dir}">
+          <include name="**/*Test*.class"/>
+        </fileset>
+      </batchtest>
+    </junit>
+  </target>
+	
+  <target name="compile" depends="genClient">
+    <javac
+        srcdir="${gen.dir}"
+	destdir="${classes.dir}"
+	classpathref="jars"
+	failonerror="true"
+ 	source="1.4" />
+  </target>	
+	
+  <target name="genClient" depends="dirs">
+    <deploy-wsm webappDir="${webapp.dir}" />
+    <taskdef
+        name="wsdl2java"
+        classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask"
+        loaderref="axis">
+      <classpath refid="jars"/>
+    </taskdef>
+    <wsdl2java
+        url="${wsdl.url}"
+	output="${gen.dir}"
+	testcase="yes">
+    </wsdl2java>
+  </target>
+	
+  <target name="clean">
+    <delete dir="${build.dir}" />
+    <delete dir="${log.dir}" />
+    <delete dir="${lib.dir}" />
+  </target>
+	
+  <target name="dirs">
+    <mkdir dir="${build.dir}" />
+    <mkdir dir="${gen.dir}" />
+    <mkdir dir="${classes.dir}" />
+    <mkdir dir="${log.dir}" />
+  </target>	
+
+</project>

Propchange: incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build-client-svn.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build-client.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build-client.xml?rev=169650&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build-client.xml (added)
+++ incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build-client.xml Wed May 11 09:03:06 2005
@@ -0,0 +1,109 @@
+<?xml version="1.0" ?>
+
+<!--
+   Copyright 2004 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.
+ 
+   $Header:$
+ -->
+
+<project name="Enhanced Address Book Sample Client" default="test" basedir=".">
+  
+  <property file="build.properties"/>
+	
+  <import file="${beehive.home}/beehive-imports.xml" />
+
+  <property
+      name="wsdl.url" 
+      value="http://localhost:8080/EnhancedAddressBookWS/web/Service.jws?wsdl" />
+  <property name="webapp.dir" value="../.." />
+  <property name="web.inf.dir" value="${webapp.dir}/WEB-INF" />
+  <property name="build.dir" value="${web.inf.dir}/build-client" />
+  <property name="lib.dir" value="${web.inf.dir}/lib" />
+  <property name="gen.dir" value="${build.dir}/gen" />
+  <property name="classes.dir" value="${build.dir}/classes" />
+  <property name="log.dir" value="${web.inf.dir}/logs" />
+      
+  <path id="jars">
+    <fileset dir="${lib.dir}">
+      <include name="**/*.jar"/>
+    </fileset>
+  </path>
+	
+  <target name="test" depends="dirs,compile">
+    <junit
+        printsummary="yes"
+        haltonfailure="yes"
+        showoutput="yes">
+      <classpath>
+        <pathelement location= "${classes.dir}"/>
+      <path refid="jars"/>
+      </classpath>
+      <formatter type="plain"/>
+      <batchtest fork="yes" todir="${log.dir}">
+        <fileset dir="${classes.dir}">
+          <include name="**/*Test*.class"/>
+        </fileset>
+      </batchtest>
+    </junit>
+  </target>
+	
+  <target name="compile" depends="generate.client">
+    <javac
+        srcdir="${gen.dir}"
+	destdir="${classes.dir}"
+	classpathref="jars"
+	failonerror="true"
+ 	source="1.4" />
+  </target>	
+	
+  <target name="generate.client" depends="dirs">
+    <antcall target="deploy.beehive.webservice.runtime" />
+    <taskdef
+        name="wsdl2java"
+        classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask"
+        loaderref="axis">
+      <classpath refid="jars"/>
+    </taskdef>
+    <wsdl2java
+        url="${wsdl.url}"
+	output="${gen.dir}"
+	testcase="yes">
+    </wsdl2java>
+  </target>
+	
+  <target name="clean">
+    <delete dir="${build.dir}" />
+    <delete dir="${log.dir}" />
+    <delete dir="${lib.dir}" />
+  </target>
+	
+  <target name="dirs">
+    <mkdir dir="${build.dir}" />
+    <mkdir dir="${gen.dir}" />
+    <mkdir dir="${classes.dir}" />
+    <mkdir dir="${log.dir}" />
+  </target>	
+
+  
+  <!-- copy all dependencies -->
+  <target name="deploy.beehive.webservice.runtime" depends="dirs">
+    <copy todir="${lib.dir}">
+      <fileset file="${beehive.home}/lib/common/*.jar" />
+      <fileset file="${beehive.home}/lib/controls/beehive-controls.jar" />
+      <fileset file="${beehive.home}/lib/wsm/*.jar" />
+    </copy>
+  </target>
+
+</project>

Propchange: incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build-client.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build-svn.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build-svn.xml?rev=169650&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build-svn.xml (added)
+++ incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build-svn.xml Wed May 11 09:03:06 2005
@@ -0,0 +1,105 @@
+<?xml version="1.0" ?>
+
+<!--
+   Copyright 2004 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.
+ 
+   $Header:$
+ -->
+
+<project name="Enhanced Address Book Sample" default="build" basedir=".">
+
+  <import file="../../../../beehive-imports.xml" />
+
+  <property name="service.name" value="EnhancedAddressBook" />
+  
+  <property name="webapp.dir" location="../.." />
+  <property name="web.inf.dir" location="${webapp.dir}/web-inf" />
+  <property name="attachments.dir" location="${web.inf.dir}/attachments" />
+  <property name="classes.dir" location="${web.inf.dir}/classes" />
+  <property name="gen.dir" location="${web.inf.dir}/gen" />
+  <property name="lib.dir" location="${web.inf.dir}/lib" />
+  <property name="src.dir" location="${web.inf.dir}/src" />
+  <property name="webservice.jar" value="${lib.dir}/${service.name}WS.jar" />
+  <property name="webservice.war" value="${service.name}WS.war" />
+  
+  <condition property="isJDK15">
+    <equals arg1="${ant.java.version}" arg2="1.5" />
+  </condition>
+
+  <path id="jars">
+    <fileset dir="${lib.dir}" >
+      <include name="**/*.jar" />
+    </fileset>
+  </path>
+
+  
+  <!-- ========================================= -->
+  <!-- deploy - build deployable artifact        -->
+  <!-- ========================================= -->
+  
+  <target name="deploy">
+    <antcall target="deploy.war" />
+  </target>
+  
+
+  <!-- ========================================= -->
+  <!-- deploy.war - build deployable artifact    -->
+  <!-- ========================================= -->
+  
+  <target name="deploy.war">
+    <jar jarfile="../../../${service.name}WS.war">
+      <fileset dir="${webapp.dir}">
+        <exclude name="${src.dir}/**" />
+        <exclude name="${gen.dir}/**" />
+      </fileset>
+    </jar>
+  </target>
+  
+
+  <!-- ========================================= -->
+  <!-- build - build all binaries                -->
+  <!-- ========================================= -->
+
+  <target name="build" depends="dirs">
+    <deploy-wsm webappDir="${webapp.dir}" />
+    <build-webapp webappDir="${webapp.dir}" />
+    <jar jarfile="${webservice.jar}">
+      <fileset dir="${classes.dir}" />
+    </jar>
+  </target>
+
+  
+  <!-- ========================================= -->
+  <!-- clean - remove binary files               -->
+  <!-- ========================================= -->
+
+  <target name="clean">
+    <delete dir="${attachments.dir}" />
+    <delete dir="${lib.dir}" />
+    <delete file="velocity.log" />
+    <clean-webapp webappDir="${webapp.dir}" />
+  </target>
+
+  
+  <!-- ========================================= -->
+  <!-- dirs - create dirs required for compile   -->
+  <!-- ========================================= -->
+
+  <target name="dirs">
+    <mkdir dir="${attachments.dir}" />
+    <mkdir dir="${classes.dir}" />
+  </target>
+
+</project>

Propchange: incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build-svn.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build.properties
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build.properties?rev=169650&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build.properties (added)
+++ incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build.properties Wed May 11 09:03:06 2005
@@ -0,0 +1,4 @@
+#
+# Edit this if you have moved the sample out of BEEHIVE_HOME/samples.
+#
+beehive.home=../../../..

Propchange: incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build.xml?rev=169650&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build.xml (added)
+++ incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build.xml Wed May 11 09:03:06 2005
@@ -0,0 +1,126 @@
+<?xml version="1.0" ?>
+
+<!--
+   Copyright 2004 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.
+ 
+   $Header:$
+ -->
+
+<project name="Enhanced Address Book Sample" default="build" basedir=".">
+  
+  <property file="build.properties"/>
+
+  <import file="${beehive.home}/beehive-imports.xml" />
+  <import file="${beehive.home}/ant/beehive-tools.xml" />
+
+  <property name="service.name" value="EnhancedAddressBook" />
+
+  <property name="webapp.dir" location="../.." />
+  <property name="web.inf.dir" location="${webapp.dir}/WEB-INF" />
+  <property name="attachments.dir" location="${web.inf.dir}/attachments" />
+  <property name="classes.dir" location="${web.inf.dir}/classes" />
+  <property name="gen.dir" location="${web.inf.dir}/gen" />
+  <property name="lib.dir" location="${web.inf.dir}/lib" />
+  <property name="src.dir" location="${web.inf.dir}/src" />
+  <property name="webservice.jar" value="${lib.dir}/${service.name}WS.jar" />
+  <property name="webservice.war" value="${service.name}WS.war" />
+
+  <path id="lib.path">
+    <fileset dir="${lib.dir}">
+      <include name="**/*.jar" />
+    </fileset>
+  </path>
+
+  <path id="build.classpath">
+    <path refid="lib.path"/>
+    <pathelement location="${classes.dir}"/>
+  </path>
+    
+  
+  <!-- ========================================= -->
+  <!-- deploy - build deployable artifact        -->
+  <!-- ========================================= -->
+  
+  <target name="deploy">
+    <antcall target="deploy.war" />
+  </target>
+
+
+  <!-- ========================================= -->
+  <!-- deploy.war - build deployable artifact    -->
+  <!-- ========================================= -->
+  
+  <target name="deploy.war">
+    <jar jarfile="../../../${webservice.war}">
+      <fileset dir="../..">
+        <exclude name="${src.dir}/**" />
+        <exclude name="${gen.dir}/**" />
+      </fileset>
+    </jar>
+  </target>
+  
+
+  <!-- ========================================= -->
+  <!-- build - build all binaries                -->
+  <!-- ========================================= -->
+
+  <target name="build" depends="dirs">
+    <antcall target="deploy.beehive.webservice.runtime" />
+
+    <build-webservices srcdir="${src.dir}"
+                       destdir="${classes.dir}"
+                       tempdir="${gen.dir}"
+                       classpathref="build.classpath"/>
+
+    <jar jarfile="${webservice.jar}">
+      <fileset dir="${classes.dir}" />
+    </jar>
+  </target>
+
+  
+  <!-- ========================================= -->
+  <!-- clean - remove binary files               -->
+  <!-- ========================================= -->
+
+  <target name="clean">
+    <delete dir="${attachments.dir}" />
+    <delete dir="${classes.dir}" />
+    <delete dir="${gen.dir}" />
+    <delete dir="${lib.dir}" />
+    <delete file="velocity.log" />
+  </target>
+
+  
+  <!-- ========================================= -->
+  <!-- dirs - create dirs required for compile   -->
+  <!-- ========================================= -->
+
+  <target name="dirs">
+    <mkdir dir="${attachments.dir}" />
+    <mkdir dir="${classes.dir}" />
+    <mkdir dir="${gen.dir}" />
+    <mkdir dir="${lib.dir}" />
+  </target>
+
+  <!-- copy all dependencies -->
+  <target name="deploy.beehive.webservice.runtime" depends="dirs">
+    <copy todir="${lib.dir}">
+      <fileset file="${beehive.home}/lib/common/*.jar" />
+      <fileset file="${beehive.home}/lib/controls/beehive-controls.jar" />
+      <fileset file="${beehive.home}/lib/wsm/*.jar" />
+    </copy>
+  </target>
+
+</project>

Propchange: incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build-client-svn.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build-client-svn.xml?rev=169650&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build-client-svn.xml (added)
+++ incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build-client-svn.xml Wed May 11 09:03:06 2005
@@ -0,0 +1,100 @@
+<?xml version="1.0" ?>
+
+<!--
+   Copyright 2004 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.
+ 
+   $Header:$
+ -->
+
+<project name="Address Book from WSDL Sample Client" basedir="." default="test">
+	
+  <import file="../../../../beehive-imports.xml" />
+
+  <property
+      name="wsdl.url" 
+      value="http://localhost:8080/fromWSDLWS/web/Service.jws?wsdl" />
+      
+  <property name="webapp.dir" value=".." />
+  <property name="web.inf.dir" value="${webapp.dir}/WEB-INF" />
+  <property name="lib.dir" value="${web.inf.dir}/lib" />
+  <property name="log.dir" value="${web.inf.dir}/logs" />
+  <property name="build.dir" value="${web.inf.dir}/build-client" />
+  <property name="gen.dir" value="${build.dir}/gen" />
+  <property name="classes.dir" value="${build.dir}/classes" />
+      
+  <path id="jars">
+    <fileset dir="${lib.dir}">
+      <include name="**/*.jar"/>
+    </fileset>
+  </path>
+	
+  <target name="test" depends="dirs,compile">
+    <junit
+        printsummary="yes"
+        haltonfailure="yes"
+        showoutput="yes">
+      <classpath>
+        <pathelement location= "${classes.dir}"/>
+        <path refid="jars"/>
+      </classpath>
+      <formatter type="plain"/>
+      <batchtest fork="yes" todir="${log.dir}">
+        <fileset dir="${classes.dir}">
+          <include name="**/*Test*.class"/>
+        </fileset>
+      </batchtest>
+    </junit>
+  </target>
+	
+  <target name="compile" depends="genClient">
+    <javac
+        srcdir="${gen.dir}"
+	destdir="${classes.dir}"
+	classpathref="jars"
+	failonerror="true"
+ 	source="1.4" />
+  </target>	
+
+  <target name="genClient" depends="dirs">
+    <deploy-wsm webappDir="${webapp.dir}" />
+    <taskdef
+        name="wsdl2java"
+        classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask"
+        loaderref="axis">
+      <classpath refid="jars"/>
+    </taskdef>
+    <wsdl2java
+        verbose="true"
+        helpergen="true"
+        url="${wsdl.url}"
+	output="${gen.dir}"
+	testcase="yes">
+    </wsdl2java>
+  </target>
+	
+  <target name="clean">
+    <delete dir="${build.dir}" />
+    <delete dir="${log.dir}" />
+    <delete dir="${lib.dir}" />
+  </target>
+	
+  <target name="dirs">
+    <mkdir dir="${build.dir}" />
+    <mkdir dir="${gen.dir}" />
+    <mkdir dir="${classes.dir}" />
+    <mkdir dir="${log.dir}" />
+  </target>	
+
+</project>

Propchange: incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build-client-svn.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build-client.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build-client.xml?rev=169650&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build-client.xml (added)
+++ incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build-client.xml Wed May 11 09:03:06 2005
@@ -0,0 +1,109 @@
+<?xml version="1.0" ?>
+
+<!--
+   Copyright 2004 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.
+ 
+   $Header:$
+ -->
+
+<project name="Address Book Sample Client" default="test" basedir=".">
+  
+  <property file="build.properties"/>
+	
+  <import file="${beehive.home}/beehive-imports.xml" />
+
+  <property
+      name="wsdl.url" 
+      value="http://localhost:8080/fromWSDLWS/web/Service.jws?wsdl" />
+  <property name="webapp.dir" value="../.." />
+  <property name="web.inf.dir" value="${webapp.dir}/WEB-INF" />
+  <property name="build.dir" value="${web.inf.dir}/build-client" />
+  <property name="lib.dir" value="${web.inf.dir}/lib" />
+  <property name="gen.dir" value="${build.dir}/gen" />
+  <property name="classes.dir" value="${build.dir}/classes" />
+  <property name="log.dir" value="${web.inf.dir}/logs" />
+      
+  <path id="jars">
+    <fileset dir="${lib.dir}">
+      <include name="**/*.jar"/>
+    </fileset>
+  </path>
+	
+  <target name="test" depends="dirs,compile">
+    <junit
+        printsummary="yes"
+        haltonfailure="yes"
+        showoutput="yes">
+      <classpath>
+        <pathelement location= "${classes.dir}"/>
+      <path refid="jars"/>
+      </classpath>
+      <formatter type="plain"/>
+      <batchtest fork="yes" todir="${log.dir}">
+        <fileset dir="${classes.dir}">
+          <include name="**/*Test*.class"/>
+        </fileset>
+      </batchtest>
+    </junit>
+  </target>
+	
+  <target name="compile" depends="generate.client">
+    <javac
+        srcdir="${gen.dir}"
+	destdir="${classes.dir}"
+	classpathref="jars"
+	failonerror="true"
+ 	source="1.4" />
+  </target>	
+	
+  <target name="generate.client" depends="dirs">
+    <antcall target="deploy.beehive.webservice.runtime" />
+    <taskdef
+        name="wsdl2java"
+        classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask"
+        loaderref="axis">
+      <classpath refid="jars"/>
+    </taskdef>
+    <wsdl2java
+        url="${wsdl.url}"
+	output="${gen.dir}"
+	testcase="yes">
+    </wsdl2java>
+  </target>
+	
+  <target name="clean">
+    <delete dir="${build.dir}" />
+    <delete dir="${log.dir}" />
+    <delete dir="${lib.dir}" />
+  </target>
+	
+  <target name="dirs">
+    <mkdir dir="${build.dir}" />
+    <mkdir dir="${gen.dir}" />
+    <mkdir dir="${classes.dir}" />
+    <mkdir dir="${log.dir}" />
+  </target>	
+
+  
+  <!-- copy all dependencies -->
+  <target name="deploy.beehive.webservice.runtime" depends="dirs">
+    <copy todir="${lib.dir}">
+      <fileset file="${beehive.home}/lib/common/*.jar" />
+      <fileset file="${beehive.home}/lib/controls/beehive-controls.jar" />
+      <fileset file="${beehive.home}/lib/wsm/*.jar" />
+    </copy>
+  </target>
+
+</project>

Propchange: incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build-client.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build-svn.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build-svn.xml?rev=169650&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build-svn.xml (added)
+++ incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build-svn.xml Wed May 11 09:03:06 2005
@@ -0,0 +1,187 @@
+<?xml version="1.0" ?>
+
+<!--
+   Copyright 2004 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.
+ 
+   $Header:$
+ -->
+
+<project name="Address Book from WSDL Sample" default="build" basedir=".">
+
+  <import file="../../../../beehive-imports.xml" />
+
+  <property name="service.name" value="fromWSDL" />
+  
+  <taskdef
+      name="apt"
+      classname="org.apache.beehive.controls.runtime.generator.AptTask"
+      classpath="lib/beehive-controls.jar" onerror="report" />
+
+  <property name="webapp.dir" location="../.." />
+  <property name="web.inf.dir" location="${webapp.dir}/WEB-INF" />
+  <property name="attachments.dir" location="${web.inf.dir}/attachments" />
+  <property name="lib.dir" value="${web.inf.dir}/lib" />
+  <property name="build.dir" location="${web.inf.dir}/build" />
+  <property name="gen.dir" location="${build.dir}/gen" />
+  <property name="aptgen.dir" location="${build.dir}/apt-gen" />
+  <property name="classes.dir" location="${build.dir}/classes" /> 
+  <property name="sourcegen.dir" value="${gen.dir}/src"/>
+  <property name="webservice.jar" value="${lib.dir}/${service.name}WS.jar" />
+
+  <property name="webservice.war" value="${service.name}WS.war" />
+  <property name="schema.dir" value="wsdl" />
+  <property name="wsdl.location" location="${schema.dir}/${service.name}.wsdl" />
+    
+  <condition property="isJDK15">
+    <equals arg1="${ant.java.version}" arg2="1.5" />
+  </condition>
+
+  <path id="jars">
+    <fileset dir="${lib.dir}" >
+      <include name="**/*.jar" />
+    </fileset>
+  </path>
+
+  
+  <!-- ========================================= -->
+  <!-- deploy - build deployable artifact        -->
+  <!-- ========================================= -->
+  
+  <target name="deploy">
+    <antcall target="deploy.war" />
+  </target>
+  
+  
+  <!-- ========================================= -->
+  <!-- deploy.war - build deployable artifact    -->
+  <!-- ========================================= -->
+  
+  <target name="deploy.war">
+    <jar jarfile="../../../${service.name}WS.war">
+      <fileset dir="${webapp.dir}">
+        <exclude name="${build.dir}/**" />
+      </fileset>
+    </jar>
+  </target>
+  
+  
+  <!-- ========================================= -->
+  <!-- build - build all binaries                -->
+  <!-- ========================================= -->
+
+  <target name="build" depends="dirs">
+    <deploy-wsm webappDir="${webapp.dir}" />
+    <antcall target="source-gen" />
+    <antcall target="generate-xmlbean-datatypes" />
+    <!-- build-webapp webappDir="${webapp.dir}" / -->
+    <jar jarfile="${webservice.jar}">
+      <fileset dir="${classes.dir}" />
+    </jar>
+  </target>
+
+
+  <!-- ========================================= -->
+  <!-- clean - remove binary files               -->
+  <!-- ========================================= -->
+
+  <target name="clean">
+    <delete dir="${attachments.dir}" />
+    <delete dir="${lib.dir}" />
+    <delete dir="${build.dir}" />
+    <delete file="velocity.log" />
+    <clean-webapp webappDir="${webapp.dir}" />
+  </target>
+
+
+  <!-- ========================================= -->
+  <!-- source-gen - generate source from wsdl    -->
+  <!-- ========================================= -->	
+
+  <target name="source-gen" depends="generate-xmlbean-datatypes" >
+  
+    <taskdef
+        name="wsdl2AJava" 
+        classname="org.apache.beehive.wsm.axis.ant.WSDL2AJavaTask">
+      <classpath>
+        <path refid="jars"/>
+      </classpath>    
+    </taskdef>
+
+    <!-- apt
+        srcdir="${sourcegen.dir}"
+        destdir="${classes.dir}"
+        gendir="${aptgen.dir}"
+        compileByExtension="true" 
+        classpathref="jars"
+        srcExtensions="*.java,*.jcx,*.jcs,*.jws" / -->
+		
+    <wsdl2AJava outputdir="${sourcegen.dir}" wsdlfile="${wsdl.location}">
+      <classpath>
+        <path refid="jars"/>
+        <path location="${classes.dir}" />
+      </classpath>
+    </wsdl2AJava>
+		
+    <apt
+        srcdir="${sourcegen.dir}"
+        destdir="${classes.dir}"
+        gendir="${aptgen.dir}"
+        compileByExtension="true" 
+        srcExtensions="*.java,*.jcx,*.jcs,*.jws">
+      <classpath>
+        <path refid="jars"/>
+        <path location="${classes.dir}" />
+      </classpath>
+    </apt>
+  </target>
+	
+  <!-- ========================================= -->
+  <!-- generate-xmlbean-datatypes -              -->
+  <!-- ========================================= -->
+
+  <target name="generate-xmlbean-datatypes">
+    <taskdef
+        name="xmlbeanbuild" 
+	classname="org.apache.xmlbeans.impl.tool.XMLBean">
+      <classpath>
+        <path refid="jars" />
+      </classpath>
+    </taskdef>
+    <mkdir dir="${classes.dir}" />
+    <mkdir dir="${sourcegen.dir}" />
+    <xmlbeanbuild
+        schema="${schema.dir}" 
+	srcgendir="${sourcegen.dir}"
+	classgendir="${classes.dir}"
+	failonerror="true" >
+      <classpath>
+        <path refid="jars" />
+      </classpath>
+    </xmlbeanbuild>
+  </target>
+  
+  
+  <!-- ========================================= -->
+  <!-- dirs - create dirs required for compile   -->
+  <!-- ========================================= -->
+
+  <target name="dirs">
+    <mkdir dir="${aptgen.dir}" />
+    <mkdir dir="${attachments.dir}" />
+    <mkdir dir="${classes.dir}" />
+    <mkdir dir="${gen.dir}" />
+  </target>
+
+</project>

Propchange: incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build-svn.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build.properties
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build.properties?rev=169650&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build.properties (added)
+++ incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build.properties Wed May 11 09:03:06 2005
@@ -0,0 +1,5 @@
+#
+# Edit this if you have moved the sample out of BEEHIVE_HOME/samples.
+#
+beehive.home=../../../..
+

Propchange: incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build.xml?rev=169650&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build.xml (added)
+++ incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build.xml Wed May 11 09:03:06 2005
@@ -0,0 +1,122 @@
+<?xml version="1.0" ?>
+
+<!--
+   Copyright 2004 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.
+ 
+   $Header:$
+ -->
+
+<project name="Address Book from WSDL Sample" default="build" basedir=".">
+  
+  <property file="build.properties"/>
+
+  <import file="${beehive.home}/beehive-imports.xml" />
+  <import file="${beehive.home}/ant/beehive-tools.xml" />
+
+  <property name="service.name" value="fromWSDL" />
+
+  <property name="webapp.dir" location="../.." />
+  <property name="web.inf.dir" location="${webapp.dir}/WEB-INF" />
+  <property name="attachments.dir" location="${web.inf.dir}/attachments" />
+  <property name="classes.dir" location="${web.inf.dir}/classes" />
+  <property name="gen.dir" location="${web.inf.dir}/gen" />
+  <property name="lib.dir" location="${web.inf.dir}/lib" />
+  <property name="src.dir" location="${web.inf.dir}/src" />
+  <property name="webservice.jar" value="${lib.dir}/${service.name}.jar" />
+  <property name="webservice.war" value="${service.name}.war" />
+
+  <path id="lib.path">
+    <fileset dir="${lib.dir}">
+      <include name="**/*.jar" />
+    </fileset>
+  </path>
+
+  <path id="build.classpath">
+    <path refid="lib.path"/>
+    <pathelement location="${classes.dir}"/>
+  </path>
+    
+  
+  <!-- ========================================= -->
+  <!-- deploy - build deployable artifact        -->
+  <!-- ========================================= -->
+  
+  <target name="deploy">
+    <antcall target="deploy.war" />
+  </target>
+  
+
+  <!-- ========================================= -->
+  <!-- deploy.war - build deployable artifact    -->
+  <!-- ========================================= -->
+  
+  <target name="deploy.war">
+    <jar jarfile="../../../${webservice.war}">
+      <fileset dir="../..">
+        <exclude name="${build.dir}/**" />
+      </fileset>
+    </jar>
+  </target>
+  
+
+  <!-- ========================================= -->
+  <!-- build - build all binaries                -->
+  <!-- ========================================= -->
+
+  <target name="build" depends="dirs">
+    <antcall target="deploy.beehive.webservice.runtime" />
+      <build-webservices srcdir="${src.dir}"
+                         destdir="${classes.dir}"
+                         tempdir="${gen.dir}"
+                         classpathref="build.classpath"/>
+    <jar jarfile="${webservice.jar}">
+      <fileset dir="${classes.dir}" />
+    </jar>
+  </target>
+
+  
+  <!-- ========================================= -->
+  <!-- clean - remove binary files               -->
+  <!-- ========================================= -->
+
+  <target name="clean">
+    <delete dir="${attachments.dir}" />
+    <delete dir="${build.dir}" />
+    <delete dir="${gen.dir}" />
+    <delete dir="${lib.dir}" />
+    <delete file="velocity.log" />
+  </target>
+
+  
+  <!-- ========================================= -->
+  <!-- dirs - create dirs required for compile   -->
+  <!-- ========================================= -->
+
+  <target name="dirs">
+    <mkdir dir="${attachments.dir}" />
+    <mkdir dir="${classes.dir}" />
+    <mkdir dir="${gen.dir}" />
+    <mkdir dir="${lib.dir}" />
+  </target>
+
+  <!-- copy all dependencies -->
+  <target name="deploy.beehive.webservice.runtime" depends="dirs">
+    <copy todir="${lib.dir}">
+      <fileset file="${beehive.home}/lib/common/*.jar" />
+      <fileset file="${beehive.home}/lib/controls/beehive-controls.jar" />
+      <fileset file="${beehive.home}/lib/wsm/*.jar" />
+    </copy>
+  </target>
+</project>

Propchange: incubator/beehive/trunk/samples/wsm-addressbook-fromWSDL/WEB-INF/src/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build-client-svn.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build-client-svn.xml?rev=169650&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build-client-svn.xml (added)
+++ incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build-client-svn.xml Wed May 11 09:03:06 2005
@@ -0,0 +1,96 @@
+<?xml version="1.0" ?>
+
+<!--
+   Copyright 2004 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.
+ 
+   $Header:$
+ -->
+
+<project name="Address Book Sample Client" basedir="." default="test">
+	
+  <import file="../../../../beehive-imports.xml" />
+
+  <property
+      name="wsdl.url" 
+      value="http://localhost:8080/AddressBookWS/web/Service.jws?wsdl" />
+  <property name="webapp.dir" value="../.." />
+  <property name="build.dir" value="build-client" />
+  <property name="lib.dir" value="lib" />
+  <property name="gen.dir" value="${build.dir}/gen" />
+  <property name="classes.dir" value="${build.dir}/classes" />
+  <property name="log.dir" value="logs" />
+      
+  <path id="jars">
+    <fileset dir="${lib.dir}">
+      <include name="**/*.jar"/>
+    </fileset>
+  </path>
+	
+  <target name="test" depends="dirs,compile">
+    <junit
+        printsummary="yes"
+        haltonfailure="yes"
+        showoutput="yes">
+      <classpath>
+        <pathelement location= "${classes.dir}"/>
+      <path refid="jars"/>
+      </classpath>
+      <formatter type="plain"/>
+      <batchtest fork="yes" todir="${log.dir}">
+        <fileset dir="${classes.dir}">
+          <include name="**/*Test*.class"/>
+        </fileset>
+      </batchtest>
+    </junit>
+  </target>
+	
+  <target name="compile" depends="genClient">
+    <javac
+        srcdir="${gen.dir}"
+	destdir="${classes.dir}"
+	classpathref="jars"
+	failonerror="true"
+ 	source="1.4" />
+  </target>	
+	
+  <target name="genClient" depends="dirs">
+    <deploy-wsm webappDir="${webapp.dir}" />
+    <taskdef
+        name="wsdl2java"
+        classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask"
+        loaderref="axis">
+      <classpath refid="jars"/>
+    </taskdef>
+    <wsdl2java
+        url="${wsdl.url}"
+	output="${gen.dir}"
+	testcase="yes">
+    </wsdl2java>
+  </target>
+	
+  <target name="clean">
+    <delete dir="${build.dir}" />
+    <delete dir="${log.dir}" />
+    <delete dir="${lib.dir}" />
+  </target>
+	
+  <target name="dirs">
+    <mkdir dir="${build.dir}" />
+    <mkdir dir="${gen.dir}" />
+    <mkdir dir="${classes.dir}" />
+    <mkdir dir="${log.dir}" />
+  </target>	
+
+</project>

Propchange: incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build-client-svn.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build-client.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build-client.xml?rev=169650&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build-client.xml (added)
+++ incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build-client.xml Wed May 11 09:03:06 2005
@@ -0,0 +1,109 @@
+<?xml version="1.0" ?>
+
+<!--
+   Copyright 2004 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.
+ 
+   $Header:$
+ -->
+
+<project name="Address Book Sample Client" default="test" basedir=".">
+
+  <property file="build.properties"/>
+	
+  <import file="${beehive.home}/beehive-imports.xml" />
+
+  <property
+      name="wsdl.url" 
+      value="http://localhost:8080/AddressBookWS/web/Service.jws?wsdl" />
+  <property name="webapp.dir" value="../.." />
+  <property name="web.inf.dir" value="${webapp.dir}/WEB-INF" />
+  <property name="build.dir" value="${web.inf.dir}/build-client" />
+  <property name="lib.dir" value="${web.inf.dir}/lib" />
+  <property name="gen.dir" value="${build.dir}/gen" />
+  <property name="classes.dir" value="${build.dir}/classes" />
+  <property name="log.dir" value="${web.inf.dir}/logs" />
+      
+  <path id="jars">
+    <fileset dir="${lib.dir}">
+      <include name="**/*.jar"/>
+    </fileset>
+  </path>
+	
+  <target name="test" depends="dirs,compile">
+    <junit
+        printsummary="yes"
+        haltonfailure="yes"
+        showoutput="yes">
+      <classpath>
+        <pathelement location= "${classes.dir}"/>
+      <path refid="jars"/>
+      </classpath>
+      <formatter type="plain"/>
+      <batchtest fork="yes" todir="${log.dir}">
+        <fileset dir="${classes.dir}">
+          <include name="**/*Test*.class"/>
+        </fileset>
+      </batchtest>
+    </junit>
+  </target>
+	
+  <target name="compile" depends="generate.client">
+    <javac
+        srcdir="${gen.dir}"
+	destdir="${classes.dir}"
+	classpathref="jars"
+	failonerror="true"
+ 	source="1.4" />
+  </target>	
+	
+  <target name="generate.client" depends="dirs">
+    <antcall target="deploy.beehive.webservice.runtime" />
+    <taskdef
+        name="wsdl2java"
+        classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask"
+        loaderref="axis">
+      <classpath refid="jars"/>
+    </taskdef>
+    <wsdl2java
+        url="${wsdl.url}"
+	output="${gen.dir}"
+	testcase="yes">
+    </wsdl2java>
+  </target>
+	
+  <target name="clean">
+    <delete dir="${build.dir}" />
+    <delete dir="${log.dir}" />
+    <delete dir="${lib.dir}" />
+  </target>
+	
+  <target name="dirs">
+    <mkdir dir="${build.dir}" />
+    <mkdir dir="${gen.dir}" />
+    <mkdir dir="${classes.dir}" />
+    <mkdir dir="${log.dir}" />
+  </target>	
+
+  
+  <!-- copy all dependencies -->
+  <target name="deploy.beehive.webservice.runtime" depends="dirs">
+    <copy todir="${lib.dir}">
+      <fileset file="${beehive.home}/lib/common/*.jar" />
+      <fileset file="${beehive.home}/lib/controls/beehive-controls.jar" />
+      <fileset file="${beehive.home}/lib/wsm/*.jar" />
+    </copy>
+  </target>
+
+</project>

Propchange: incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build-client.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build-svn.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build-svn.xml?rev=169650&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build-svn.xml (added)
+++ incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build-svn.xml Wed May 11 09:03:06 2005
@@ -0,0 +1,105 @@
+<?xml version="1.0" ?>
+
+<!--
+   Copyright 2004 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.
+ 
+   $Header:$
+ -->
+
+<project name="Address Book Sample" default="build" basedir=".">
+
+  <import file="../../../../beehive-imports.xml" />
+
+  <property name="service.name" value="AddressBook" />
+
+  <property name="webapp.dir" location="../.." />
+  <property name="web.inf.dir" location="${webapp.dir}/WEB-INF" />
+  <property name="attachments.dir" location="${web.inf.dir}/attachments" />
+  <property name="classes.dir" location="${web.inf.dir}/classes" />
+  <property name="gen.dir" value="${web.inf.dir}/.tmpbeansrc" />
+  <property name="lib.dir" value="${web.inf.dir}/lib" />
+  <property name="src.dir" value="${web.inf.dir}/src" />
+  <property name="webservice.jar" value="${lib.dir}/${service.name}WS.jar" />
+  <property name="webservice.war" value="${service.name}WS.war" />
+  
+  <condition property="isJDK15">
+    <equals arg1="${ant.java.version}" arg2="1.5" />
+  </condition>
+
+  <path id="jars">
+    <fileset dir="${lib.dir}" >
+      <include name="**/*.jar" />
+    </fileset>
+  </path>
+
+  
+  <!-- ========================================= -->
+  <!-- deploy - build deployable artifact        -->
+  <!-- ========================================= -->
+  
+  <target name="deploy">
+    <antcall target="deploy.war" />
+  </target>
+
+
+  <!-- ========================================= -->
+  <!-- deploy.war - build deployable artifact    -->
+  <!-- ========================================= -->
+  
+  <target name="deploy.war">
+    <jar jarfile="../../../${webservice.war}">
+      <fileset dir="${webapp.dir}">
+        <exclude name="${src.dir}/**" />
+        <exclude name="${gen.dir}/**" />
+      </fileset>
+    </jar>
+  </target>
+  
+
+  <!-- ========================================= -->
+  <!-- build - build all binaries                -->
+  <!-- ========================================= -->
+
+  <target name="build" depends="dirs">
+    <deploy-wsm webappDir="${webapp.dir}" />
+    <build-webapp webappDir="${webapp.dir}" />
+    <jar jarfile="${webservice.jar}">
+      <fileset dir="${classes.dir}" />
+    </jar>
+  </target>
+
+  
+  <!-- ========================================= -->
+  <!-- clean - remove binary files               -->
+  <!-- ========================================= -->
+
+  <target name="clean">
+    <delete dir="${attachments.dir}" />
+    <delete dir="${lib.dir}" />
+    <delete file="velocity.log" />
+    <clean-webapp webappDir="${webapp.dir}" />
+  </target>
+
+  
+  <!-- ========================================= -->
+  <!-- dirs - create dirs required for compile   -->
+  <!-- ========================================= -->
+
+  <target name="dirs">
+    <mkdir dir="${attachments.dir}" />
+    <mkdir dir="${classes.dir}" />
+  </target>
+
+</project>

Propchange: incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build-svn.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build.properties
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build.properties?rev=169650&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build.properties (added)
+++ incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build.properties Wed May 11 09:03:06 2005
@@ -0,0 +1,4 @@
+#
+# Edit this if you have moved the sample out of BEEHIVE_HOME/samples.
+#
+beehive.home=../../../..

Propchange: incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build.xml?rev=169650&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build.xml (added)
+++ incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build.xml Wed May 11 09:03:06 2005
@@ -0,0 +1,126 @@
+<?xml version="1.0" ?>
+
+<!--
+   Copyright 2004 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.
+ 
+   $Header:$
+ -->
+
+<project name="Address Book Sample" default="build" basedir=".">
+
+  <property file="build.properties"/>
+
+  <import file="${beehive.home}/beehive-imports.xml" />
+  <import file="${beehive.home}/ant/beehive-tools.xml"/>
+
+  <property name="service.name" value="AddressBook" />
+
+  <property name="webapp.dir" location="../.." />
+  <property name="web.inf.dir" location="${webapp.dir}/WEB-INF" />
+  <property name="attachments.dir" location="${web.inf.dir}/attachments" />
+  <property name="classes.dir" location="${web.inf.dir}/classes" />
+  <property name="gen.dir" location="${web.inf.dir}/gen" />
+  <property name="lib.dir" location="${web.inf.dir}/lib" />
+  <property name="src.dir" location="${web.inf.dir}/src" />
+  <property name="webservice.jar" location="${lib.dir}/${service.name}WS.jar" />
+  <property name="webservice.war" value="${service.name}WS.war" />
+
+  <path id="lib.path">
+    <fileset dir="${lib.dir}">
+      <include name="**/*.jar" />
+    </fileset>
+  </path>
+
+  <path id="build.classpath">
+    <path refid="lib.path"/>
+    <pathelement location="${classes.dir}"/>
+  </path>
+    
+  
+  <!-- ========================================= -->
+  <!-- deploy - build deployable artifact        -->
+  <!-- ========================================= -->
+  
+  <target name="deploy">
+    <antcall target="deploy.war" />
+  </target>
+
+
+  <!-- ========================================= -->
+  <!-- deploy.war - build deployable artifact    -->
+  <!-- ========================================= -->
+  
+  <target name="deploy.war">
+    <jar jarfile="$../../../${webservice.war}">
+      <fileset dir="../..">
+        <exclude name="${src.dir}/**" />
+        <exclude name="${gen.dir}/**" />
+      </fileset>
+    </jar>
+  </target>
+  
+
+  <!-- ========================================= -->
+  <!-- build - build all binaries                -->
+  <!-- ========================================= -->
+
+  <target name="build" depends="dirs">
+    <antcall target="deploy.beehive.webservice.runtime" />
+
+      <build-webservices srcdir="${src.dir}"
+                         destdir="${classes.dir}"
+                         tempdir="${gen.dir}"
+                         classpathref="build.classpath"/>
+
+    <jar jarfile="${webservice.jar}">
+      <fileset dir="${classes.dir}" />
+    </jar>
+  </target>
+
+  
+  <!-- ========================================= -->
+  <!-- clean - remove binary files               -->
+  <!-- ========================================= -->
+
+  <target name="clean">
+    <delete dir="${attachments.dir}" />
+    <delete dir="${classes.dir}" />
+    <delete dir="${gen.dir}" />
+    <delete dir="${lib.dir}" />
+    <delete file="velocity.log" />
+  </target>
+
+  
+  <!-- ========================================= -->
+  <!-- dirs - create dirs required for compile   -->
+  <!-- ========================================= -->
+
+  <target name="dirs">
+    <mkdir dir="${attachments.dir}" />
+    <mkdir dir="${classes.dir}" />
+    <mkdir dir="${gen.dir}" />
+    <mkdir dir="${lib.dir}" />
+  </target>
+
+  <!-- copy all dependencies -->
+  <target name="deploy.beehive.webservice.runtime" depends="dirs">
+    <copy todir="${lib.dir}">
+      <fileset file="${beehive.home}/lib/common/*.jar" />
+      <fileset file="${beehive.home}/lib/controls/beehive-controls.jar" />
+      <fileset file="${beehive.home}/lib/wsm/*.jar" />
+    </copy>
+  </target>
+
+</project>

Propchange: incubator/beehive/trunk/samples/wsm-addressbook/WEB-INF/src/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build-client-svn.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build-client-svn.xml?rev=169650&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build-client-svn.xml (added)
+++ incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build-client-svn.xml Wed May 11 09:03:06 2005
@@ -0,0 +1,96 @@
+<?xml version="1.0" ?>
+
+<!--
+   Copyright 2004 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.
+ 
+   $Header:$
+ -->
+
+<project name="wsm-blank Client" basedir="." default="test">
+	
+  <import file="../../../../beehive-imports.xml" />
+
+  <property
+      name="wsdl.url" 
+      value="http://localhost:8080/blankWS/web/Blank.jws?wsdl" />
+  <property name="webapp.dir" value="../.." />
+  <property name="web.inf.dir" value="${webapp.dir}/WEB-INF" />
+  <property name="lib.dir" value="${web.inf.dir}/lib" />
+  <property name="build.dir" value="${web.inf.dir}/build-client" />
+  <property name="classes.dir" value="${build.dir}/classes" />
+  <property name="gen.dir" value="${build.dir}/gen" />
+  <property name="log.dir" value="${build.dir}/logs" />
+      
+  <path id="jars">
+    <fileset dir="${lib.dir}">
+      <include name="**/*.jar"/>
+    </fileset>
+  </path>
+	
+  <target name="test" depends="dirs,compile">
+    <junit
+        printsummary="yes"
+        haltonfailure="yes"
+        showoutput="yes">
+      <classpath>
+        <pathelement location= "${classes.dir}"/>
+      <path refid="jars"/>
+      </classpath>
+      <formatter type="plain"/>
+      <batchtest fork="yes" todir="${log.dir}">
+        <fileset dir="${classes.dir}">
+          <include name="**/*Test*.class"/>
+        </fileset>
+      </batchtest>
+    </junit>
+  </target>
+	
+  <target name="compile" depends="generate.client">
+    <javac
+        srcdir="${gen.dir}"
+	destdir="${classes.dir}"
+	classpathref="jars"
+	failonerror="true"
+ 	source="1.4" />
+  </target>	
+	
+  <target name="generate.client" depends="dirs">
+    <deploy-wsm webappDir="${webapp.dir}" />
+    <taskdef
+        name="wsdl2java"
+        classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask"
+        loaderref="axis">
+      <classpath refid="jars"/>
+    </taskdef>
+    <wsdl2java
+        url="${wsdl.url}"
+	output="${gen.dir}"
+	testcase="yes">
+    </wsdl2java>
+  </target>
+	
+  <target name="clean">
+    <delete dir="${build.dir}" />
+  </target>
+	
+  <target name="dirs">
+    <mkdir dir="${lib.dir}" />
+    <mkdir dir="${build.dir}" />
+    <mkdir dir="${classes.dir}" />
+    <mkdir dir="${gen.dir}" />
+    <mkdir dir="${log.dir}" />
+  </target>	
+
+</project>

Propchange: incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build-client-svn.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build-client.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build-client.xml?rev=169650&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build-client.xml (added)
+++ incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build-client.xml Wed May 11 09:03:06 2005
@@ -0,0 +1,109 @@
+<?xml version="1.0" ?>
+
+<!--
+   Copyright 2004 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.
+ 
+   $Header:$
+ -->
+
+<project name="Blank Sample Client" default="test" basedir=".">
+  
+  <property file="build.properties"/>
+	
+  <import file="${beehive.home}/beehive-imports.xml" />
+
+  <property
+      name="wsdl.url" 
+      value="http://localhost:8080/blankWS/web/Blank.jws?wsdl" />
+  <property name="webapp.dir" value="../.." />
+  <property name="web.inf.dir" value="${webapp.dir}/WEB-INF" />
+  <property name="build.dir" value="${web.inf.dir}/build-client" />
+  <property name="lib.dir" value="${web.inf.dir}/lib" />
+  <property name="gen.dir" value="${build.dir}/gen" />
+  <property name="classes.dir" value="${build.dir}/classes" />
+  <property name="log.dir" value="${web.inf.dir}/logs" />
+      
+  <path id="jars">
+    <fileset dir="${lib.dir}">
+      <include name="**/*.jar"/>
+    </fileset>
+  </path>
+	
+  <target name="test" depends="dirs,compile">
+    <junit
+        printsummary="yes"
+        haltonfailure="yes"
+        showoutput="yes">
+      <classpath>
+        <pathelement location= "${classes.dir}"/>
+      <path refid="jars"/>
+      </classpath>
+      <formatter type="plain"/>
+      <batchtest fork="yes" todir="${log.dir}">
+        <fileset dir="${classes.dir}">
+          <include name="**/*Test*.class"/>
+        </fileset>
+      </batchtest>
+    </junit>
+  </target>
+	
+  <target name="compile" depends="generate.client">
+    <javac
+        srcdir="${gen.dir}"
+	destdir="${classes.dir}"
+	classpathref="jars"
+	failonerror="true"
+ 	source="1.4" />
+  </target>	
+	
+  <target name="generate.client" depends="dirs">
+    <antcall target="deploy.beehive.webservice.runtime" />
+    <taskdef
+        name="wsdl2java"
+        classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask"
+        loaderref="axis">
+      <classpath refid="jars"/>
+    </taskdef>
+    <wsdl2java
+        url="${wsdl.url}"
+	output="${gen.dir}"
+	testcase="yes">
+    </wsdl2java>
+  </target>
+	
+  <target name="clean">
+    <delete dir="${build.dir}" />
+    <delete dir="${log.dir}" />
+    <delete dir="${lib.dir}" />
+  </target>
+	
+  <target name="dirs">
+    <mkdir dir="${build.dir}" />
+    <mkdir dir="${gen.dir}" />
+    <mkdir dir="${classes.dir}" />
+    <mkdir dir="${log.dir}" />
+  </target>	
+
+  
+  <!-- copy all dependencies -->
+  <target name="deploy.beehive.webservice.runtime" depends="dirs">
+    <copy todir="${lib.dir}">
+      <fileset file="${beehive.home}/lib/common/*.jar" />
+      <fileset file="${beehive.home}/lib/controls/beehive-controls.jar" />
+      <fileset file="${beehive.home}/lib/wsm/*.jar" />
+    </copy>
+  </target>
+
+</project>

Propchange: incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build-client.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build-svn.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build-svn.xml?rev=169650&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build-svn.xml (added)
+++ incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build-svn.xml Wed May 11 09:03:06 2005
@@ -0,0 +1,130 @@
+<?xml version="1.0" ?>
+
+<!--
+   Copyright 2004 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.
+ 
+   $Header:$
+ -->
+
+<project name="wsm-blank" default="build" basedir=".">
+
+  <import file="../../../../beehive-imports.xml" />
+
+  <property name="service.name" value="blank" />
+  
+  <property name="webapp.dir" location="../.." />
+  <property name="web.inf.dir" value="${webapp.dir}/WEB-INF" />
+  <property name="lib.dir" value="${web.inf.dir}/lib" />
+  <property name="src.dir" value="${web.inf.dir}/src" />
+  <property name="build.dir" value="${web.inf.dir}/build-server" />
+  <property name="attachments.dir" value="${web.inf.dir}/attachments" />
+  <property name="classes.dir" value="${web.inf.dir}/classes" />
+  <property name="gen.dir" value="${web.inf.dir}/.tmpbeansrc" />
+  <property name="webservice.jar" value="${lib.dir}/${service.name}WS.jar" />
+  <property name="webservice.war" value="${service.name}WS.war" />
+  
+  <condition property="isJDK15">
+    <equals arg1="${ant.java.version}" arg2="1.5" />
+  </condition>
+
+  <path id="jars">
+    <fileset dir="${lib.dir}" >
+      <include name="**/*.jar" />
+    </fileset>
+  </path>
+
+  
+  <!-- ========================================= -->
+  <!-- deploy - build deployable artifact        -->
+  <!-- ========================================= -->
+  
+  <target name="deploy">
+    <antcall target="deploy.war" />
+  </target>
+
+
+  <!-- ========================================= -->
+  <!-- deploy.war - build deployable artifact    -->
+  <!-- ========================================= -->
+  
+  <target name="deploy.war">
+    <jar destfile="../../../${webservice.war}">
+      <fileset dir="${webapp.dir}">
+        <exclude name="WEB-INF/classes/**" />
+        <exclude name="WEB-INF/.tmpbeansrc/**" />
+        <exclude name="WEB-INF/src/**" />
+        <exclude name="**/*build*.xml" />
+      </fileset>
+    </jar>
+  </target>
+
+
+  <!-- ========================================= -->
+  <!-- build - create jar in ${lib.dir}          -->
+  <!-- ========================================= -->
+
+  <target name="build" depends="dirs">
+    <antcall target="deploy.beehive.webservice.runtime" />
+    <antcall target="build.beehive.webservice" />
+    <jar jarfile="${webservice.jar}">
+      <fileset dir="${classes.dir}" />
+    </jar>
+  </target>
+
+  
+  <!-- ========================================= -->
+  <!-- clean - remove binary files               -->
+  <!-- ========================================= -->
+
+  <target name="clean">
+    <delete dir="${attachments.dir}" />
+    <delete dir="${build.dir}" />
+    <delete dir="${lib.dir}" />
+   <delete file="velocity.log" />
+    <clean-webapp webappDir="${webapp.dir}" />
+  </target>
+
+  
+  <!-- ========================================= -->
+  <!-- dirs - create dirs required for compile   -->
+  <!-- ========================================= -->
+
+  <target name="dirs">
+    <mkdir dir="${lib.dir}" />
+    <mkdir dir="${build.dir}" />
+    <mkdir dir="${attachments.dir}" />
+    <mkdir dir="${classes.dir}" />
+    <mkdir dir="${gen.dir}" />
+  </target>
+
+
+  <!-- ========================================= -->
+  <!-- deploy.beehive.webservice.runtime -       -->
+  <!-- ========================================= -->
+
+  <target name="deploy.beehive.webservice.runtime">
+    <deploy-wsm webappDir="${webapp.dir}" />
+  </target>
+
+
+  <!-- ========================================= -->
+  <!-- build.beehive.webservice -                -->
+  <!-- ========================================= -->
+
+  <target name="build.beehive.webservice">
+    <build-webapp webappDir="${webapp.dir}" />
+  </target>
+
+</project>

Propchange: incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build-svn.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build.properties
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build.properties?rev=169650&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build.properties (added)
+++ incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build.properties Wed May 11 09:03:06 2005
@@ -0,0 +1,5 @@
+#
+# Edit this if you have moved the sample out of BEEHIVE_HOME/samples.
+#
+beehive.home=../../../..
+

Propchange: incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build.xml?rev=169650&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build.xml (added)
+++ incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build.xml Wed May 11 09:03:06 2005
@@ -0,0 +1,123 @@
+<?xml version="1.0" ?>
+
+<!--
+   Copyright 2004 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.
+ 
+   $Header:$
+ -->
+
+<project name="Blank Sample" default="build" basedir=".">
+  
+  <property file="build.properties"/>
+
+  <import file="${beehive.home}/beehive-imports.xml" />
+  <import file="${beehive.home}/ant/beehive-tools.xml" />
+
+  <property name="service.name" value="blank" />
+
+  <property name="webapp.dir" location="../.." />
+  <property name="web.inf.dir" location="${webapp.dir}/WEB-INF" />
+  <property name="attachments.dir" location="${web.inf.dir}/attachments" />
+  <property name="classes.dir" location="${web.inf.dir}/classes" />
+  <property name="gen.dir" location="${web.inf.dir}/gen" />
+  <property name="lib.dir" location="${web.inf.dir}/lib" />
+  <property name="src.dir" location="${web.inf.dir}/src" />
+  <property name="webservice.jar" value="${lib.dir}/${service.name}WS.jar" />
+  <property name="webservice.war" value="${service.name}WS.war" />
+
+  <path id="lib.path">
+    <fileset dir="${lib.dir}">
+      <include name="**/*.jar" />
+    </fileset>
+  </path>
+
+  <path id="build.classpath">
+    <path refid="lib.path"/>
+    <pathelement location="${classes.dir}"/>
+  </path>
+    
+  
+  <!-- ========================================= -->
+  <!-- deploy - build deployable artifact        -->
+  <!-- ========================================= -->
+  
+  <target name="deploy">
+    <antcall target="deploy.war" />
+  </target>
+
+
+  <!-- ========================================= -->
+  <!-- deploy.war - build deployable artifact    -->
+  <!-- ========================================= -->
+  
+  <target name="deploy.war">
+    <jar jarfile="../../../${webservice.war}">
+      <fileset dir="../..">
+        <exclude name="${src.dir}/**" />
+        <exclude name="${gen.dir}/**" />
+      </fileset>
+    </jar>
+  </target>
+  
+
+  <!-- ========================================= -->
+  <!-- build - build all binaries                -->
+  <!-- ========================================= -->
+
+  <target name="build" depends="dirs">
+    <antcall target="deploy.beehive.webservice.runtime" />
+     <build-webservices srcdir="${src.dir}"
+                        destdir="${classes.dir}"
+                        tempdir="${gen.dir}"
+                        classpathref="build.classpath"/>
+    <jar jarfile="${webservice.jar}">
+      <fileset dir="${classes.dir}" />
+    </jar>
+  </target>
+
+  
+  <!-- ========================================= -->
+  <!-- clean - remove binary files               -->
+  <!-- ========================================= -->
+
+  <target name="clean">
+    <delete dir="${attachments.dir}" />
+    <delete dir="${classes.dir}" />
+    <delete dir="${gen.dir}" />
+    <delete dir="${lib.dir}" />
+    <delete file="velocity.log" />
+  </target>
+
+  
+  <!-- ========================================= -->
+  <!-- dirs - create dirs required for compile   -->
+  <!-- ========================================= -->
+
+  <target name="dirs">
+    <mkdir dir="${attachments.dir}" />
+    <mkdir dir="${classes.dir}" />
+    <mkdir dir="${gen.dir}" />
+    <mkdir dir="${lib.dir}" />
+  </target>
+
+  <!-- copy all dependencies -->
+  <target name="deploy.beehive.webservice.runtime" depends="dirs">
+    <copy todir="${lib.dir}">
+      <fileset file="${beehive.home}/lib/common/*.jar" />
+      <fileset file="${beehive.home}/lib/controls/beehive-controls.jar" />
+      <fileset file="${beehive.home}/lib/wsm/*.jar" />
+    </copy>
+  </target>
+</project>

Propchange: incubator/beehive/trunk/samples/wsm-blank/WEB-INF/src/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/wsm-employee/WEB-INF/src/build-client-svn.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-employee/WEB-INF/src/build-client-svn.xml?rev=169650&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/wsm-employee/WEB-INF/src/build-client-svn.xml (added)
+++ incubator/beehive/trunk/samples/wsm-employee/WEB-INF/src/build-client-svn.xml Wed May 11 09:03:06 2005
@@ -0,0 +1,98 @@
+<?xml version="1.0" ?>
+
+<!--
+   Copyright 2004 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.
+ 
+   $Header:$
+ -->
+
+<project name="Employee Sample Client" basedir="." default="test">
+	
+  <import file="../../../../beehive-imports.xml" />
+
+  <property
+      name="wsdl.url" 
+      value="http://localhost:8080/EmployeeWS/web/Service.jws?wsdl" />
+  <property name="webapp.dir" value="../.." />
+  <property name="web.inf.dir" value="${webapp.dir}/WEB-INF" />
+  <property name="lib.dir" value="${web.inf.dir}/lib" />
+  <property name="build.dir" value="${web.inf.dir}/build-client" />
+  <property name="log.dir" value="${web.inf.dir}/logs" />
+  <property name="gen.dir" value="${build.dir}/gen" />
+  <property name="classes.dir" value="${build.dir}/classes" />
+      
+  <path id="jars">
+    <fileset dir="${lib.dir}">
+      <include name="**/*.jar"/>
+    </fileset>
+  </path>
+	
+  <target name="test" depends="dirs,compile">
+    <junit
+        printsummary="yes"
+        haltonfailure="yes"
+        showoutput="yes">
+      <classpath>
+        <pathelement location= "${classes.dir}"/>
+      <path refid="jars"/>
+      </classpath>
+      <formatter type="plain"/>
+      <batchtest fork="yes" todir="${log.dir}">
+        <fileset dir="${classes.dir}">
+          <include name="**/*Test*.class"/>
+        </fileset>
+      </batchtest>
+    </junit>
+  </target>
+	
+  <target name="compile" depends="genClient">
+    <javac
+        srcdir="${gen.dir}"
+	destdir="${classes.dir}"
+	classpathref="jars"
+	failonerror="true"
+ 	source="1.4" />
+  </target>	
+	
+  <target name="genClient" depends="dirs">
+    <deploy-wsm webappDir="${webapp.dir}" />
+    <taskdef
+        name="wsdl2java"
+        classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask"
+        loaderref="axis">
+      <classpath refid="jars"/>
+    </taskdef>
+    <wsdl2java
+        url="${wsdl.url}"
+	output="${gen.dir}"
+	testcase="yes">
+    </wsdl2java>
+  </target>
+	
+  <target name="clean">
+    <delete dir="${classes.dir}" />
+    <delete dir="${gen.dir}" />
+    <delete dir="${log.dir}" />
+    <delete dir="${lib.dir}" />
+  </target>
+	
+  <target name="dirs">
+    <mkdir dir="${build.dir}" />
+    <mkdir dir="${gen.dir}" />
+    <mkdir dir="${classes.dir}" />
+    <mkdir dir="${log.dir}" />
+  </target>	
+
+</project>

Propchange: incubator/beehive/trunk/samples/wsm-employee/WEB-INF/src/build-client-svn.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/wsm-employee/WEB-INF/src/build-client.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-employee/WEB-INF/src/build-client.xml?rev=169650&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/wsm-employee/WEB-INF/src/build-client.xml (added)
+++ incubator/beehive/trunk/samples/wsm-employee/WEB-INF/src/build-client.xml Wed May 11 09:03:06 2005
@@ -0,0 +1,109 @@
+<?xml version="1.0" ?>
+
+<!--
+   Copyright 2004 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.
+ 
+   $Header:$
+ -->
+
+<project name="Employee Database Sample Client" default="test" basedir=".">
+  
+  <property file="build.properties"/>
+	
+  <import file="${beehive.home}/beehive-imports.xml" />
+
+  <property
+      name="wsdl.url" 
+      value="http://localhost:8080/EmployeeWS/web/Service.jws?wsdl" />
+  <property name="webapp.dir" value="../.." />
+  <property name="web.inf.dir" value="${webapp.dir}/WEB-INF" />
+  <property name="build.dir" value="${web.inf.dir}/build-client" />
+  <property name="lib.dir" value="${web.inf.dir}/lib" />
+  <property name="gen.dir" value="${build.dir}/gen" />
+  <property name="classes.dir" value="${build.dir}/classes" />
+  <property name="log.dir" value="${web.inf.dir}/logs" />
+      
+  <path id="jars">
+    <fileset dir="${lib.dir}">
+      <include name="**/*.jar"/>
+    </fileset>
+  </path>
+	
+  <target name="test" depends="dirs,compile">
+    <junit
+        printsummary="yes"
+        haltonfailure="yes"
+        showoutput="yes">
+      <classpath>
+        <pathelement location= "${classes.dir}"/>
+      <path refid="jars"/>
+      </classpath>
+      <formatter type="plain"/>
+      <batchtest fork="yes" todir="${log.dir}">
+        <fileset dir="${classes.dir}">
+          <include name="**/*Test*.class"/>
+        </fileset>
+      </batchtest>
+    </junit>
+  </target>
+	
+  <target name="compile" depends="generate.client">
+    <javac
+        srcdir="${gen.dir}"
+	destdir="${classes.dir}"
+	classpathref="jars"
+	failonerror="true"
+ 	source="1.4" />
+  </target>	
+	
+  <target name="generate.client" depends="dirs">
+    <antcall target="deploy.beehive.webservice.runtime" />
+    <taskdef
+        name="wsdl2java"
+        classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask"
+        loaderref="axis">
+      <classpath refid="jars"/>
+    </taskdef>
+    <wsdl2java
+        url="${wsdl.url}"
+	output="${gen.dir}"
+	testcase="yes">
+    </wsdl2java>
+  </target>
+	
+  <target name="clean">
+    <delete dir="${build.dir}" />
+    <delete dir="${log.dir}" />
+    <delete dir="${lib.dir}" />
+  </target>
+	
+  <target name="dirs">
+    <mkdir dir="${build.dir}" />
+    <mkdir dir="${gen.dir}" />
+    <mkdir dir="${classes.dir}" />
+    <mkdir dir="${log.dir}" />
+  </target>	
+
+  
+  <!-- copy all dependencies -->
+  <target name="deploy.beehive.webservice.runtime" depends="dirs">
+    <copy todir="${lib.dir}">
+      <fileset file="${beehive.home}/lib/common/*.jar" />
+      <fileset file="${beehive.home}/lib/controls/beehive-controls.jar" />
+      <fileset file="${beehive.home}/lib/wsm/*.jar" />
+    </copy>
+  </target>
+
+</project>

Propchange: incubator/beehive/trunk/samples/wsm-employee/WEB-INF/src/build-client.xml
------------------------------------------------------------------------------
    svn:eol-style = native