开发者

Exclude /WebContent/images folder from war in eclipse

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.


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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜