Exclude specific file(s) from WAR artifact

Answered

Hi all, I've a java/javascript web app project, that's configured to build a WAR file. There's one or two files in the Web folder that are used when testing and debugging the web app, but that I don't want included in the WAR file. I've looked at some old posts, where people have asked similar things, and the answers all seem to be "configure it on the artifact settings page", but I simply don't see any option on here to include a web facet but exclude specific files (or a file mask) from the artifact.

So is this kind of thing possible? Or is there something I should do around creating a second web facet?

Cheers, D

Please sign in to leave a comment.