Author: thomas.diesler(a)jboss.com
Date: 2007-05-25 12:20:35 -0400 (Fri, 25 May 2007)
New Revision: 3260
Added:
trunk/integration/xfire/src/main/etc/bindist-build.xml
Modified:
trunk/integration/xfire/src/main/etc/
Log:
Fix bindist
Property changes on: trunk/integration/xfire/src/main/etc
___________________________________________________________________
Name: svn:ignore
- bindist-build.xml
Added: trunk/integration/xfire/src/main/etc/bindist-build.xml
===================================================================
--- trunk/integration/xfire/src/main/etc/bindist-build.xml (rev
0)
+++ trunk/integration/xfire/src/main/etc/bindist-build.xml 2007-05-25 16:20:35 UTC (rev
3260)
@@ -0,0 +1,180 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!-- -->
+<!-- JBoss, the OpenSource J2EE webOS -->
+<!-- -->
+<!-- Distributable under LGPL license. -->
+<!-- See terms of license at
http://www.gnu.org. -->
+<!-- -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<project default="main" basedir="."
name="JBossWS/XFire">
+
+ <!-- ================================================================== -->
+ <!-- Setup -->
+ <!-- ================================================================== -->
+
+ <property name="build.dir" value="${basedir}/build"/>
+ <property name="docs.dir" value="${basedir}/docs"/>
+ <property name="lib.dir" value="${basedir}/lib"/>
+ <property name="thirdparty.dir"
value="${basedir}/lib/thirdparty"/>
+ <property name="tests.dir" value="${basedir}/tests"/>
+ <property name="tests.output.dir"
value="${tests.dir}/output"/>
+
+ <property file="${basedir}/ant.properties"/>
+ <property file="${basedir}/version.properties"/>
+ <property file="${build.dir}/version.properties"/>
+
+ <property name="jboss50.lib" value="${jboss50.home}/lib"/>
+ <property name="jboss50.client"
value="${jboss50.home}/client"/>
+ <property name="jboss50.server"
value="${jboss50.home}/server/${jboss.server.instance}"/>
+ <property name="jboss50.server.lib"
value="${jboss50.server}/lib"/>
+ <property name="jboss50.server.deploy"
value="${jboss50.server}/deploy"/>
+ <property name="jboss50.server.deployers"
value="${jboss50.server}/deployers"/>
+
+ <property name="jboss42.lib" value="${jboss42.home}/lib"/>
+ <property name="jboss42.client"
value="${jboss42.home}/client"/>
+ <property name="jboss42.server"
value="${jboss42.home}/server/${jboss.server.instance}"/>
+ <property name="jboss42.server.lib"
value="${jboss42.server}/lib"/>
+ <property name="jboss42.server.deploy"
value="${jboss42.server}/deploy"/>
+
+ <property name="jbossws.integration.${jbossws.integration.target}"
value="true"/>
+
+ <property name="jboss50.available.file"
value="${jboss50.client}/jboss-ejb3-client.jar"/>
+ <property name="jboss42.available.file"
value="${jboss42.client}/jboss-client.jar"/>
+
+ <available property="jboss50.available"
file="${jboss50.available.file}"/>
+ <available property="jboss42.available"
file="${jboss42.available.file}"/>
+
+ <import file="${basedir}/build/build-testsuite.xml"/>
+ <import file="${basedir}/build/macros-deploy-native.xml"/>
+ <import file="${basedir}/build/macros-deploy-xfire.xml"/>
+
+ <!-- ================================================================== -->
+ <!-- Initialization -->
+ <!-- ================================================================== -->
+
+ <target name="prepare">
+
+ <!-- Define jboss.home -->
+ <condition property="jboss.home" value="${jboss50.home}">
+ <equals arg1="${jbossws.integration.target}"
arg2="jboss50"/>
+ </condition>
+ <condition property="jboss.home" value="${jboss42.home}">
+ <equals arg1="${jbossws.integration.target}"
arg2="jboss42"/>
+ </condition>
+
+ <!-- Define excludesfile -->
+ <condition property="excludesfile"
value="${tests.dir}/resources/excludes-jboss50.txt">
+ <equals arg1="${jbossws.integration.target}"
arg2="jboss50"/>
+ </condition>
+ <condition property="excludesfile"
value="${tests.dir}/resources/excludes-jboss42.txt">
+ <equals arg1="${jbossws.integration.target}"
arg2="jboss42"/>
+ </condition>
+
+ </target>
+
+ <target name="tests-init" depends="prepare,tests-classpath">
+
+ <!--
+ Cannot use XFire client
+ [JBWS-1654] - ServiceDelegate requires non portable method getPortClassMap
+ -->
+
+ <path id="sunri.classpath">
+ <pathelement location="${thirdparty.dir}/client/FastInfoset.jar"/>
+ <pathelement location="${thirdparty.dir}/client/http.jar"/>
+ <pathelement location="${thirdparty.dir}/client/jaxws-api.jar"/>
+ <pathelement location="${thirdparty.dir}/client/jaxws-rt.jar"/>
+ <pathelement location="${thirdparty.dir}/client/jaxws-tools.jar"/>
+ <pathelement location="${thirdparty.dir}/client/jsr173_api.jar"/>
+ <pathelement location="${thirdparty.dir}/client/jsr181-api.jar"/>
+ <pathelement location="${thirdparty.dir}/client/jsr250-api.jar"/>
+ <pathelement location="${thirdparty.dir}/client/resolver.jar"/>
+ <pathelement location="${thirdparty.dir}/client/saaj-api.jar"/>
+ <pathelement location="${thirdparty.dir}/client/saaj-impl.jar"/>
+ <pathelement location="${thirdparty.dir}/client/sjsxp.jar"/>
+ <pathelement location="${thirdparty.dir}/client/stax-ex.jar"/>
+ <pathelement
location="${thirdparty.dir}/client/streambuffer.jar"/>
+ <pathelement location="${thirdparty.dir}/client/wstx.jar"/>
+ </path>
+
+ <path id="xfire.classpath">
+ <pathelement location="${thirdparty.dir}/jaxws-api.jar"/>
+ <pathelement location="${thirdparty.dir}/jdom.jar"/>
+ <pathelement location="${thirdparty.dir}/saaj-api.jar"/>
+ <pathelement location="${thirdparty.dir}/saaj-impl.jar"/>
+ <pathelement location="${thirdparty.dir}/wsdl4j.jar"/>
+ <pathelement location="${thirdparty.dir}/xfire-all.jar"/>
+ <pathelement location="${thirdparty.dir}/xfire-jsr181-api.jar"/>
+ </path>
+
+ <path id="ws.stack.classpath">
+ <path refid="sunri.classpath"/>
+ </path>
+
+ <path id="tests.extra.classpath">
+ </path>
+
+ </target>
+
+ <!-- ================================================================== -->
+ <!-- Compile -->
+ <!-- ================================================================== -->
+
+ <target name="tests-compile" depends="tests-init"
description="Compile sources">
+ <macro-compile-classes srcdir="${tests.dir}/java"/>
+ </target>
+
+ <!-- ================================================================== -->
+ <!-- Building -->
+ <!-- ================================================================== -->
+
+ <!-- Copy resources -->
+ <target name="tests-copy-resources" depends="tests-init">
+ <macro-copy-resources srcdir="${tests.dir}"/>
+ </target>
+
+ <target name="tests-jars"
depends="tests-compile,tests-copy-resources">
+ <ant antfile="${build.dir}/build-jars-jaxws.xml"
target="build-jars-jaxws" inheritall="true"/>
+ </target>
+
+ <target name="tests-main" depends="tests-jars"
description="Build the test deployments."/>
+
+ <!-- ================================================================== -->
+ <!-- Deployment -->
+ <!-- ================================================================== -->
+
+ <!-- Deploy jbossws/xfire to jboss50 -->
+ <target name="deploy-jboss50" depends="prepare"
description="Deploy jbossws/xfire to jboss50">
+ <macro-undeploy-native50/>
+ <macro-deploy-xfire50
+ spilibs="${lib.dir}"
+ jbosslibs="${lib.dir}"
+ stacklibs="${lib.dir}"
+ thirdpartylibs="${lib.dir}/thirdparty"/>
+ </target>
+
+ <!-- Remove jbossws/xfire from jboss50 -->
+ <target name="undeploy-jboss50" depends="prepare"
description="Remove jbossws/xfire from jboss50">
+ <macro-undeploy-xfire50/>
+ </target>
+
+ <!-- ================================================================== -->
+ <!-- Miscellaneous -->
+ <!-- ================================================================== -->
+
+ <target name="clean" depends="prepare" description="Cleans
up most generated files.">
+ </target>
+
+ <target name="clobber" depends="clean" description="Cleans
up all generated files.">
+ </target>
+
+ <target name="main" depends="most" description="Executes
the default target (most)."/>
+
+ <target name="most" depends="tests-main"
description="Builds almost everything."/>
+
+</project>
Property changes on: trunk/integration/xfire/src/main/etc/bindist-build.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF