felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lazar Kirchev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-3979) Gogo must support method names with both uppercase and lowercase
Date Tue, 23 Apr 2013 13:57:22 GMT

    [ https://issues.apache.org/jira/browse/FELIX-3979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13639068#comment-13639068
] 

Lazar Kirchev commented on FELIX-3979:
--------------------------------------

In the Equinox console, which uses Gogo, there is a help method which makes use of Gogo .commands
variable to get all command names and then call for each of them felix:help <command_name>
so that the help return a list of the commands with the description for each command (the
original felix:help returns only the list with command names, without the description). And
since the mixed-case command names do not appear in the help output, it seems that they are
ignored by the console. I guess that is the reason for the original report.
                
> Gogo must support method names with both uppercase and lowercase
> ----------------------------------------------------------------
>
>                 Key: FELIX-3979
>                 URL: https://issues.apache.org/jira/browse/FELIX-3979
>             Project: Felix
>          Issue Type: Bug
>          Components: Gogo Command, Gogo Runtime
>    Affects Versions: gogo.command-0.12.0, gogo.runtime-0.10.0
>         Environment: Equinox Kepler
>            Reporter: Cristiano GaviĆ£o
>            Priority: Critical
>         Attachments: org.jbehave.osgi.commands.zip
>
>
> When I tried to register the method below Gogo ignored it:
> @Descriptor("Run stories with an annotated embedder runner.")
>     public void runStoriesWithAnnotatedEmbedderRunner(@Descriptor("class names") String
classNames) {
>     }
> Even when I used these function names: "runstorieswithannotatedembedderrunner" or "runStoriesWithAnnotatedEmbedderRunner"

> If I refactor both the method and function names to all lowercase than Gogo accepts it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message