You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Aliaksandr Autayeu (Created) (JIRA)" <ji...@apache.org> on 2011/11/12 19:32:51 UTC

[jira] [Created] (OPENNLP-372) Banner with version for CLI tool

Banner with version for CLI tool
--------------------------------

                 Key: OPENNLP-372
                 URL: https://issues.apache.org/jira/browse/OPENNLP-372
             Project: OpenNLP
          Issue Type: Improvement
          Components: Command Line Interface
    Affects Versions: tools-1.5.3-incubating
            Reporter: Aliaksandr Autayeu
            Priority: Minor
         Attachments: 0012-CLI-banner.patch

It would be nice to add banner with version to CLI tool, like in attached patch.

--
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] (OPENNLP-372) Banner with version for CLI tool

Posted by "James Kosin (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENNLP-372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13149124#comment-13149124 ] 

James Kosin commented on OPENNLP-372:
-------------------------------------

Nak, a banner like this would break many usages.  Many of the CLI tools expect output to be piped to a file or another tool directly.
Maybe a better way would be a --version CLI parameter.  However, we already have the version visible; since it is required to be contained in the file name.
                
> Banner with version for CLI tool
> --------------------------------
>
>                 Key: OPENNLP-372
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-372
>             Project: OpenNLP
>          Issue Type: Improvement
>          Components: Command Line Interface
>    Affects Versions: tools-1.5.3-incubating
>            Reporter: Aliaksandr Autayeu
>            Priority: Minor
>              Labels: patch
>         Attachments: 0012-CLI-banner.patch
>
>
> It would be nice to add banner with version to CLI tool, like in attached patch.

--
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] (OPENNLP-372) Banner with version for CLI tool

Posted by "Aliaksandr Autayeu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENNLP-372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13149163#comment-13149163 ] 

Aliaksandr Autayeu commented on OPENNLP-372:
--------------------------------------------

I see. 

My scenario was that I have OPENNLP_HOME and PATH variables set up and I execute $opennlp   < at this moment I don't know which one it is. It is a good idea to have --version and it looks like it is a safe and "traditional" way to do it.
                
> Banner with version for CLI tool
> --------------------------------
>
>                 Key: OPENNLP-372
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-372
>             Project: OpenNLP
>          Issue Type: Improvement
>          Components: Command Line Interface
>    Affects Versions: tools-1.5.3-incubating
>            Reporter: Aliaksandr Autayeu
>            Priority: Minor
>              Labels: patch
>         Attachments: 0012-CLI-banner.patch
>
>
> It would be nice to add banner with version to CLI tool, like in attached patch.

--
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] [Closed] (OPENNLP-372) Banner with version for CLI tool

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

Joern Kottmann closed OPENNLP-372.
----------------------------------

       Resolution: Fixed
    Fix Version/s: tools-1.5.3-incubating
         Assignee: Joern Kottmann
    
> Banner with version for CLI tool
> --------------------------------
>
>                 Key: OPENNLP-372
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-372
>             Project: OpenNLP
>          Issue Type: Improvement
>          Components: Command Line Interface
>    Affects Versions: tools-1.5.3-incubating
>            Reporter: Aliaksandr Autayeu
>            Assignee: Joern Kottmann
>            Priority: Minor
>              Labels: patch
>             Fix For: tools-1.5.3-incubating
>
>         Attachments: 0012-CLI-banner.patch, 0013-CLI-banner.patch
>
>
> It would be nice to add banner with version to CLI tool, like in attached patch.

--
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] (OPENNLP-372) Banner with version for CLI tool

Posted by "Aliaksandr Autayeu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENNLP-372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13149524#comment-13149524 ] 

Aliaksandr Autayeu commented on OPENNLP-372:
--------------------------------------------

Oh, that's a good idea! Actually, it's even simpler than --version.
                
> Banner with version for CLI tool
> --------------------------------
>
>                 Key: OPENNLP-372
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-372
>             Project: OpenNLP
>          Issue Type: Improvement
>          Components: Command Line Interface
>    Affects Versions: tools-1.5.3-incubating
>            Reporter: Aliaksandr Autayeu
>            Priority: Minor
>              Labels: patch
>         Attachments: 0012-CLI-banner.patch
>
>
> It would be nice to add banner with version to CLI tool, like in attached patch.

--
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] [Updated] (OPENNLP-372) Banner with version for CLI tool

Posted by "Aliaksandr Autayeu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENNLP-372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aliaksandr Autayeu updated OPENNLP-372:
---------------------------------------

    Attachment: 0012-CLI-banner.patch
    
> Banner with version for CLI tool
> --------------------------------
>
>                 Key: OPENNLP-372
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-372
>             Project: OpenNLP
>          Issue Type: Improvement
>          Components: Command Line Interface
>    Affects Versions: tools-1.5.3-incubating
>            Reporter: Aliaksandr Autayeu
>            Priority: Minor
>              Labels: patch
>         Attachments: 0012-CLI-banner.patch
>
>
> It would be nice to add banner with version to CLI tool, like in attached patch.

--
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] [Updated] (OPENNLP-372) Banner with version for CLI tool

Posted by "Aliaksandr Autayeu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENNLP-372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aliaksandr Autayeu updated OPENNLP-372:
---------------------------------------

    Attachment: 0013-CLI-banner.patch

Updated patch. Banner moved to usage, so it does not interfere with console input-output redirections.
                
> Banner with version for CLI tool
> --------------------------------
>
>                 Key: OPENNLP-372
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-372
>             Project: OpenNLP
>          Issue Type: Improvement
>          Components: Command Line Interface
>    Affects Versions: tools-1.5.3-incubating
>            Reporter: Aliaksandr Autayeu
>            Priority: Minor
>              Labels: patch
>         Attachments: 0012-CLI-banner.patch, 0013-CLI-banner.patch
>
>
> It would be nice to add banner with version to CLI tool, like in attached patch.

--
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] (OPENNLP-372) Banner with version for CLI tool

Posted by "Joern Kottmann (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENNLP-372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13149516#comment-13149516 ] 

Joern Kottmann commented on OPENNLP-372:
----------------------------------------

The version banner could appear as part of the usage message. Should we add it there instead?
                
> Banner with version for CLI tool
> --------------------------------
>
>                 Key: OPENNLP-372
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-372
>             Project: OpenNLP
>          Issue Type: Improvement
>          Components: Command Line Interface
>    Affects Versions: tools-1.5.3-incubating
>            Reporter: Aliaksandr Autayeu
>            Priority: Minor
>              Labels: patch
>         Attachments: 0012-CLI-banner.patch
>
>
> It would be nice to add banner with version to CLI tool, like in attached patch.

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