I noticed that in Grails v2.4.4, the images, stylesheets, js files are all saved under
..pathOfProject/grails-app/assets
This seems to conform to the Asset Pipeline Plugin, but I am quite sure I have not installed this plugin. In older versions such as v2.1.0, I remember placing all my images or new CSS files in
..pathOfProject/web-app
but now I see this directories & subdirectories all empty.
What is the best practice where to put these assets (images, js, css) for the latest grails version (2.4.4)?
Also, why the change in directory location for these files?
The reason for the change of directories is because the asset pipeline plugin is included by default in Grails 2.4.0+ (See What's new in 2.4). Use the directories under grails-app/assets
to store your images (and other assets).
The asset pipeline plugin documentation has a wealth of information that will help you get the most out of using this plugin and follow the best practices for it's use.