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:58:02 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.6.x-fixes 9e94fdd61 -> 397468db5


[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/397468db
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/397468db
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/397468db

Branch: refs/heads/2.6.x-fixes
Commit: 397468db5dd547fb96b3d7db3b80d0e8f683ac94
Parents: 9e94fdd
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:57:15 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/397468db/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 8933daf..10e3841 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