[ 
http://issues.apache.org/jira/browse/GERONIMO-2262?page=comments#action_12449463
 ] 
            
Paul McMahan commented on GERONIMO-2262:
----------------------------------------

fixed in rev 469646 (1.2) and 474454 (1.1).   specifically:

--- 
geronimo/server/trunk/modules/geronimo-system/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java
 (original)
+++ 
geronimo/server/trunk/modules/geronimo-system/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java
 Tue Oct 31 12:44:56 2006
@@ -932,15 +930,15 @@
     *                                    in question
     */
    private static OpenResult openStream(Artifact artifact, URL[] repos, String 
username, String password, ResultsFileWriteMonitor monitor) throws IOException, 
FailedLoginException, MissingDependencyException {
-        if(monitor != null) {
-            monitor.getResults().setCurrentFilePercent(-1);
-            monitor.getResults().setCurrentMessage("Downloading 
"+artifact+"...");
-            monitor.setTotalBytes(-1); // In case the server doesn't say
-        }
        if(artifact != null) {
            if (!artifact.isResolved() || 
artifact.getVersion().toString().indexOf("SNAPSHOT") >= 0) {
                artifact = findArtifact(artifact, repos, username, password, 
monitor);
            }
+        }
+        if(monitor != null) {
+            monitor.getResults().setCurrentFilePercent(-1);
+            monitor.getResults().setCurrentMessage("Downloading 
"+artifact+"...");
+            monitor.setTotalBytes(-1); // In case the server doesn't say
        }
        InputStream in;
        LinkedList list = new LinkedList();


> Plugin install progress stuck on "search for ..." during download
> -----------------------------------------------------------------
>
>                 Key: GERONIMO-2262
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2262
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console, Plugins
>    Affects Versions: 1.1
>            Reporter: Aaron Mulder
>             Fix For: 1.1.2, 1.2
>
>
> On the screen that shows the progress of the current plugin install, it 
> switched the message to "search for (module) at (repo)" and then the progress 
> bar started marching up.  If the progress was increasing, that means the file 
> was downloading, so the message should have been changed to "downloading 
> (module)".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to