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

Allow an inputDir, in addition to an inputFile #8

Open
Thunderforge opened this issue Aug 28, 2019 · 2 comments
Open

Allow an inputDir, in addition to an inputFile #8

Thunderforge opened this issue Aug 28, 2019 · 2 comments

Comments

@Thunderforge
Copy link

Similar Javacc Gradle plugins such as this one allow users to specify an input directory like so:

compileJjtree {
    inputDirectory = file('src/main/jjtree')
    outputDirectory = file(project.buildDir.absolutePath + '/generated/jjtree')
}

However, this plugin only allows inputFile as a variable, meaning that if the project has a directory full of .jj files, they'll have to specify them one at a time.

It would be great if this plugin had the ability to specify an inputDir as well to achieve parity with competing plugins.

@asarkar
Copy link

asarkar commented Dec 9, 2022

@Thunderforge Wondering if the other one already provides the feature you're looking for, why are you even considering this plugin? Your answer will help me choose between the javacc/javaccPlugin and this one.

@Thunderforge
Copy link
Author

@asarkar I moved on from that project about three years ago. I vaguely recall that this project was already using the javacc-gradle-plugin, which is why we were using it in the first place, and we needed some different functionality. I no longer recall what our ultimate solution was.

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