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
I want to create war using grails, but by default it creates war file
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In the grails-app/conf/BuildConfig.groovy file you can specify the war like this:
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.