Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ranjit92 opened this issue Nov 30, 2023 · 1 comment
Open

Comments

@ranjit92
Copy link

ranjit92 commented Nov 30, 2023

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>
@ketkarameya
Copy link
Collaborator

Can you try the polyglot piranha version of feature flag cleanup? https://uber.github.io/piranha/docs/reference/staleflags ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants