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

Use Custom AST classes from sourceSet.main #15

Open
dgeissl opened this issue May 31, 2021 · 0 comments
Open

Use Custom AST classes from sourceSet.main #15

dgeissl opened this issue May 31, 2021 · 0 comments

Comments

@dgeissl
Copy link

dgeissl commented May 31, 2021

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

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

1 participant