[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [pde-dev] API tooling question
|
(sorry, reposting to the mailing list)
On 26.10.2010 14:32, Premek Brada wrote:
Hello,
thanks for a reply. (after a pause caused by other work) I am still
getting the same behaviour on both a contrived trivial example and
when baselining an existing bundle application.
On 12.10.2010 16:00, Darin Wright wrote:
<snip>
Now I expected that the changes in the interface would result in errors
being reported for the ApiInterface class, since it clearly breaks
compatibility with the baseline, and also for the manifest. But
nothing
happens, and when I manually run Compare with> API baseline, "No
changes have been found".
What am I doing wrong? (I have Eclipse 3.6.1 Build id: M20100909-0800
from clean "Eclipse Classic" download)
How did you make the API baseline? Did you enable the project for API
analysis?
Yes I did enable both the "API baseline" plugin project and the
"revision 2" project for API analysis.
The baseline was created by assembling the bundle .jar via "File >
Export > Plugin dev > Deployable plugins" putting it in a
d:\tmp\plugins directory. Then, I defined a new API baseline
(Preferences > Plug-in dev > API Baselines) pointed to that directory.
Basically, I tried to follow
http://www.eclipse-tips.com/tutorials/26-api-tooling-tutorial as well
as http://wiki.eclipse.org/PDE/API_Tools/User_Guide with a trivial API
baseline.
I captured a 10-min video showing the whole process, if that would
help please see
http://www.kiv.zcu.cz/~brada/tmp/eclipse-pde-api-tooling-problem.avi .
Note that the API baseline must contain all prerequisite bundles.
What are the prerequisite bundles? If the baseline bundles are
self-contained (do not declare any package or bundle imports outside
of their set), then I would assume no other bundles need to be part of
the baseline.
Premek
--
Premek Brada (Ing et MSc, PhD)
Lecturer in Software enginering, Webmaster
Department of Computer Science and Engineering
University of West Bohemia, Pilsen, CZ
<< brada at kiv.zcu.cz | www.kiv.zcu.cz/~brada/ | +420-377-63-2435>>