Author: jruzzi
Date: Wed Jul 27 09:46:02 2005
New Revision: 225552
URL: http://svn.apache.org/viewcvs?rev=225552&view=rev
Log: (empty)
Added:
webservices/muse/trunk/src/examples/filesystem/build.properties
webservices/muse/trunk/src/examples/filesystem/build.xml
webservices/muse/trunk/src/examples/filesystem/lib/
webservices/muse/trunk/src/examples/filesystem/lib/FileSystem-xbeans.jar
(with props)
webservices/muse/trunk/src/examples/filesystem/lib/Host-xbeans.jar (with
props)
Added: webservices/muse/trunk/src/examples/filesystem/build.properties
URL:
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/filesystem/build.properties?rev=225552&view=auto
==============================================================================
--- webservices/muse/trunk/src/examples/filesystem/build.properties (added)
+++ webservices/muse/trunk/src/examples/filesystem/build.properties Wed Jul 27
09:46:02 2005
@@ -0,0 +1,14 @@
+# NOTE: This file is generated, but is meant to be modified.
+# It will NOT be overwritten by subsequent runs of Wsdl2Java.
+
+endpoint.url = http://localhost:8080/muse/services/filesystem
+
+# Uncomment and modify the below lines if you would like to deploy to a
+# webapp located somewhere other than the default location of
+# ../webapps/muse (e.g. \${env.CATALINA_HOME}/webapps/muse )
+muse.webapp.dir =${env.CATALINA_HOME}/webapps/muse
+
+# Uncomment and modify the below lines if you require a proxy to connect to
external web sites.
+#http.proxyHost = proxy.xyz.com
+#http.proxyPort = 8088
+#http.nonProxyHosts = localhost
Added: webservices/muse/trunk/src/examples/filesystem/build.xml
URL:
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/filesystem/build.xml?rev=225552&view=auto
==============================================================================
--- webservices/muse/trunk/src/examples/filesystem/build.xml (added)
+++ webservices/muse/trunk/src/examples/filesystem/build.xml Wed Jul 27
09:46:02 2005
@@ -0,0 +1,129 @@
+<?xml version="1.0"?>
+
+<project name="Filesystem_buildfile" default="usage" basedir=".">
+
+ <property environment="env" />
+ <property file="build.properties" />
+ <property file="../../build.properties" />
+ <property file="../build.properties" />
+
+ <!-- workaround for those IDEs that dont set ant.home as per the ant script
-->
+ <property name="ant.home" value="env.ANT_HOME"/>
+
+ <property name="classes.dir" location="classes" />
+ <property name="jar.dir" location="lib" />
+ <property name="src.dir" location="src/java" />
+ <property name="fileststem.wsdl.file"
location="src/wsdl/FileSystem.wsdl" />
+ <property name="host.wsdl.file" location="src/wsdl/Host.wsdl" />
+
+ <target name="init" unless="Filesystem.classpath">
+
+ <fail message="Please set the location of the muse.webapp.dir in
build.properties" unless="muse.webapp.dir" />
+ <echo>Using webapp dir: ${muse.webapp.dir}</echo>
+ <path id="Filesystem.classpath.id">
+ <pathelement location="${muse.webapp.dir}/WEB-INF/classes" />
+ <fileset dir="${muse.webapp.dir}/WEB-INF/lib" includes="*.jar" />
+ <fileset dir="${jar.dir}" />
+ <pathelement location="${activation.jar}" />
+ <pathelement location="${mail.jar}" />
+ </path>
+ <property name="Filesystem.classpath" refid="Filesystem.classpath.id" />
+
+ </target>
+
+ <target name="compile"
+ depends="init"
+ description="compile all classes below classes directory">
+ <mkdir dir="${classes.dir}" />
+ <javac srcdir="${src.dir}"
+ destdir="${classes.dir}"
+ classpathref="Filesystem.classpath.id"
+ debug="on"
+ excludes="xmlbeans/**"/>
+ <copy todir="${classes.dir}">
+ <fileset dir="${src.dir}" excludes="**/*.java,**/package.html" />
+ </copy>
+ </target>
+
+ <target name="deploy"
+ depends="deploy_filesystem, deploy_host"
+ description="deploys both the filesystem and host services">
+ <echo>Deploy complete.</echo>
+ </target>
+
+ <target name="deploy_filesystem"
+ depends="init"
+ description="deploys the Filesystem service to the
${muse.webapp.dir} webapp">
+
+ <copy file="${fileststem.wsdl.file}"
todir="${muse.webapp.dir}/WEB-INF/classes/wsdl" overwrite="true" verbose="true"
/>
+ <echo>Deploying Filesystem classes to
${muse.webapp.dir}/WEB-INF/classes/...</echo>
+ <copy todir="${muse.webapp.dir}/WEB-INF/classes">
+ <fileset dir="${classes.dir}" />
+ </copy>
+
+ <copy file="${jar.dir}/FileSystem-xbeans.jar"
todir="${muse.webapp.dir}/WEB-INF/lib" />
+ <!-- update server-config.wsdd using WsddUpdater -->
+ <taskdef name="wsddUpdater"
classname="org.apache.ws.util.platform.axis.tool.WsddUpdater"
classpathref="Filesystem.classpath.id" />
+ <property name="config.wsdd"
location="${muse.webapp.dir}/WEB-INF/server-config.wsdd" /> <!-- normalize
path -->
+ <wsddUpdater configWsdd="${config.wsdd}">
+ <wsddPaths dir="${src.dir}" includes="**/Filesystem_deploy.wsdd" />
+ </wsddUpdater>
+
+ <!-- update jndi-config.wsdd using JndiConfigUpdater -->
+ <taskdef name="jndiUpdater"
classname="org.apache.ws.util.jndi.tools.JndiConfigUpdater"
classpathref="Filesystem.classpath.id" />
+ <property name="jndi.config"
location="${muse.webapp.dir}/WEB-INF/classes/jndi-config.xml" /> <!--
normalize path -->
+ <jndiUpdater jndiConfig="${jndi.config}">
+ <jndiConfigPaths dir="${src.dir}"
includes="**/Filesystem_jndi-config.xml" />
+ </jndiUpdater>
+
+ </target>
+
+ <target name="deploy_host"
+ depends="init, deploy_filesystem"
+ description="deploys the Host service to the ${muse.webapp.dir}
webapp">
+
+ <copy file="${host.wsdl.file}"
todir="${muse.webapp.dir}/WEB-INF/classes/wsdl" overwrite="true" verbose="true"
/>
+ <echo>Deploying Host classes to
${muse.webapp.dir}/WEB-INF/classes/...</echo>
+ <copy todir="${muse.webapp.dir}/WEB-INF/classes">
+ <fileset dir="${classes.dir}" />
+ </copy>
+
+ <copy file="${jar.dir}/Host-xbeans.jar"
todir="${muse.webapp.dir}/WEB-INF/lib" />
+ <!-- update server-config.wsdd using WsddUpdater -->
+ <taskdef name="wsddUpdater"
classname="org.apache.ws.util.platform.axis.tool.WsddUpdater"
classpathref="Filesystem.classpath.id" />
+ <property name="config.wsdd"
location="${muse.webapp.dir}/WEB-INF/server-config.wsdd" /> <!-- normalize
path -->
+ <wsddUpdater configWsdd="${config.wsdd}">
+ <wsddPaths dir="${src.dir}" includes="**/Host_deploy.wsdd" />
+ </wsddUpdater>
+
+ <!-- update jndi-config.wsdd using JndiConfigUpdater -->
+ <taskdef name="jndiUpdater"
classname="org.apache.ws.util.jndi.tools.JndiConfigUpdater"
classpathref="Filesystem.classpath.id" />
+ <property name="jndi.config"
location="${muse.webapp.dir}/WEB-INF/classes/jndi-config.xml" /> <!--
normalize path -->
+ <jndiUpdater jndiConfig="${jndi.config}">
+ <jndiConfigPaths dir="${src.dir}"
includes="**/Host_jndi-config.xml" />
+ </jndiUpdater>
+
+ </target>
+
+ <target name="sendRequest"
+ description="sends a request to the Filesystem service">
+
+ <ant antfile="soapclient.xml">
+ <property name="url" value="${endpoint.url}" />
+ </ant>
+
+ </target>
+
+ <target name="clean" description="delete the generated source and class
files">
+ <delete dir="${classes.dir}" />
+ </target>
+
+ <target name="usage">
+ <java classname="org.apache.tools.ant.Main">
+ <arg value="-buildfile" />
+ <arg value="${ant.file}" />
+ <arg value="-projecthelp" />
+ </java>
+ </target>
+
+</project>
Added: webservices/muse/trunk/src/examples/filesystem/lib/FileSystem-xbeans.jar
URL:
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/filesystem/lib/FileSystem-xbeans.jar?rev=225552&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
webservices/muse/trunk/src/examples/filesystem/lib/FileSystem-xbeans.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/muse/trunk/src/examples/filesystem/lib/Host-xbeans.jar
URL:
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/filesystem/lib/Host-xbeans.jar?rev=225552&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/muse/trunk/src/examples/filesystem/lib/Host-xbeans.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]