2010/1/28 soiland-reyes <[email protected]>:

> Wei - what would you prefer? OSX 10.6 security support, or your plugin to 
> work in both? The problem could be that if you depend on a new credential 
> manager, but a user installs the cagrid plugin into Taverna 2.1.0, then he 
> would be using a different credential manager than the 2.1.0 manager, and the 
> 2.1.1 manager would not have any user interface. (Unless you pull in those as 
> well, but then you would get two credmanagers under the Advanced menu)

As I'm checking the cagrid-activity, I realise that it is using
net.sf.taverna.t2.workbench.ui.actions.activity.HTMLBasedActivityContextualView<ConfigBean>
- as most other activities.

It turns out that this abstract class is friendly enough placed in
contextual-views-impl - which is on the list to be upgraded.  Nothing
would be wrong if there was just HTMLBasedActivityContextualView in
this module (just two implementations doing the same thing), but
there's also various contextual views for output ports, datalinks,
etc.  - in addition to the
net.sf.taverna.t2.workbench.ui.views.contextualviews.ContextualViewComponentFactory
- if we have two implementations of these loaded I bet we will get the
good old MyClass is not a MyClass problem again.


So this module plays three roles at once - breaking our dependencies
and making it quite impossible to do said online upgrade without
breaking any activity.

We've gone through different kinds of hacks we could do to push this
patch in, like making the DataflowActivity use a different
InvocationContext or WorkflowInstanceFacade, but in all cases we end
up with a rapid expansion of dependencies that we would also need to
patch the version number of.

We've come down to one such attempt that might reduce the changes to
just various ui-components like graph-view, ui-activities, loop-ui,
perspective-myexperiment, menu-items, reference-ui, results-view,
perspective-results, run-ui, data-management-config-ui,
perspective-design

I'll explore this further tomorrow.


-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/
Developers Guide: http://www.mygrid.org.uk/tools/developer-information

Reply via email to