Skip to content
This repository was archived by the owner on Dec 7, 2019. It is now read-only.
This repository was archived by the owner on Dec 7, 2019. It is now read-only.

--with-orchestrator is not working as expected #158

@CristianGM

Description

@CristianGM

The documentation says the argument should be true or false but it's not true:

$ java -jar composer.jar --apk /any/path/debug-androidTest.apk --test-apk /any/path/debug-androidTest.apk --output-directory /any/path --verbose-output true --with-orchestrator true
Exception in thread "main" com.beust.jcommander.ParameterException: Was passed main parameter 'true' but no main parameter was defined in your arg class
        at com.beust.jcommander.JCommander.getMainParameter(JCommander.java:887)
        at com.beust.jcommander.JCommander.parseValues(JCommander.java:705)
        at com.beust.jcommander.JCommander.parse(JCommander.java:312)
        at com.beust.jcommander.JCommander.parse(JCommander.java:291)
        at com.gojuno.composer.ArgsKt.parseArgs(Args.kt:138)
        at com.gojuno.composer.MainKt.main(Main.kt:34)

( I removed the paths of the apk because they are irrelevant )

as soon as I remove the last true from the command it works as a charm

I was going to open the PR to the gradle plugin adding it, but now I don't know what should I do.

any comment to add @jonas-m- ? Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions