On Thu, Nov 12, 2009 at 11:01 AM, Stian Soiland-Reyes <[email protected]> wrote: > what is in the pom file for the cdk-taverna plugin? Check that all its > dependencies go towards the correctly versioned dependencies of > Taverna 1.7.2.1 - otherwise Raven might try to load up Taverna 1.7.1 > libraries - where very likely the TavernaSPIRegistry has not been > initialized.
Ah, that sounds like a possible cause... I had only updated the taverna-java version from 1.7.1 to 1.7.2.1... The pom is at: http://cdk.svn.sf.net/viewvc/cdk/cdk-taverna/trunk/pom.xml?view=log There are other artifacts in there, but none that I recognized as Taverna... where can I best look up a list of artifacts matching the 1.7.2.1 release I need in this pom file? >> >> But the exception is thrown in CDKLocalWorkerRegistry during the >> initialization, so getClass() cannot be used... > > You should not need to initialize this when running the workbench.. > this can happen if your plugin depends on older version of libraries. > > However, if you still want to try, you can use > ((LocalArtifactClassLoader)(CDKLocalWorkerRegistry.class.getClassLoader())).getRepository() OK, I will try that in parallel... Thanx for your comments! Egon -- Post-doc @ Uppsala University Homepage: http://egonw.github.com/ Blog: http://chem-bla-ics.blogspot.com/ PubList: http://www.citeulike.org/user/egonw/tag/papers ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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
