Eliminate unnecessary CRs in deployment and other messages
----------------------------------------------------------

         Key: GERONIMO-2001
         URL: http://issues.apache.org/jira/browse/GERONIMO-2001
     Project: Geronimo
        Type: Bug
    Security: public (Regular issues) 
  Components: deployment  
    Versions: 1.1    
 Environment: windows XP
    Reporter: Joe Bohn
 Assigned to: Joe Bohn 
    Priority: Minor
     Fix For: 1.1


There are a number of places (particularly in messages in response to 
deployments) where extra carriage returns are inserted into the output.   This 
appears to be accidental.  The DeployUtil.resolve() method already adds a CR to 
the end of every formatted line.  However, when this is invoked from various 
places it appears to be 50/50 as to whether println or print is used.  Of 
course println results in an extra CR being inserted into the message.   For 
multi-line messages (such as when deploying an EAR that contains multiple 
modules) this can be annoying and at least one user has complained that this 
interfers with scripts that they are using to wrap the commands.

This simply changes any printlns to prints for any messages that are printed 
using DeployUtil.format().

-- 
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