I have a web application done several years back, this is done using spring and javascript.
This project we build using the Jidea, IDE.
project have several theme folders which include large amount of images.
after the build the war is so heavy because of these large unused folders and other files.
my question is, is there a method, building tool we can use to remove these junk folders at the build time??
–Rangana
You can use build tools such as Maven or Ant. With these, you can specify exactly what you want to include and what you want to exclude in your war file.
Example with ANT :