Author: mmerz
Date: Thu Oct 28 16:04:27 2004
New Revision: 55905
Added:
incubator/beehive/branches/v1/alpha/wsm/src/webapp-template/
- copied from rev 55899,
incubator/beehive/branches/v1/alpha/wsm/webservice-template/
incubator/beehive/branches/v1/alpha/wsm/src/webapp-template/default/WEB-INF/src/log4j.properties
- copied unchanged from rev 55899,
incubator/beehive/branches/v1/alpha/wsm/webservice-template/default/WEB-INF/lib/log4j.properties
incubator/beehive/branches/v1/alpha/wsm/src/webapp-template/default/WEB-INF/src/template/
incubator/beehive/branches/v1/alpha/wsm/src/webapp-template/default/WEB-INF/src/template/Blank.java
Removed:
incubator/beehive/branches/v1/alpha/wsm/src/webapp-template/default/Foo.jws
incubator/beehive/branches/v1/alpha/wsm/src/webapp-template/default/WEB-INF/lib/
incubator/beehive/branches/v1/alpha/wsm/webservice-template/
Modified:
incubator/beehive/branches/v1/alpha/wsm/build.xml
Log:
Beehive/WSM template.
Modified: incubator/beehive/branches/v1/alpha/wsm/build.xml
==============================================================================
--- incubator/beehive/branches/v1/alpha/wsm/build.xml (original)
+++ incubator/beehive/branches/v1/alpha/wsm/build.xml Thu Oct 28 16:04:27 2004
@@ -27,8 +27,8 @@
<property name="jars.dir" value="${build.dir}/jars"/>
<property name="docs.dir" value="${build.dir}/docs"/>
<property name="wsm.dist.dir" value="${build.dir}/dist"/>
- <property name="webapp.dir" value="${wsm.dist.dir}/webapp" />
- <property name="template.dir" value="webservice-template/default" />
+ <property name="webapp.dist.dir" value="${wsm.dist.dir}/webapp" />
+ <property name="template.dir" value="src/webapp-template/default" />
<property name="api.dir" value="src/api"/>
<property name="api.classes" value="${classes.dir}/api"/>
<property name="runtime.dir" value="src/runtime"/>
@@ -227,10 +227,21 @@
<echo message="--------------------------------------------------"/>
<echo message="| WSM deploy starting |"/>
<echo message="--------------------------------------------------"/>
- <mkdir dir="${webapp.dir}"/>
- <copy todir="${webapp.dir}">
- <!-- the template -->
+ <mkdir dir="${webapp.dist.dir}"/>
+ <!-- the template -->
+ <copy todir="${webapp.dist.dir}">
<fileset dir="${template.dir}" includes="**" />
+ </copy>
+ <!-- Axis files -->
+ <copy todir="${webapp.dist.dir}/WEB-INF/lib">
+ <fileset dir="${ext.lib.dir}">
+ <include name="axis.jar"/>
+ <include name="axis-ant.jar"/>
+ <include name="jaxrpc.jar"/>
+ <include name="saaj.jar"/>
+ <include name="wsdl4j.jar"/>
+ <include name="commons-discovery.jar"/>
+ </fileset>
</copy>
<echo message="--------------------------------------------------"/>
<echo message="| WSM deploy ending |"/>
Added:
incubator/beehive/branches/v1/alpha/wsm/src/webapp-template/default/WEB-INF/src/template/Blank.java
==============================================================================
--- (empty file)
+++
incubator/beehive/branches/v1/alpha/wsm/src/webapp-template/default/WEB-INF/src/template/Blank.java
Thu Oct 28 16:04:27 2004
@@ -0,0 +1,30 @@
+package template;
+
+/*
+ * Copyright 2001-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.
+ */
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
[EMAIL PROTECTED]
+public class Blank
+{
+ @WebMethod
+ public String sayHelloWorld()
+ {
+ return "Hello world!";
+ }
+}