[jbossws-commits] JBossWS SVN: r10823 - stack/native/branches/dlofthouse/JBWS-2777/src/main/java/org/jboss/ws/tools/wsdl.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Thu Oct 1 12:18:05 EDT 2009


Author: darran.lofthouse at jboss.com
Date: 2009-10-01 12:18:03 -0400 (Thu, 01 Oct 2009)
New Revision: 10823

Modified:
   stack/native/branches/dlofthouse/JBWS-2777/src/main/java/org/jboss/ws/tools/wsdl/WSDL11Reader.java
Log:
Add a comment to explain early file creation.

Modified: stack/native/branches/dlofthouse/JBWS-2777/src/main/java/org/jboss/ws/tools/wsdl/WSDL11Reader.java
===================================================================
--- stack/native/branches/dlofthouse/JBWS-2777/src/main/java/org/jboss/ws/tools/wsdl/WSDL11Reader.java	2009-10-01 15:59:28 UTC (rev 10822)
+++ stack/native/branches/dlofthouse/JBWS-2777/src/main/java/org/jboss/ws/tools/wsdl/WSDL11Reader.java	2009-10-01 16:18:03 UTC (rev 10823)
@@ -516,6 +516,13 @@
       String targetNS = getOptionalAttribute(schemaEl, "targetNamespace");
       File tmpFile = null;
 
+      /*
+       *  The temporary file for the schema is named and created early before this method recurses.
+       * 
+       *  This allows the publishedLocations map to be updated with the known filename before
+       *  the file is actually written.
+       */
+      
       if (targetNS != null)
       {
          log.trace("processSchemaInclude: [targetNS=" + targetNS + ",parentURL=" + wsdlLoc + "]");



More information about the jbossws-commits mailing list