Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BCD7DFB24 for ; Tue, 23 Apr 2013 13:31:16 +0000 (UTC) Received: (qmail 27468 invoked by uid 500); 23 Apr 2013 13:31:16 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 27298 invoked by uid 500); 23 Apr 2013 13:31:16 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 27280 invoked by uid 99); 23 Apr 2013 13:31:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Apr 2013 13:31:16 +0000 Date: Tue, 23 Apr 2013 13:31:16 +0000 (UTC) From: "Lazar Kirchev (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FELIX-3979) Gogo must support method names with both uppercase and lowercase MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-3979?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1363= 9046#comment-13639046 ]=20 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 insensitiv= e and Gogo stores the names of the registered commands in the ".commands" s= ession variable all-lowercase. However, felix:help command is case sensitiv= e. So getting the command names from the Gogo .commands variable and callin= g for each name felix:help causes that a command name, which= is mixed-case (but all-lowercase in the .commands value) not to be found b= y felix:help. =20 =20 > 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=C3=A3o > 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: "runstorieswithannotatedembedderru= nner" or "runStoriesWithAnnotatedEmbedderRunner"=20 > If I refactor both the method and function names to all lowercase than Go= go accepts it. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira