Author: heiko.braun(a)jboss.com
Date: 2007-01-19 09:42:37 -0500 (Fri, 19 Jan 2007)
New Revision: 2013
Added:
trunk/build/etc/hudson/JBossWS-TRUNK.config.xml
Modified:
trunk/build/etc/hudson/AS-5.x.properties
trunk/jbossws-core/src/main/java/org/jboss/ws/core/jaxws/client/ClientImpl.java
Log:
Call config provider from client impl
Modified: trunk/build/etc/hudson/AS-5.x.properties
===================================================================
--- trunk/build/etc/hudson/AS-5.x.properties 2007-01-19 14:36:35 UTC (rev 2012)
+++ trunk/build/etc/hudson/AS-5.x.properties 2007-01-19 14:42:37 UTC (rev 2013)
@@ -31,7 +31,7 @@
jboss.local.repository=/tmp
# Force thirdparty HTTP get
-force.thirdparty.get=true
+#force.thirdparty.get=true
# Java Compiler options
javac.debug=yes
Added: trunk/build/etc/hudson/JBossWS-TRUNK.config.xml
===================================================================
--- trunk/build/etc/hudson/JBossWS-TRUNK.config.xml (rev 0)
+++ trunk/build/etc/hudson/JBossWS-TRUNK.config.xml 2007-01-19 14:42:37 UTC (rev 2013)
@@ -0,0 +1,80 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+ <builders class="vector">
+ <hudson.tasks.Shell>
+ <command># common script settings
+pwd
+
+#
+# Module settings
+#
+HUDSON="/home/hbraun/hudson"
+MODULE="JBossWS-TRUNK"
+WORKSPACE=$HUDSON/jobs/$MODULE/workspace
+
+cd $WORKSPACE/trunk/build
+pwd
+
+#
+# build core modules (and update thirdparty libs)
+#
+ant -propertyfile etc/hudson/AS-5.x.properties -Dforce.thirdparty.get=true main
+
+#
+# build test suite
+#
+cd $WORKSPACE/trunk/jbossws-tests
+pwd
+ant -propertyfile $WORKSPACE/trunk/build/etc/hudson/AS-5.x.properties main
+ant -propertyfile $WORKSPACE/trunk/build/etc/hudson/AS-5.x.properties deploy-jboss50
+
+#
+# start jbossas
+#(make sure it's stopped first)
+#
+$WORKSPACE/trunk/build/etc/hudson/AS-5.x-init.sh stop
+$WORKSPACE/trunk/build/etc/hudson/AS-5.x-init.sh start
+sleep 30
+
+#
+# execute tests
+#
+ant -propertyfile $WORKSPACE/trunk/build/etc/hudson/AS-5.x.properties
+-Djboss50.home=$HUDSON/jobs/AS-5.x/workspace/trunk/build/output/jboss-5.0.0.Beta2 tests
+
+#
+# stop jbossas
+#
+$WORKSPACE/trunk/build/etc/hudson/AS-5.x-init.sh stop
+
+</command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers class="vector">
+ <hudson.tasks.junit.JUnitResultArchiver>
+ <testResults>trunk/jbossws-tests/output/reports/*.xml</testResults>
+ </hudson.tasks.junit.JUnitResultArchiver>
+ <hudson.tasks.Mailer>
+ <recipients>heiko(a)openj.net</recipients>
+ <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
+ <sendToIndividuals>false</sendToIndividuals>
+ </hudson.tasks.Mailer>
+ </publishers>
+ <buildWrappers class="vector"/>
+ <scm class="hudson.scm.SubversionSCM">
+ <
modules>https://svn.jboss.org/repos/jbossws/trunk</modules>
+ <useUpdate>true</useUpdate>
+ </scm>
+ <canRoam>true</canRoam>
+ <disabled>true</disabled>
+ <enableRemoteTrigger>false</enableRemoteTrigger>
+ <triggers class="vector">
+ <hudson.triggers.SCMTrigger>
+ <spec>* * * * *</spec>
+ </hudson.triggers.SCMTrigger>
+ </triggers>
+ <description>Builds JBossWS-TRUNK against AS 5.0 TRUNK</description>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <actions class="vector"/>
+</project>
Modified: trunk/jbossws-core/src/main/java/org/jboss/ws/core/jaxws/client/ClientImpl.java
===================================================================
---
trunk/jbossws-core/src/main/java/org/jboss/ws/core/jaxws/client/ClientImpl.java 2007-01-19
14:36:35 UTC (rev 2012)
+++
trunk/jbossws-core/src/main/java/org/jboss/ws/core/jaxws/client/ClientImpl.java 2007-01-19
14:42:37 UTC (rev 2013)
@@ -315,9 +315,7 @@
public void setConfigName(String configName)
{
- EndpointMetaData epMetaData = getEndpointMetaData();
- epMetaData.setConfigName(configName);
- // TODO: Handlers not re-initialized
- log.warn("Handlers not re-initialized");
+ ConfigurationProvider configProvider =
(ConfigurationProvider)getEndpointMetaData();
+ configProvider.setConfigName(configName);
}
}