You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by li...@apache.org on 2008/08/07 16:52:48 UTC

svn commit: r683624 - /geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/CommandInstallCAR.java

Author: linsun
Date: Thu Aug  7 07:52:47 2008
New Revision: 683624

URL: http://svn.apache.org/viewvc?rev=683624&view=rev
Log:
install plugin from deploy tool doesn't honor load=false GERONIMO-4228

Modified:
    geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/CommandInstallCAR.java

Modified: geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/CommandInstallCAR.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/CommandInstallCAR.java?rev=683624&r1=683623&r2=683624&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/CommandInstallCAR.java (original)
+++ geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/CommandInstallCAR.java Thu Aug  7 07:52:47 2008
@@ -58,12 +58,6 @@
                 DownloadResults results = showProgress(consoleReader, mgr, key);
                 int time = (int)(System.currentTimeMillis() - start) / 1000;
                 printResults(consoleReader, results, time);            
-                if(results.isFinished() && !results.isFailed() && results.getInstalledConfigIDs().size() == 1) {
-                    Artifact target = results.getInstalledConfigIDs().get(0);
-                    consoleReader.printString(DeployUtils.reformat("Now starting "+target+"...", 4, 72));
-                    consoleReader.flushConsole();
-                    new CommandStart().execute(consoleReader, connection, new BaseCommandArgs(new String[]{target.toString()}));
-                }
             } catch (IOException e) {
                 throw new DeploymentException("Cannot install plugin", e);
             }