You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by am...@apache.org on 2004/11/05 05:52:09 UTC
svn commit: rev 56646 - geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployment/plugin/local
Author: ammulder
Date: Thu Nov 4 20:52:06 2004
New Revision: 56646
Modified:
geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployment/plugin/local/DistributeCommand.java
geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployment/plugin/local/StartCommand.java
Log:
Reduce console output
Modified: geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployment/plugin/local/DistributeCommand.java
==============================================================================
--- geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployment/plugin/local/DistributeCommand.java (original)
+++ geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployment/plugin/local/DistributeCommand.java Thu Nov 4 20:52:06 2004
@@ -93,7 +93,7 @@
Object[] args = {moduleArchive, deploymentPlan};
List objectNames = (List) kernel.invoke(deployer, "deploy", args, DEPLOY_SIG);
- System.err.println("deploy returned id " + objectNames.get(0));
+// System.err.println("deploy returned id " + objectNames.get(0));
if (objectNames != null && !objectNames.isEmpty()) {
String parentName = (String) objectNames.get(0);
String[] childIDs = new String[objectNames.size()-1];
@@ -102,7 +102,7 @@
}
TargetModuleID moduleID = new TargetModuleIDImpl(targetList[0], parentName.toString(), childIDs);
- System.err.println("Distributed moduleId " + moduleID);
+// System.err.println("Distributed moduleId " + moduleID);
addModule(moduleID);
} else {
DeploymentException deploymentException = new DeploymentException("Got empty list");
@@ -111,8 +111,6 @@
}
complete("Completed");
} catch (Exception e) {
- e.printStackTrace();
- System.err.println(e.getMessage());
doFail(e);
} finally {
if (spool) {
Modified: geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployment/plugin/local/StartCommand.java
==============================================================================
--- geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployment/plugin/local/StartCommand.java (original)
+++ geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployment/plugin/local/StartCommand.java Thu Nov 4 20:52:06 2004
@@ -44,7 +44,7 @@
TargetModuleID module = modules[i];
URI moduleID = URI.create(module.getModuleID());
- System.err.println("Starting module " + moduleID);
+// System.err.println("Starting module " + moduleID);
kernel.startConfiguration(moduleID);
addModule(module);
}