axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-axis/java/tools/org/apache/axis/tools/ant/wsdl Wsdl2javaAntTask.java
Date Fri, 14 Jan 2005 15:34:28 GMT
dims        2005/01/14 07:34:27

  Modified:    java/tools/org/apache/axis/tools/ant/wsdl
                        Wsdl2javaAntTask.java
  Log:
  Try to resolve files w.r.t the base directory
  
  Revision  Changes    Path
  1.24      +6 -0      ws-axis/java/tools/org/apache/axis/tools/ant/wsdl/Wsdl2javaAntTask.java
  
  Index: Wsdl2javaAntTask.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/tools/org/apache/axis/tools/ant/wsdl/Wsdl2javaAntTask.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- Wsdl2javaAntTask.java	14 Dec 2004 20:22:29 -0000	1.23
  +++ Wsdl2javaAntTask.java	14 Jan 2005 15:34:27 -0000	1.24
  @@ -255,6 +255,12 @@
                   ClassUtils.setDefaultClassLoader(cl);
               }
   
  +            try {
  +                if(url.indexOf(':') == -1)
  +                    url = getProject().resolveFile(url).getAbsolutePath();
  +            } catch (Throwable t){
  +            }
  +            
               log("WSDL2Java " + url, Project.MSG_INFO);
               try {
                   emitter.run(url);
  
  
  

Mime
View raw message