geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r673518 - /geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/WsdlGenerator.java
Date Wed, 02 Jul 2008 21:59:16 GMT
Author: gawor
Date: Wed Jul  2 14:59:15 2008
New Revision: 673518

URL: http://svn.apache.org/viewvc?rev=673518&view=rev
Log:
generate the wsdl in the right directory - for in-place deployments

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

Modified: geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/WsdlGenerator.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/WsdlGenerator.java?rev=673518&r1=673517&r2=673518&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/WsdlGenerator.java
(original)
+++ geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/WsdlGenerator.java
Wed Jul  2 14:59:15 2008
@@ -269,7 +269,10 @@
                                PortInfo portInfo) throws DeploymentException {
         //call wsgen tool to generate the wsdl file based on the bindingtype.
         //let's set the outputDir as the module base directory in server repository.
-        File moduleBase = module.getEarContext().getBaseDir();
+        File moduleBase = module.getEarContext().getInPlaceConfigurationDir();
+        if (moduleBase == null) {      
+            moduleBase = module.getEarContext().getBaseDir();
+        }
         File moduleBaseDir = (moduleBase.isFile()) ? moduleBase.getParentFile() : moduleBase;
         File baseDir;
         



Mime
View raw message