Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
grails を使用して war を作成したいのですが、デフォルトではターゲット ディレクトリに war ファイルが作成されます。戦争を Tomcat に展開したい。出来ますか?ありがとう
grails-app/conf/BuildConfig.groovy ファイルで、次のように war を指定できます。
grails.project.war.file = "target/${appName}-${appVersion}.war"
だからあなたが望むものをターゲットにしてください。ただし、展開のために Tomcat に直接 WAR することはお勧めしません。ローカルテストのためにこれを行っている場合を除きます。