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:45:21 GMT
Repository: cxf
Updated Branches:
  refs/heads/master db470d74b -> 50c679edc


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

Branch: refs/heads/master
Commit: 50c679edcc220d4170d6c1bd168a6c12aa1f583e
Parents: db470d7
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:45:04 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/50c679ed/rt/frontend/simple/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
----------------------------------------------------------------------
diff --git a/rt/frontend/simple/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
b/rt/frontend/simple/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
index 2562ccc..ad06932 100644
--- a/rt/frontend/simple/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
+++ b/rt/frontend/simple/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
@@ -367,7 +367,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