Plugin project - Dependencies page (II)

27 January 2008

This post is in continuation of Plugin project - Dependencies page (I). Do read that before this one.

If your plug-in requires a specific version of a plug-in to function properly, then you can specify the version required along with the version match rule. You can read more about valid values in the Platform ISV guide.

The Eclipse runtime gives the flexibility to declare a dependency on a package without explicitly identifying its originating plug-in. These packages are listed in the Imported Packages section.

The Dependency Analysis contain several useful features such as finding cycles in the dependency graph. Such cycles are forbidden by the runtime, making the analysis useful for performing a sanity check on your plug-in’s dependency graph before testing it.

For a selected plug-in in the list, Compute Dependency Extent will give you a list of all the Java types and all the extension points that your plug-in needs from that dependency. So, in essence, it tells you why you need that plug-in.

Since the JARs from all the plug-ins in the list of dependencies will be on your plug-in’s classpath at runtime, it is very important to not have any dependencies that you do not need, as they would slow down classloading. To find such extraneous entries and remove them, use the Find Unused Dependencies feature available on this page.

del.icio.us:Plugin project - Dependencies page (II)  digg:Plugin project - Dependencies page (II)  spurl:Plugin project - Dependencies page (II)  wists:Plugin project - Dependencies page (II)  simpy:Plugin project - Dependencies page (II)  newsvine:Plugin project - Dependencies page (II)  blinklist:Plugin project - Dependencies page (II)  furl:Plugin project - Dependencies page (II)  reddit:Plugin project - Dependencies page (II)  fark:Plugin project - Dependencies page (II)  blogmarks:Plugin project - Dependencies page (II)  Y!:Plugin project - Dependencies page (II)  smarking:Plugin project - Dependencies page (II)  magnolia:Plugin project - Dependencies page (II)  segnalo:Plugin project - Dependencies page (II)  gifttagging:Plugin project - Dependencies page (II)

Top Of Page | Trackback

If you found this page useful, consider linking to it. Simply copy and paste the code below into your web site.

It will look like this: Plugin project - Dependencies page (II)

Leave a Reply