Author: scamp
Date: Fri Mar 25 14:23:44 2005
New Revision: 159071
URL: http://svn.apache.org/viewcvs?view=rev&rev=159071
Log: (empty)
Added:
incubator/muse/trunk/src/site/content/interop/test-build.properties
incubator/muse/trunk/src/site/content/interop/test.xml
Modified:
incubator/muse/trunk/maven.xml
incubator/muse/trunk/project.xml
Modified: incubator/muse/trunk/maven.xml
URL:
http://svn.apache.org/viewcvs/incubator/muse/trunk/maven.xml?view=diff&r1=159070&r2=159071
==============================================================================
--- incubator/muse/trunk/maven.xml (original)
+++ incubator/muse/trunk/maven.xml Fri Mar 25 14:23:44 2005
@@ -52,14 +52,14 @@
<property name="forrest.ant.home"
location="${forrest.install.dir}/tools/ant" />
<!-- extract disk.wsdl from disk-types jar -->
- <mkdir dir="${basedir}/src/site/content/tutorial/disk/src/wsdl" />
+<!-- <mkdir dir="${basedir}/src/site/content/tutorial/disk/src/wsdl" />
<echo>Expanding disk.wsdl from jar ${diskjar}</echo>
<unjar src="${diskjar}"
dest="${basedir}/src/site/content/tutorial/disk/src/">
<patternset>
<include name="wsdl/disk.wsdl"/>
</patternset>
</unjar>
-
+
<java classname="org.apache.tools.ant.Main"
fork="true"
failonerror="true"
@@ -84,10 +84,10 @@
<include name="apidocs/**" />
</fileset>
</copy>
-
+-->
<!-- delete disk.wsdl from src dir -->
- <delete
file="${basedir}/src/site/content/tutorial/disk/src/wsdl/disk.wsdl" />
-
+<!-- <delete
file="${basedir}/src/site/content/tutorial/disk/src/wsdl/disk.wsdl" />
+ -->
</goal>
<!-- ================================================================== -->
Modified: incubator/muse/trunk/project.xml
URL:
http://svn.apache.org/viewcvs/incubator/muse/trunk/project.xml?view=diff&r1=159070&r2=159071
==============================================================================
--- incubator/muse/trunk/project.xml (original)
+++ incubator/muse/trunk/project.xml Fri Mar 25 14:23:44 2005
@@ -201,6 +201,68 @@
<usage>Needed by Axis.</usage>
</properties>
</dependency>
+
+ <dependency>
+ <groupId>commons-digester</groupId>
+ <artifactId>commons-digester</artifactId>
+ <version>1.6</version>
+ <url>http://jakarta.apache.org/commons/digester/</url>
+ <properties>
+ <license>ApacheLicense-2.0.txt</license>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>1.0</version>
+ <url>http://jakarta.apache.org/commons/io/</url>
+ <properties>
+ <license>ApacheLicense-2.0.txt</license>
+ <usage>Needed for general IO operations.</usage>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>incubator-directory</groupId>
+ <artifactId>naming-core</artifactId>
+ <version>0.8</version>
+ <url>http://incubator.apache.org/directory/subprojects/naming/</url>
+ <properties>
+ <license>ApacheLicense-2.0.txt</license>
+ <scope>runtime-only</scope>
+ <usage>Provides an in-memory JNDI provider.</usage>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>incubator-directory</groupId>
+ <artifactId>naming-factory</artifactId>
+ <version>0.8</version>
+ <url>http://incubator.apache.org/directory/subprojects/naming/</url>
+ <properties>
+ <license>ApacheLicense-2.0.txt</license>
+ <scope>runtime-only</scope>
+ <usage>Provides an in-memory JNDI provider.</usage>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>incubator-directory</groupId>
+ <artifactId>naming-java</artifactId>
+ <version>0.8</version>
+ <url>http://incubator.apache.org/directory/subprojects/naming/</url>
+ <properties>
+ <license>ApacheLicense-2.0.txt</license>
+ <scope>runtime, test</scope>
+ <usage>Provides an in-memory JNDI provider.</usage>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
<dependency>
<groupId>commons-httpclient</groupId>
Added: incubator/muse/trunk/src/site/content/interop/test-build.properties
URL:
http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/interop/test-build.properties?view=auto&rev=159071
==============================================================================
--- incubator/muse/trunk/src/site/content/interop/test-build.properties (added)
+++ incubator/muse/trunk/src/site/content/interop/test-build.properties Fri Mar
25 14:23:44 2005
@@ -0,0 +1,16 @@
+##
+# The endpoint url of the Printer Factory. This is the starting point for the
tests.
+#
+# ***NOTE: To test an external endpoint this should be set to that server's
url.
+# **If running in embedded mode then the printerFactoryURL is ignored
+#
+##
+printerFactoryURL=http://wsi.alphaworks.ibm.com:80/ettk/wsrfrpio/services/PrinterPort
+
+##
+# Determines if the unit test will run an embedded version of Axis
+# to load the server and handle requests
+#
+# ***NOTE: To test an external endpoint this should be set to false
+##
+runAxis=true
\ No newline at end of file
Added: incubator/muse/trunk/src/site/content/interop/test.xml
URL:
http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/interop/test.xml?view=auto&rev=159071
==============================================================================
--- incubator/muse/trunk/src/site/content/interop/test.xml (added)
+++ incubator/muse/trunk/src/site/content/interop/test.xml Fri Mar 25 14:23:44
2005
@@ -0,0 +1,101 @@
+<?xml version="1.0"?>
+
+<project name="interop_testfile" default="usage" basedir=".">
+
+ <property environment="env" />
+ <property file="build.properties" />
+ <property file="test-build.properties" />
+
+ <property name="jar.dir" location="${basedir}\lib" />
+ <property name="test.classes.dir" location="${basedir}\test-classes" />
+ <property name="test.dir" location="${basedir}\src\test" />
+ <property name="test.reports.dir" location="${basedir}\test-reports" />
+
+
+
+ <target name="init" unless="muse.classpath">
+
+ <fail message="Please set the location of the wsdm.webapp.dir in
build.properties" unless="wsdm.webapp.dir" />
+ <echo>Using webapp dir: ${wsdm.webapp.dir}</echo>
+
+ <path id="muse.classpath.id">
+ <pathelement location="${basedir}/classes" />
+ <pathelement location="${wsdm.webapp.dir}/WEB-INF/classes" />
+ <fileset dir="${wsdm.webapp.dir}/WEB-INF/lib" includes="*.jar" />
+ <fileset dir="${jar.dir}" />
+ <pathelement location="${activation.jar}" />
+ <pathelement location="${mail.jar}" />
+ </path>
+ <property name="muse.classpath" refid="muse.classpath.id" />
+ <mkdir dir="${test.reports.dir}" />
+ </target>
+
+
+ <target name="server" depends="compile-tests" description="Runs a complete
WSDM Interop set of Acts">
+ <junit fork="no" printsummary="yes" haltonfailure="no">
+ <classpath>
+ <pathelement location="${test.classes.dir}"/>
+ <pathelement path="${muse.classpath}"/>
+ </classpath>
+ <formatter type="plain"/>
+ <test name="org.apache.ws.muws.interop.client.ServerMgmtTestCase"
todir="${test.reports.dir}">
+ <formatter type="xml"/>
+ </test>
+ </junit>
+ </target>
+
+ <target name="small" depends="compile-tests" description="Runs a complete
WSDM Interop set of Acts">
+ <junit fork="no" printsummary="yes" haltonfailure="no">
+ <classpath>
+ <pathelement location="${test.classes.dir}"/>
+ <pathelement path="${muse.classpath}"/>
+ </classpath>
+ <formatter type="plain"/>
+ <test name="org.apache.ws.muws.interop.client.SmallDeviceMgmtTestCase"
todir="${test.reports.dir}">
+ <formatter type="xml"/>
+ </test>
+ </junit>
+ </target>
+
+ <target name="ws" depends="compile-tests" description="Runs a complete WSDM
Interop set of Acts">
+ <junit fork="no" printsummary="yes" haltonfailure="no">
+ <sysproperty key="runAxis" value="${runAxis}"/>
+ <classpath>
+ <pathelement location="${test.classes.dir}"/>
+ <pathelement path="${muse.classpath}"/>
+ </classpath>
+ <formatter type="plain"/>
+ <test name="org.apache.ws.muws.interop.client.WebServicesMgmtTestCase"
todir="${test.reports.dir}">
+ <formatter type="xml"/>
+ </test>
+ </junit>
+ </target>
+
+
+ <target name="compile-tests" depends="init" unless="tests.compiled">
+ <mkdir dir="${test.classes.dir}" />
+ <javac srcdir="${test.dir}"
+ destdir="${test.classes.dir}"
+ classpathref="muse.classpath.id"
+ debug="on"
+ />
+ <copy todir="${test.classes.dir}">
+ <fileset dir="${test.dir}" excludes="**/*.java,**/package.html"
/>
+ </copy>
+ <property name="tests.compiled" value="true" />
+ </target>
+
+ <target name="usage">
+ <java classname="org.apache.tools.ant.Main">
+ <arg value="-buildfile" />
+ <arg value="${ant.file}" />
+ <arg value="-projecthelp" />
+ </java>
+ </target>
+
+ <target name="clean" description="delete the class files and generated
reports">
+ <delete dir="${test.classes.dir}" />
+ <delete dir="${test.reports.dir}" />
+ </target>
+
+</project>
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]