Author: thomas.diesler(a)jboss.com
Date: 2006-12-23 17:06:30 -0500 (Sat, 23 Dec 2006)
New Revision: 1768
Modified:
branches/tdiesler/trunk/integration-tomcat/src/main/java/org/jboss/ws/integration/tomcat/wspublish.java
Log:
partial commit
Modified:
branches/tdiesler/trunk/integration-tomcat/src/main/java/org/jboss/ws/integration/tomcat/wspublish.java
===================================================================
---
branches/tdiesler/trunk/integration-tomcat/src/main/java/org/jboss/ws/integration/tomcat/wspublish.java 2006-12-23
22:06:25 UTC (rev 1767)
+++
branches/tdiesler/trunk/integration-tomcat/src/main/java/org/jboss/ws/integration/tomcat/wspublish.java 2006-12-23
22:06:30 UTC (rev 1768)
@@ -32,6 +32,7 @@
import org.jboss.logging.Logger;
import org.jboss.util.file.JarUtils;
+import org.jboss.ws.core.server.UnifiedDeploymentInfo;
/**
* Publish a standard portable J2EE web service endpoint
@@ -67,9 +68,13 @@
JarUtils.unjar(in, tmpDir);
in.close();
+ UnifiedDeploymentInfo udi = new UnifiedDeploymentInfo(null);
+ udi.webappURL = tmpDir.toURL();
+
TomcatServiceEndpointPublisher publisher = new TomcatServiceEndpointPublisher();
publisher.setServiceEndpointServlet(servletName);
- publisher.rewriteWebXml(tmpDir.toURL());
+
+ publisher.rewriteWebXml(udi);
File outFile = new File(destDir.getCanonicalPath() + "/" + warName);
outFile.getParentFile().mkdirs();
Show replies by date