You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Michael Van Geertruy (JIRA)" <ji...@apache.org> on 2011/07/09 01:40:24 UTC

[jira] [Created] (KARAF-718) Grep doesn't work when piped from features:listurl

Grep doesn't work when piped from features:listurl
--------------------------------------------------

                 Key: KARAF-718
                 URL: https://issues.apache.org/jira/browse/KARAF-718
             Project: Karaf
          Issue Type: Bug
            Reporter: Michael Van Geertruy
            Priority: Minor


features:listUrl writes its output to the console using session.getConsole().println() instead of System.out.println().  The GrepAction.java wraps System.in in a BufferedLineReader() in order to grab the output of the preceding command. Because features:listurl doesn't write anything to the System, grep has nothing to filter.  The fix for this is to change all instances of session.getConsole().println() in ListUrlcommand.java with System.out.println().  I will be submitting a patch for this shortly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (KARAF-718) Grep doesn't work when piped from features:listurl

Posted by "Michael Van Geertruy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Van Geertruy updated KARAF-718:
---------------------------------------

    Attachment: karaf-718.txt

Patch changing session.getConfig().println() to System.out.println() to all the use of follow-on commands like grep.

> Grep doesn't work when piped from features:listurl
> --------------------------------------------------
>
>                 Key: KARAF-718
>                 URL: https://issues.apache.org/jira/browse/KARAF-718
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Michael Van Geertruy
>            Priority: Minor
>         Attachments: karaf-718.txt
>
>
> features:listUrl writes its output to the console using session.getConsole().println() instead of System.out.println().  The GrepAction.java wraps System.in in a BufferedLineReader() in order to grab the output of the preceding command. Because features:listurl doesn't write anything to the System, grep has nothing to filter.  The fix for this is to change all instances of session.getConsole().println() in ListUrlcommand.java with System.out.println().  I will be submitting a patch for this shortly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (KARAF-718) Grep doesn't work when piped from features:listurl

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned KARAF-718:
------------------------------------------

    Assignee: Jean-Baptiste Onofré

> Grep doesn't work when piped from features:listurl
> --------------------------------------------------
>
>                 Key: KARAF-718
>                 URL: https://issues.apache.org/jira/browse/KARAF-718
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Michael Van Geertruy
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>         Attachments: karaf-718.txt
>
>
> features:listUrl writes its output to the console using session.getConsole().println() instead of System.out.println().  The GrepAction.java wraps System.in in a BufferedLineReader() in order to grab the output of the preceding command. Because features:listurl doesn't write anything to the System, grep has nothing to filter.  The fix for this is to change all instances of session.getConsole().println() in ListUrlcommand.java with System.out.println().  I will be submitting a patch for this shortly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (KARAF-718) Grep doesn't work when piped from features:listurl

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-718:
---------------------------------------

      Component/s: console
    Fix Version/s: 3.0.0
                   2.2.3

> Grep doesn't work when piped from features:listurl
> --------------------------------------------------
>
>                 Key: KARAF-718
>                 URL: https://issues.apache.org/jira/browse/KARAF-718
>             Project: Karaf
>          Issue Type: Bug
>          Components: console
>            Reporter: Michael Van Geertruy
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 2.2.3, 3.0.0
>
>         Attachments: karaf-718.txt
>
>
> features:listUrl writes its output to the console using session.getConsole().println() instead of System.out.println().  The GrepAction.java wraps System.in in a BufferedLineReader() in order to grab the output of the preceding command. Because features:listurl doesn't write anything to the System, grep has nothing to filter.  The fix for this is to change all instances of session.getConsole().println() in ListUrlcommand.java with System.out.println().  I will be submitting a patch for this shortly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Closed] (KARAF-718) Grep doesn't work when piped from features:listurl

Posted by "Jamie goodyear (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie goodyear closed KARAF-718.
--------------------------------

    
> Grep doesn't work when piped from features:listurl
> --------------------------------------------------
>
>                 Key: KARAF-718
>                 URL: https://issues.apache.org/jira/browse/KARAF-718
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>            Reporter: Michael Van Geertruy
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 2.2.3, 3.0.0
>
>         Attachments: karaf-718.txt
>
>
> features:listUrl writes its output to the console using session.getConsole().println() instead of System.out.println().  The GrepAction.java wraps System.in in a BufferedLineReader() in order to grab the output of the preceding command. Because features:listurl doesn't write anything to the System, grep has nothing to filter.  The fix for this is to change all instances of session.getConsole().println() in ListUrlcommand.java with System.out.println().  I will be submitting a patch for this shortly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-718) Grep doesn't work when piped from features:listurl

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13062339#comment-13062339 ] 

Jean-Baptiste Onofré commented on KARAF-718:
--------------------------------------------

Fixed on trunk: revision 1144612.

> Grep doesn't work when piped from features:listurl
> --------------------------------------------------
>
>                 Key: KARAF-718
>                 URL: https://issues.apache.org/jira/browse/KARAF-718
>             Project: Karaf
>          Issue Type: Bug
>          Components: console
>            Reporter: Michael Van Geertruy
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 2.2.3, 3.0.0
>
>         Attachments: karaf-718.txt
>
>
> features:listUrl writes its output to the console using session.getConsole().println() instead of System.out.println().  The GrepAction.java wraps System.in in a BufferedLineReader() in order to grab the output of the preceding command. Because features:listurl doesn't write anything to the System, grep has nothing to filter.  The fix for this is to change all instances of session.getConsole().println() in ListUrlcommand.java with System.out.println().  I will be submitting a patch for this shortly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Resolved] (KARAF-718) Grep doesn't work when piped from features:listurl

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-718.
----------------------------------------

    Resolution: Fixed

> Grep doesn't work when piped from features:listurl
> --------------------------------------------------
>
>                 Key: KARAF-718
>                 URL: https://issues.apache.org/jira/browse/KARAF-718
>             Project: Karaf
>          Issue Type: Bug
>          Components: console
>            Reporter: Michael Van Geertruy
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 2.2.3, 3.0.0
>
>         Attachments: karaf-718.txt
>
>
> features:listUrl writes its output to the console using session.getConsole().println() instead of System.out.println().  The GrepAction.java wraps System.in in a BufferedLineReader() in order to grab the output of the preceding command. Because features:listurl doesn't write anything to the System, grep has nothing to filter.  The fix for this is to change all instances of session.getConsole().println() in ListUrlcommand.java with System.out.println().  I will be submitting a patch for this shortly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-718) Grep doesn't work when piped from features:listurl

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13062341#comment-13062341 ] 

Jean-Baptiste Onofré commented on KARAF-718:
--------------------------------------------

Fixed on karaf-2.2.x: revision 1144613.

> Grep doesn't work when piped from features:listurl
> --------------------------------------------------
>
>                 Key: KARAF-718
>                 URL: https://issues.apache.org/jira/browse/KARAF-718
>             Project: Karaf
>          Issue Type: Bug
>          Components: console
>            Reporter: Michael Van Geertruy
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 2.2.3, 3.0.0
>
>         Attachments: karaf-718.txt
>
>
> features:listUrl writes its output to the console using session.getConsole().println() instead of System.out.println().  The GrepAction.java wraps System.in in a BufferedLineReader() in order to grab the output of the preceding command. Because features:listurl doesn't write anything to the System, grep has nothing to filter.  The fix for this is to change all instances of session.getConsole().println() in ListUrlcommand.java with System.out.println().  I will be submitting a patch for this shortly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira