Author: heiko.braun(a)jboss.com
Date: 2007-01-18 10:47:49 -0500 (Thu, 18 Jan 2007)
New Revision: 1998
Added:
trunk/jbossws-core/src/main/resources/samples/jaxws/wseventing/
trunk/jbossws-core/src/main/resources/samples/jaxws/wseventing/build.xml
Removed:
trunk/jbossws-core/src/main/resources/samples/jaxrpc/wseventing/
Log:
update samples build for eventing
Added: trunk/jbossws-core/src/main/resources/samples/jaxws/wseventing/build.xml
===================================================================
--- trunk/jbossws-core/src/main/resources/samples/jaxws/wseventing/build.xml
(rev 0)
+++ trunk/jbossws-core/src/main/resources/samples/jaxws/wseventing/build.xml 2007-01-18
15:47:49 UTC (rev 1998)
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id:build.xml 1125 2006-10-03 15:45:31Z thomas.diesler(a)jboss.com $ -->
+
+<project default="main" basedir="../.." name="JBossWS
Examples">
+
+ <property name="chapter" value="jaxws/wseventing"/>
+ <property name="sample.path"
value="jaxws/samples/wseventing"/>
+ <property name="java.dir"
value="${basedir}/${chapter}/java"/>
+ <property name="resources.dir"
value="${basedir}/${chapter}/resources"/>
+
+ <import file="${basedir}/common/imported-build.xml"/>
+
+ <target name="generate-sources" depends="compile"
description="Generate the deployment resources.">
+
+ <!-- Define a taskdef for the wstools ant task -->
+ <taskdef name="wstools"
classname="org.jboss.ws.tools.ant.wstools">
+ <classpath refid="compile.classpath"/>
+ <classpath path="${build.tests.dir}/classes"/>
+ <classpath path="${build.tests.dir}"/>
+ </taskdef>
+
+
+ </target>
+
+ <!--
+ Build the test deployments
+ -->
+ <target name="jars"
depends="compile,copy-resources,generate-sources,compile-generated,copy-generated"
description="build the deployments">
+ <!-- jaxws-samples-wseventing.war -->
+ <war warfile="${build.tests.dir}/libs/jaxws-samples-wseventing.war"
+
webxml="${build.tests.dir}/resources/jaxws/samples/wseventing/WEB-INF/web.xml">
+ <classes dir="${build.tests.dir}/classes">
+ <include
name="org/jboss/test/ws/jaxws/samples/wseventing/*.class"/>
+ </classes>
+ <webinf
dir="${build.tests.dir}/resources/jaxws/samples/wseventing/WEB-INF">
+ <include name="wsdl/jboss-web.xml"/>
+ <include name="wsdl/sysmon.wsdl"/>
+ <include name="wsdl/ws-eventing.wsdl"/>
+ <include name="wsdl/ws-eventing.xsd"/>
+ <include name="wsdl/ws-addr.xsd"/>
+ </webinf>
+ </war>
+ </target>
+
+ <!--
+ Run the testsuite
+ -->
+ <target name="tests" depends="jars" description="run the
testsuite">
+ <antcall target="test">
+ <param name="test" value="${sample.path}"/>
+ </antcall>
+ </target>
+
+</project>
\ No newline at end of file
Show replies by date