gng icon indicating copy to clipboard operation
gng copied to clipboard

Consider adding support for Grails

Open matthurne opened this issue 10 years ago • 4 comments

matthurne avatar Dec 02 '14 14:12 matthurne

Hi @mhurne, thanks for the issue! Can you elaborate on this a bit? What would you want Grails support to look like / what is not working now that you think should?

dougborg avatar Dec 02 '14 18:12 dougborg

Sure - unless I'm missing something, "The problems with gradle and gradlew" described in the README also apply to grails and grailsw, perhaps with the exception of "You have to provide a relative path to build.Gradle".

matthurne avatar Dec 02 '14 19:12 matthurne

gw could mean "Gradle wrapper" and "Grails wrapper". I could imagine it determining whether it is being used in the context of a Gradle project or a Grails project and behaving accordingly. I could see one arguing that support for both under the same command would be a bad thing, though.

matthurne avatar Dec 02 '14 20:12 matthurne

Ah, I see what you mean, and I am somewhat open to this idea. I do think determining the appropriate context with one command may be the most difficult part and having a separate command for the grails wrapper would be a good place to start. gw is also meant to be a library - you can source it from other scripts, so we may be able to create a similar wrapper for grails and reuse some of the same functions.

dougborg avatar Dec 03 '14 17:12 dougborg