Export to GitHub

hamcrest - issue #209

License file collision with android.


Posted on Jun 20, 2014 by Helpful Ox

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

Status: New