[
https://issues.apache.org/jira/browse/FELIX-3979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13608143#comment-13608143
]
Richard S. Hall commented on FELIX-3979:
----------------------------------------
The bundle may be small, but it is not a very good test case since you left
lots of dependencies on external stuff (both imports and service dependencies).
However, after just deleting most of them since it doesn't really matter if it
works and modifying your component.xml file to set immediate to true, it
appears to work for me:
g! help
...
jbehave:runAsEmbeddables
jbehave:runStoriesAsPaths
jbehave:runstorieswithannotatedembedderrunner
...
g! runAsEmbeddables
gogo: IllegalArgumentException: Cannot coerce runasembeddables() to any of
[(String)]
g! runasembeddables
gogo: IllegalArgumentException: Cannot coerce runasembeddables() to any of
[(String)]
g!
These last errors are correct, since I didn't know what parameters to give the
command. Unless I'm missing something, I think we should close this issue.
> 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