Reputation: 2996
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
Upvotes: 3
Views: 1745
Reputation: 35864
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.
Upvotes: 8