Skip to content

Use Custom AST classes from sourceSet.main #15

Open
@dgeissl

Description

Hi,

I m trying to migrate from the https://github.com/javacc/javaccPlugin to your one, as this seems to be in more active development. I am not super familiar with javacc but the feature I am currently missing is beeing able to use custom AST classes, that are already present in the current projects main sourceSet.
No matter what I try, JavaCC keeps saying File "MyCustomASTClass.java" does not exist. Will create one. This leads to duplicate classes during compilation as the same class in the same package already exists in src/main/java.

Is there a way to configure your plugin to not generate already existing files? They are in another source directory (which is essential to keep the gradle build caching healthy) but should still be respected.

any help would be appreciated

Activity

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

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