[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[tigerstripe-dev] Exposing PluginManager and supporting classes?
|
- From: "Jim Strawn (jistrawn)" <jistrawn@xxxxxxxxx>
- Date: Wed, 27 Feb 2008 11:12:53 -0800
- Authentication-results: sj-dkim-1; header.From=jistrawn@cisco.com; dkim=pass ( sig from cisco.com/sjdkim1004 verified; );
- Delivered-to: tigerstripe-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; l=3819; t=1204139576; x=1205003576; c=relaxed/simple; s=sjdkim1004; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=jistrawn@cisco.com; z=From:=20=22Jim=20Strawn=20(jistrawn)=22=20<jistrawn@cisco. com> |Subject:=20Exposing=20PluginManager=20and=20supporting=20c lasses? |Sender:=20; bh=OZYef7JOhzu1F5UGMKkeMUFQdkg4iDvZqZrDYQOBvxc=; b=nH/iKZDcb33RkNYAHybYErC26fmgZCUMAfP/WFxvU37UJca6ylmwfZOn3E ucjJcTEcZtPjs5BWx3YoL7yapJ6GCsPCrBQz3MGaq2uhe/5aDSHRfuRXMq6s ldHeY1u+ynXPJC4ntPP0PNhQ2FhwPVOS3IoexxYNoDTYfhvx6BCRE=;
- Thread-index: Ach5dMDeDxX1B71yQBClNK1Nvk/E/A==
- Thread-topic: Exposing PluginManager and supporting classes?
Hey
Eric,
I am looking at
dynamically changing the versions of enable plugins for a project via Maven/ANT.
It would be helpful to be able to determine all of the installed plugins for
this task. I noticed that I can get this information from the PluginManager.java
class, but the class is in an internal pkg. Could we expose these classes (or a
subset?)? Is there a query method already exposed that I am missing, by
chance?
What I am thinking
here is say version 1.4 of plugin x is enabled via Tigerstripe.xml. 1.4 is
not installed in the new eclipse/ts workbench environment because the user would
like to use 1.5 (setting this value in the pom.xml file). Maven would
retrieve and install 1.5. I would then need to enable 1.5 for the
project.
If I can determine
that 1.5 is installed, I can then disable 1.4 and enable 1.5 for the project and
the build can proceed. If it is not installed, I can throw an error and the
build will fail. This would help in moving all build settings to the
Maven/ANT builds instead of manually having to update Tigerstripe.xml for each
change.
Thanks,
Jim