Ruud Senden

Results 189 comments of Ruud Senden

> Can you try making the annotated fields `protected` instead of `private`? Thanks, I'll try that and let you know the results. In the meantime I did try using the...

> > Can you try making the annotated fields `protected` instead of `private`? > > Thanks, I'll try that and let you know the results. Tried making all relevant option...

(Edited) In the meantime I've been able to make this work by declaring Micronaut's `@ReflectiveAccess` annotation at class-level (rather than field-level) for the affected classes, allowing picocli to use reflection...

Looking somewhat closer at this, I seems like picocli is including `@Command`-annotated classes in reflect-config.json, but fails to also add any superclasses of those command classes. Is this something that...

Depends on what you mean with 'if superclasses have picocli annotations'; the class itself doesn't have any picocli annotations but the fields do. See example below. Base class: ```java @ReflectiveAccess...

It's been a while since I last looked at this, but I think the problem was also present when doing a full, clean build. In my case though, the parent...

I have now updated my copy of manage_storage.rb as follows. This uses /bin/sh instead of /bin/bash, fdisk instead sfdisk, and an approach similar to boot2docker to create the filesystem if...

@remkop I have now created a [small sample project](https://github.com/rsenden/micronaut-inject-issue) to demonstrate the issue, and submitted a Micronaut issue: https://github.com/micronaut-projects/micronaut-core/issues/7922

Actually, based on our earlier discussion in https://github.com/remkop/picocli/issues/1665, maybe this can already be accomplished using mixins as below? ``` @Command(name="delete", aliases={"rm", "remove"}) public class DeleteCommandMixin {} public class Entity1DeleteCommand {...

@remkop Just has a look at this, I think this should be relatively simple: - Add `ElementType.ANNOTATION` as a `Target` on the `Command` annotation - Update the logic in `CommandReflection::extractCommandSpec`:...