Ignore SVN files when exporting a WAR file from Eclipse?

Posted by Andrés Mejía on Stack Overflow See other posts from Stack Overflow or by Andrés Mejía
Published on 2009-08-18T16:12:31Z Indexed on 2010/05/16 14:30 UTC
Read the original article Hit count: 439

Filed under:
|
|

I have a Dynamic Web Project in Eclipse. I can pack it to a WAR by right-clicking the project and choosing Export > WAR File. This creates the WAR file as expected and it works.

The problem is that Eclipse includes all the .svn folders of the project into the WAR file.

Is there a way to tell Eclipse to ignore .svn folders in the WAR exporting process? Or even better, tell it to ignore all files or folders that match some given regular expression?

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about war