You are viewing a plain text version of this content. The canonical link for it is here.
Posted to s4-commits@incubator.apache.org by mm...@apache.org on 2012/06/15 16:06:01 UTC

[6/22] git commit: fixed dependencies

fixed dependencies


Project: http://git-wip-us.apache.org/repos/asf/incubator-s4/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-s4/commit/6808e9ff
Tree: http://git-wip-us.apache.org/repos/asf/incubator-s4/tree/6808e9ff
Diff: http://git-wip-us.apache.org/repos/asf/incubator-s4/diff/6808e9ff

Branch: refs/heads/piper
Commit: 6808e9ffca930e793a217107c550ab3c61e759c2
Parents: d4e6cad
Author: Matthieu Morel <mm...@apache.org>
Authored: Fri Jun 1 00:41:50 2012 +0200
Committer: Matthieu Morel <mm...@apache.org>
Committed: Fri Jun 1 00:41:50 2012 +0200

----------------------------------------------------------------------
 build.gradle                                       |    5 +++++
 .../src/main/java/org/apache/s4/tools/Tools.java   |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/6808e9ff/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index b6140ed..a27b68b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -92,6 +92,11 @@ subprojects {
 
     checkstyleConfigFileName = "$rootDir/config/checkstyle/s4-checkstyle.xml"
 
+    configurations.all {
+        exclude group: 'com.sun.jdmk', module: 'jmxtools'
+        exclude group: 'com.sun.jmx', module: 'jmxri'
+        exclude group: 'javax.jms', module: 'jms'
+    }
 
     dependencies {
 

http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/6808e9ff/subprojects/s4-tools/src/main/java/org/apache/s4/tools/Tools.java
----------------------------------------------------------------------
diff --git a/subprojects/s4-tools/src/main/java/org/apache/s4/tools/Tools.java b/subprojects/s4-tools/src/main/java/org/apache/s4/tools/Tools.java
index 2ef86d8..7f2a844 100644
--- a/subprojects/s4-tools/src/main/java/org/apache/s4/tools/Tools.java
+++ b/subprojects/s4-tools/src/main/java/org/apache/s4/tools/Tools.java
@@ -33,6 +33,7 @@ public class Tools {
                 Method main = target.getMethod("main", String[].class);
                 main.invoke(null, new Object[] { args });
             } catch (Exception e) {
+                e.printStackTrace();
                 logger.error("Cannot dispatch to task [{}]: wrong arguments [{}]", this.name(), Arrays.toString(args));
             }
         }