build.gradle" but my question is where in the build.gradle should I define the application name, and what's the syntax of that. The reason I want this is so that the URL will have that app name, which will be the same as the war name, so that I have the same url structure running locally, as I do running as a war.--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grails-dev-disc...@googlegroups.com.
To post to this group, send email to grails-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/65d4c27c-0fa2-4c66-b2cc-2ed4f6564738%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I was looking at this built script[1] just as you asked the question. Is this what you were looking for?
[1] https://github.com/grails/grails3-functional-tests/blob/master/app1/build.gradle#L19
On 12/06/15 15:09, virtual dogbert wrote:
So from the documentation I see "The application name and version is now defined in--build.gradle" but my question is where in the build.gradle should I define the application name, and what's the syntax of that. The reason I want this is so that the URL will have that app name, which will be the same as the war name, so that I have the same url structure running locally, as I do running as a war.
for example my say my app name is groovyduke, when I run my app the url should belocalhost:8080/groovyduke/...regardless of if I'm running in intellij or running as a war
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grails-dev-discuss+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to grails-dev-disc...@googlegroups.com.
To post to this group, send email to grails-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/eb6eda9b-fd95-4eb9-8cda-c9cbe457e62c%40googlegroups.com.