Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Strategy for ensuring 1.5 API compatibility on OS X?

Assuming that you are doing this in the context of PDE projects, the PDE API tools provide such a feature.
See under Preferences > Plugin dev > API Errors / Warning > API Use > General > invalid references to execution env

Otherwise Maven has some plugins of its own like animal sniffer

On 2011-09-28, at 9:47 PM, Miles Parker wrote:

> 
> Hi all,
> 
> I've been running into the problem of using Java 1.6 API; namely String.isEmpty and I imagine it's driving my Windows compatriots nuts. It's a pain in the neck because OSX doesn't provide a 1.5 JDK to build against. There are a number of byzantine work-arounds (e.g. see: http://stackoverflow.com/questions/3762854/detecting-non-1-5-java-code-while-developing-on-a-mac-under-1-6) which seem to me to be more trouble then they are worth. I'm inclined to punt this issue to the build server as it should be protecting against this sort of thing anyway. But I'm wondering if there is anyway to handle this with the API tools or what other Mac committer's practices are.
> 
> cheers,
> 
> Miles
> _______________________________________________
> cross-project-issues-dev mailing list
> cross-project-issues-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev



Back to the top