Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jar related operations error out with "duplicate entry" when .svn and other files #208

Closed
dirtyvagabond opened this issue Jun 2, 2011 · 0 comments

Comments

@dirtyvagabond
Copy link

While running "lein uberjar" on a subversion hosted project, we were getting this error:
java.util.zip.ZipException: duplicate entry: .svn/entries

Googling led to a page that had the same error due to being on a mac and having .DS_Store files. Long story short, adding this to our project.clj solves the problem:
:jar-exclusions [#".svn" #".DS_Store"]

Maybe lein should make this exclusion by default, for these and any other similar files that cause this problem? The thing is, no one ever wants to jar up their .svn and .DS_Store files, and this error is a real show stopper for any operations that involve jarring up the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants