cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject git commit: [CXF-5794] DynamicClientFactory createClient fails for Simple Rpc Service
Date Tue, 10 Jun 2014 10:54:41 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes 97cf76998 -> 62e88a2c1


[CXF-5794] DynamicClientFactory createClient fails for Simple Rpc Service


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/62e88a2c
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/62e88a2c
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/62e88a2c

Branch: refs/heads/2.7.x-fixes
Commit: 62e88a2c12fb7c7b793ef50039572684807a47b2
Parents: 97cf769
Author: Akitoshi Yoshida <ay@apache.org>
Authored: Tue Jun 10 12:45:04 2014 +0200
Committer: Akitoshi Yoshida <ay@apache.org>
Committed: Tue Jun 10 12:53:36 2014 +0200

----------------------------------------------------------------------
 .../java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/62e88a2c/rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
----------------------------------------------------------------------
diff --git a/rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
b/rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
index 6640af1..6b1884a 100644
--- a/rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
+++ b/rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
@@ -366,7 +366,7 @@ public class DynamicClientFactory {
         }
         
         List<File> srcFiles = FileUtils.getFilesRecurse(src, ".+\\.java$"); 
-        if (!compileJavaSrc(classPath.toString(), srcFiles, classes.toString())) {
+        if (srcFiles.size() > 0 && !compileJavaSrc(classPath.toString(), srcFiles,
classes.toString())) {
             LOG.log(Level.SEVERE , new Message("COULD_NOT_COMPILE_SRC", LOG, wsdlUrl).toString());
         }
         FileUtils.removeDir(src);


Mime
View raw message