peterlck / hamcrest

Automatically exported from code.google.com/p/hamcrest
0 stars 0 forks source link

License file collision with android. #209

Open GoogleCodeExporter opened 10 years ago

GoogleCodeExporter commented 10 years ago
Hi all,

Apparently the license file LICENSE.txt is located in the root of the jar file 
and on android I got the following error:

[2014-06-20 15:13:16 - sbe-android-test] Error generating final archive: Found 
duplicate file for APK: LICENSE.txt
Origin 1: C:\Users\sixi\androidProjects\sbe-android-test\libs\junit-4.11.jar
Origin 2: 
C:\Users\sixi\androidProjects\sbe-android-test\libs\hamcrest-all-1.3.jar

I also posted this error to the junit guys that by mistake put in their jar 
file the license form hamcrest. (https://github.com/junit-team/junit/issues/627)

My question would be: is there a reason for the file to reside under the root 
of the jar file? Can't it be moved inside META-INF folder?

Thanks

Original issue reported on code.google.com by csoroiu@gmail.com on 20 Jun 2014 at 12:30