Skip to content

Is there anyway to add the multiple flag names in pom.xml compilerArgs #640

Description

@ranjit92

Hi Team,

I am trying to add multiple flags in the controller args but it only considers the last one "FlagName=SAMPLE_STALE_FLAG2".
Can someone please help here with how we pass the multiple flag args?

                <compilerArgs>
                    <arg>-XDcompilePolicy=simple</arg>
                    <arg>-Xplugin:ErrorProne -Xep:Piranha:WARN -XepPatchChecks:Piranha -XepPatchLocation:IN_PLACE
                        -XepOpt:Piranha:FlagName=SAMPLE_STALE_FLAG -XepOpt:Piranha:FlagName=SAMPLE_STALE_FLAG2 -XepOpt:Piranha:IsTreated=true
                        -XepOpt:Piranha:Config=config/properties.json
                    </arg>
                </compilerArgs>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions