You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by rw...@apache.org on 2011/05/11 11:24:16 UTC

svn commit: r1101796 - /geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-sun-tools/src/main/java/org/apache/geronimo/jaxws/sun/tools/WsdlGenerator.java

Author: rwonly
Date: Wed May 11 09:24:16 2011
New Revision: 1101796

URL: http://svn.apache.org/viewvc?rev=1101796&view=rev
Log:
GERONIMO-5955 should not generate wsdl into an ejb archive

Modified:
    geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-sun-tools/src/main/java/org/apache/geronimo/jaxws/sun/tools/WsdlGenerator.java

Modified: geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-sun-tools/src/main/java/org/apache/geronimo/jaxws/sun/tools/WsdlGenerator.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-sun-tools/src/main/java/org/apache/geronimo/jaxws/sun/tools/WsdlGenerator.java?rev=1101796&r1=1101795&r2=1101796&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-sun-tools/src/main/java/org/apache/geronimo/jaxws/sun/tools/WsdlGenerator.java (original)
+++ geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-sun-tools/src/main/java/org/apache/geronimo/jaxws/sun/tools/WsdlGenerator.java Wed May 11 09:24:16 2011
@@ -117,8 +117,8 @@ public class WsdlGenerator {
         File baseDir;
 
         try {
-            //Create the WSDL file in the directory of the target web application, not in the root directory if it is in a EAR package
-            baseDir = WsdlGeneratorUtils.createTempDirectory(new File(moduleBaseDir.toURI().resolve(module.getTargetPathURI())));
+            
+            baseDir = WsdlGeneratorUtils.createTempDirectory(moduleBaseDir);
         } catch (IOException e) {
             throw new DeploymentException(e);
         }