Skip to content

add function to check existence of variable and check its value if exists  #10

Description

@raydac

I am using your preprocessor as a maven plugin. I have this code:
xxxx
and it does not print when I have not defined the flag, and does when I do. So I know the plug-in preprocessing is taking place.
But when I tried enabling the print statements via mvn compile command:
/opt/apache-maven-3.2.3/bin/mvn clean install -DskipTests=true -DPRINT_WAYNE_FLAG=true
It did not work. Do you know what syntax I should use in the mvn command line to send a flag through mvn to affect the value of preprocessor flags in java code?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions