Hi, perhaps somebody can help me with my problem. I have developed plugin
for AIDA toolkit for Marco Roos.  A perspective plug in similar to
myexperiments plugin for Taverna. Back in may/june it used to work for
2.1-SNAPSHOT, nightly build 20090506. Has there been any significant changes
between the two version ?

I have adjusted the pom.xml, I am quite sure now that  I am using the
correct libraries needed for the Taverna 2.1-beta.2, because I look at the
Taverna repository in this release, and I had matched all needed
dependencies. What I am not sure is the configuration file where mapping
between net.sf.taverna.t2.workbench.ui.zaria.UIComponentFactorySPI and the
perspective factory for my plug in is defined.

Now I have this class cast exception :
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException:
org.vle.aid.taverna.AIDComponentFactory cannot be cast to
net.sf.taverna.t2.workbench.ui.zaria.UIComponentFactorySPI
    at
net.sf.taverna.t2.workbench.ui.impl.WorkbenchZBasePane.getMenuItem(WorkbenchZBasePane.java:50)


The mapping that I meant was an xml description containing the following
information, which used to be located under resources of the plug in :
<basepane>
  <child>
    <znode classname="net.sf.taverna.zaria.ZRavenComponent">
      <namedcomponent scroll="false">
        <name>AID Plugin</name>
      </namedcomponent>
    </znode>
  </child>
  <namedcomponents>
    <namedcomponent>
      <groupid>org.vle.aid.taverna</groupid>
      <artifact>aid-plugin</artifact>
      <classname>org.vle.aid.taverna.AIDComponentFactory</classname>
      <name>AID Plugin</name>
    </namedcomponent>
  </namedcomponents>
</basepane>


Has there been any changes on where to put this information ?

Any help would be appreciated.

Thank you very much in advance,

Wibi.
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
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