Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » @since and dependencies in API tooling
@since and dependencies in API tooling [message #803490] Tue, 21 February 2012 12:19 Go to next message
Thorsten Meinl is currently offline Thorsten MeinlFriend
Messages: 85
Registered: July 2009
Hi all,

I have a question regarding the API tooling checks for @since and bundle
dependencies with versions. Suppose you have a bundle A that depends on
bundle B in version 1.0.0. Now B gets a new type and its version is
increased to 1.1, the new type is flagged with @since 1.1. A now uses
the the new type but still requires B in version 1.0 which is obviously
wrong. I would expect API Tooling to find such errors but it doesn't
seem to work.

Re: @since and dependencies in API tooling [message #803678 is a reply to message #803490] Tue, 21 February 2012 16:52 Go to previous message
Curtis Windatt is currently offline Curtis WindattFriend
Messages: 166
Registered: July 2009
Senior Member
API Tooling does not check your dependencies, it checks that you have not broken API contracts. This is actually more closely related to PDE Core tooling. Such a feature is possible, but it could be very flaky as @since tags are in no way guaranteed to match the bundle version (API Tools encourages this behaviour in APIs, but it is not strictly enforced as there are different version schemes used). The only way to be sure that the dependency range is correct is to have each version of the bundle available to check.
Previous Topic:ContentAssistant and partitioned documents
Next Topic:Maven+Tycho build completes successfully, but product does not contain application
Goto Forum:

Current Time: Tue Aug 09 11:52:25 GMT 2022

Powered by FUDForum. Page generated in 0.02052 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top