I want to create war using grails, but by default it creates war file in target directory. I want to deploy my war into Tomcat. Is it possible? Thanks
In the grails-app/conf/BuildConfig.groovy file you can specify the war like this:
grails.project.war.file = "target/${appName}-${appVersion}.war"
So make target whatever you want. Although, I'd not recommend WAR'ing directly into Tomcat for deployments. Unless you are just doing this for local testing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With