Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] jgit from master not buildable locally

Hello Matthias,

yes i have followed the contributor guide and also installed the
"Execution environment descriptions" and mapped them to Jre7.
Sometimes it looks like the incremental build in local Eclipse does
not work properly, because after changing the code or updating to new
master it has some more errors. With clean "all projects" (JGit and
EGit) it worked without the JavaSE 1.8 level.

Thanks,
Andre

2016-02-19 17:41 GMT+01:00 Matthias Sohn <matthias.sohn@xxxxxxxxx>:
> On Tue, Feb 16, 2016 at 4:12 PM, Bossert, Andre <anb0s@xxxxxxxx> wrote:
>>
>> Hello,
>>
>> i've the latest JGit master from today and cannot compile it locally
>> in my Eclipse, because of:
>> ...
>> The method ConcurrentHashMap.keySet() referenced in
>> org.eclipse.jgit.lib.RepositoryCache.getKeys() is not defined in the
>> bundle's required execution environment: JavaSE-1.7
>> ...
>>
>> If i change the execution environment to JavaSE-1.8 in MANIFEST.MF it
>> works. How does it work at CI server? Do i need something else for
>> local build, debug and test?
>>
>> May be i missed some details from:
>> https://wiki.eclipse.org/EGit/Contributor_Guide
>
>
> I can't reproduce this, also Java 7 has ConcurrentHashMap.keySet()
> https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ConcurrentHashMap.html#keySet()
>
> Did you install Execution environment descriptions
> https://wiki.eclipse.org/EGit/Contributor_Guide#Java_Requirements
> and mapped them to the respective JREs installed on your machine under
> Preferences > Java > Installed JREs
>
> -Matthias



-- 
Regards
Andre (anb0s)
eMail: anb0s@xxxxxxxx


Back to the top