-
Notifications
You must be signed in to change notification settings - Fork 223
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
Comments
I'd need a reproduction step to fix this. Does it crash on any project, or just your stuff? |
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. |
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 |
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). |
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\ADMINI
1\AppData\Local\T1\AppData\Local\Temp\sbt_26b9328f\63emp\sbt_26b9328f\638941e23157ea788a0a1dea22ac3affe26e10b4\META-INF\LICENSE': jav
a.io.FileNotFoundException: C:\Users\ADMINI
8941e23157ea788a0a1dea22ac3affe26e10b4\META-INF\LICENSE (Access is denied)
[error] Total time: 112 s, completed Jul 26, 2012 1:17:06 PM
The text was updated successfully, but these errors were encountered: