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

0.8.3 crashes under windows #56

Closed
joshmarcus opened this issue Jul 26, 2012 · 4 comments
Closed

0.8.3 crashes under windows #56

joshmarcus opened this issue Jul 26, 2012 · 4 comments

Comments

@joshmarcus
Copy link

I was using sbt-assembly as a git dependency, until the scripted-plugin stopped being available for sbt 0.11.3, so I switched to using 0.8.3 as a jar. But now assembly crashes under windows, and I can't figure out the cause:

[info] Including geotrellis_2.9.2-0.7.0-RC1.jar
[error] {file:/C:/Users/Administrator/projects/gt-hunchlab/}root/*:assembly: Err
or extracting zip entry 'META-INF/LICENSE' to 'C:\Users\ADMINI1\AppData\Local\T
emp\sbt_26b9328f\638941e23157ea788a0a1dea22ac3affe26e10b4\META-INF\LICENSE': jav
a.io.FileNotFoundException: C:\Users\ADMINI
1\AppData\Local\Temp\sbt_26b9328f\63
8941e23157ea788a0a1dea22ac3affe26e10b4\META-INF\LICENSE (Access is denied)
[error] Total time: 112 s, completed Jul 26, 2012 1:17:06 PM

@eed3si9n
Copy link
Member

I'd need a reproduction step to fix this. Does it crash on any project, or just your stuff?

@joshmarcus
Copy link
Author

Not sure how to recreate the minimal case at this point. It seems to be related to the fact I'm running assembly on a project that is dependent on the assembly output from another project. When I manually delete the LICENSE files from the jar file itself, it doesn't crash any longer.

@eed3si9n
Copy link
Member

The latest assembly should try to rename any license files to avoid name collision (earlier versions simply excluded them from the assembled jar). It's possible that the pattern matching logic is somehow not working for Windows even though I do try to account for the "\".

@joshmarcus
Copy link
Author

I did try master/0.8.4-SNAPSHOT on the dependent, but it didn't help. I manually removed LICENSE (and now MANIFEST.MF) from the original assembly, but I still crash at a duplicate entry ZipException on MANIFEST.MF (which I am discarding).

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