Author: thomas.diesler(a)jboss.com
Date: 2007-08-08 13:13:58 -0400 (Wed, 08 Aug 2007)
New Revision: 4266
Modified:
framework/branches/framework-2.0/.classpath
framework/branches/framework-2.0/ant-import/build-thirdparty.xml
framework/branches/framework-2.0/hudson/hudson-home/jobs/Release-Matrix-Step1/config.xml
framework/branches/framework-2.0/src/main/java/org/jboss/wsf/framework/management/ContextServlet.java
Log:
Get impl version from ServerConfig
Modified: framework/branches/framework-2.0/.classpath
===================================================================
--- framework/branches/framework-2.0/.classpath 2007-08-08 17:09:02 UTC (rev 4265)
+++ framework/branches/framework-2.0/.classpath 2007-08-08 17:13:58 UTC (rev 4266)
@@ -12,7 +12,7 @@
<classpathentry kind="lib" path="thirdparty/jaxrpc-api.jar"/>
<classpathentry kind="lib" path="thirdparty/dom4j.jar"/>
<classpathentry kind="lib" path="thirdparty/saaj-api.jar"/>
- <classpathentry kind="lib"
path="thirdparty/jbossws-common.jar"/>
- <classpathentry kind="lib"
path="thirdparty/jbossws-spi.jar"/>
+ <classpathentry kind="lib" path="thirdparty/jbossws-common.jar"
sourcepath="thirdparty/jbossws-common-src.zip"/>
+ <classpathentry kind="lib" path="thirdparty/jbossws-spi.jar"
sourcepath="thirdparty/jbossws-spi-src.zip"/>
<classpathentry kind="output" path="output/eclipse"/>
</classpath>
Modified: framework/branches/framework-2.0/ant-import/build-thirdparty.xml
===================================================================
--- framework/branches/framework-2.0/ant-import/build-thirdparty.xml 2007-08-08 17:09:02
UTC (rev 4265)
+++ framework/branches/framework-2.0/ant-import/build-thirdparty.xml 2007-08-08 17:13:58
UTC (rev 4266)
@@ -36,13 +36,16 @@
<target name="thirdparty-get" depends="thirdparty-init"
if="force.thirdparty" description="Gets the thirdparty libraries">
<mkdir dir="${thirdparty.dir}"/>
+ <get
src="${jboss.repository}/jboss/jbossws-common/${jbossws-common}/lib/jbossws-common.jar"
dest="${thirdparty.dir}/jbossws-common.jar" usetimestamp="true"
verbose="true"/>
+ <get
src="${jboss.repository}/jboss/jbossws-common/${jbossws-common}/lib/jbossws-common-src.zip"
dest="${thirdparty.dir}/jbossws-common-src.zip" usetimestamp="true"
verbose="true"/>
+ <get
src="${jboss.repository}/jboss/jbossws-spi/${jbossws-spi}/lib/jbossws-spi.jar"
dest="${thirdparty.dir}/jbossws-spi.jar" usetimestamp="true"
verbose="true"/>
+ <get
src="${jboss.repository}/jboss/jbossws-spi/${jbossws-spi}/lib/jbossws-spi-src.zip"
dest="${thirdparty.dir}/jbossws-spi-src.zip" usetimestamp="true"
verbose="true"/>
+
<get src="${jboss.repository}/dom4j/${dom4j}/lib/dom4j.jar"
dest="${thirdparty.dir}/dom4j.jar" usetimestamp="true"
verbose="true"/>
<get
src="${jboss.repository}/jboss/common-core/${jboss-common-core}/lib/jboss-common-core.jar"
dest="${thirdparty.dir}/jboss-common-core.jar" usetimestamp="true"
verbose="true"/>
<get
src="${jboss.repository}/jboss/common-core/${jboss-common-core}/lib/jboss-common-core-sources.jar"
dest="${thirdparty.dir}/jboss-common-core-sources.jar"
usetimestamp="true" verbose="true"/>
<get
src="${jboss.repository}/jboss/common-logging-spi/${jboss-common-logging-spi}/lib/jboss-logging-spi.jar"
dest="${thirdparty.dir}/jboss-logging-spi.jar" usetimestamp="true"
verbose="true"/>
<get
src="${jboss.repository}/jboss/jboss-javaee/${jboss-javaee}/lib/jboss-javaee.jar"
dest="${thirdparty.dir}/jboss-javaee.jar" usetimestamp="true"
verbose="true"/>
- <get
src="${jboss.repository}/jboss/jbossws-common/${jbossws-common}/lib/jbossws-common.jar"
dest="${thirdparty.dir}/jbossws-common.jar" usetimestamp="true"
verbose="true"/>
- <get
src="${jboss.repository}/jboss/jbossws-spi/${jbossws-spi}/lib/jbossws-spi.jar"
dest="${thirdparty.dir}/jbossws-spi.jar" usetimestamp="true"
verbose="true"/>
<get
src="${jboss.repository}/jboss/jbossxb/${jboss-jbossxb}/lib/jboss-xml-binding.jar"
dest="${thirdparty.dir}/jboss-xml-binding.jar" usetimestamp="true"
verbose="true"/>
<get
src="${jboss.repository}/jboss/jbossxb/${jboss-jbossxb}/lib/jboss-xml-binding-sources.jar"
dest="${thirdparty.dir}/jboss-xml-binding-sources.jar"
usetimestamp="true" verbose="true"/>
<get
src="${jboss.repository}/sun-jaxrpc/${sun-jaxrpc}/lib/jaxrpc-api.jar"
dest="${thirdparty.dir}/jaxrpc-api.jar" usetimestamp="true"
verbose="true"/>
Modified:
framework/branches/framework-2.0/hudson/hudson-home/jobs/Release-Matrix-Step1/config.xml
===================================================================
---
framework/branches/framework-2.0/hudson/hudson-home/jobs/Release-Matrix-Step1/config.xml 2007-08-08
17:09:02 UTC (rev 4265)
+++
framework/branches/framework-2.0/hudson/hudson-home/jobs/Release-Matrix-Step1/config.xml 2007-08-08
17:13:58 UTC (rev 4266)
@@ -13,7 +13,7 @@
<enableRemoteTrigger>false</enableRemoteTrigger>
<triggers class="vector">
<hudson.triggers.TimerTrigger>
- <spec>0 2 * * *</spec>
+ <spec>0 0 * * *</spec>
</hudson.triggers.TimerTrigger>
</triggers>
<logRotator>
Modified:
framework/branches/framework-2.0/src/main/java/org/jboss/wsf/framework/management/ContextServlet.java
===================================================================
---
framework/branches/framework-2.0/src/main/java/org/jboss/wsf/framework/management/ContextServlet.java 2007-08-08
17:09:02 UTC (rev 4265)
+++
framework/branches/framework-2.0/src/main/java/org/jboss/wsf/framework/management/ContextServlet.java 2007-08-08
17:13:58 UTC (rev 4266)
@@ -40,6 +40,8 @@
import org.jboss.wsf.spi.management.EndpointMetrics;
import org.jboss.wsf.spi.management.EndpointRegistry;
import org.jboss.wsf.spi.management.EndpointRegistryFactory;
+import org.jboss.wsf.spi.management.ServerConfig;
+import org.jboss.wsf.spi.management.ServerConfigFactory;
import org.jboss.wsf.spi.SPIProvider;
import org.jboss.wsf.spi.SPIProviderResolver;
@@ -171,10 +173,11 @@
private void setupHTMLResponseHeader(PrintWriter writer)
{
- Package wsPackage = Package.getPackage("org.jboss.ws");
+ SPIProvider spiProvider = SPIProviderResolver.getInstance().getProvider();
+ ServerConfig serverConfig =
spiProvider.getSPI(ServerConfigFactory.class).getServerConfig();
writer.println("<head>");
writer.println("<meta http-equiv='Content-Type content='text/html;
charset=iso-8859-1'>");
- writer.println("<title>JBossWS / " +
wsPackage.getImplementationVersion() + "</title>");
+ writer.println("<title>JBossWS / " +
serverConfig.getImplementationVersion() + "</title>");
writer.println("<link rel='stylesheet'
href='./styles.css'>");
writer.println("</head>");
}