David Brown
David Brown

Reputation: 3061

Does a Grails WAR file require the grails-app views folder?

Can anybody confirm whether I can safely remove the "grails-app/views" folder without running into problems.

This is specifically for a production deployment and from my understanding they are only required if you require recompilation of any changes to the views.

Thanks

Upvotes: 1

Views: 81

Answers (1)

Burt Beckwith
Burt Beckwith

Reputation: 75671

No, they can be deleted. GSPs are precompiled into classes under WEB-INF/classes, and the static HTML sections are separated into .data files.

Upvotes: 5

Related Questions