geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bohn (JIRA)" <>
Subject [jira] Updated: (GERONIMO-2001) Eliminate unnecessary CRs in deployment and other messages
Date Tue, 09 May 2006 18:30:05 GMT
     [ ]

Joe Bohn updated GERONIMO-2001:

    Attachment: 2001_FormatMessages.patch

patch was created on windows xp from geronimo root

> Eliminate unnecessary CRs in deployment and other messages
> ----------------------------------------------------------
>          Key: GERONIMO-2001
>          URL:
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: deployment
>     Versions: 1.1
>  Environment: windows XP
>     Reporter: Joe Bohn
>     Assignee: Joe Bohn
>     Priority: Minor
>      Fix For: 1.1
>  Attachments: 2001_FormatMessages.patch
> 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:
For more information on JIRA, see:

View raw message