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:31:16 GMT

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

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

This is related only with the displayed help - all commands are registered and can be called.
The problem with the help was that in Gogo the commands are case insensitive and Gogo stores
the names of the registered commands in the ".commands" session variable all-lowercase. However,
felix:help command is case sensitive. So getting the command names from the Gogo .commands
variable and calling for each name felix:help <command_name> causes that a command name,
which is mixed-case (but all-lowercase in the .commands value) not to be found by felix:help.
 
                
> 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