I have a modular Dynamic Web Project in Eclipse. When I try to publish this project to my embedded Tomcat server, I get this error:
Publishing failed
Error creating zip file XXX-web.jar: duplicate entry: .svn/entries
duplicate entry: .svn/entries
Error creating zip file XXX-domain.jar: duplicate entry: .svn/entries
duplicate entry: .svn/entries
Error creating zip file XXX-services.jar: duplicate entry: .svn/entries
duplicate entry: .svn/entries
Error creating zip file XXX-repository.jar: duplicate entry: .svn/entries
duplicate entry: .svn/entries
It's clear there is a problem creating the JARs because of the SVN files, but how can I instruct Eclipse to ignore anything in the .svn directory during the creation of JARs?