0

How can I configure eclipse in a way that the /images folder under /WebContent is not included in the war exported file ? I see how to exclude files and folders but under the /src container.

Tunaki
  • 132,869
  • 46
  • 340
  • 423
xain
  • 13,159
  • 17
  • 75
  • 119

1 Answers1

2

I'm not sure exactly why you'd want to do that, but here are two options:

  • Move your image folder OUT of WebContent (if you don't need them in the war, why are they here in the first place?)
  • In the project properties (Deployment Assembly tab, although that might vary with your version of Eclipse), remove the line telling eclipse to include WebContent in the war and individually add all other folders/files
ptyx
  • 4,074
  • 1
  • 19
  • 21