Got it... I vaguely remembered somebody mentioning that if you have a dependency on axis you have to be very careful. One of my dependencies in turn depended on axis2, whereas the plugin itself depended on axis1. By adding an exclusion to the dependency that referenced axis2, and making sure I didn't use any part of it that required that dependency to be loaded, I managed to make the plugin load OK. (Still need to restart T2 workbench to see it though, same as for the cagrid plugins).
Could do with some more helpful error messages/stacktraces though! :) Thanks for your help today. cheers, Richard. Richard Holland wrote: > With logging turned on to FINEST as suggested, still no luck. No > exceptions, no WARN or ERROR messages, nothing. Just won't load! > > Would it help if I sent my code to someone to take a look? > > Richard Holland wrote: >> Thanks for the answers Alan! >> >>>> When installing my new plugin, which is installed only in my local ~/.m2 >>>> repository with pluginlist.xml etc. in a private apache instance, it >>>> appears to load fine in the plugin manager and appear in the list of >>>> installed plugins. >>> Does it load correctly initially? i.e. can you use it as you expect? >> It appears to load correctly when first added, and appears correctly in >> the list of installed plugins. But none of the plugin GUI components >> appear. In fact I noticed also with the cagrid plugins at >> http://www.mcs.anl.gov/~wtan/t2/ that their plugin also has no effect >> until after the T2 workbench is restarted. Should plugins have immediate >> effect or is a restart always required? >> >>>> When I then restart T2 workbench (current release download from >>>> http://www.mygrid.org.uk/tools/taverna/taverna-2-0/download-taverna-2-0/ >>>> ), in the progress bar below the splash screen I get "<...my plugin name >>>> here...> - DependencyFailure' for about half a second. Needless to say >>>> the plugin does not get loaded, but it does still appear in the plugin >>>> manager. >>> DependencyFailure normally indicates that Raven cannot resolve a child >>> dependency of an artifact. >>> >>> You can alter Raven's logging: >>> >>> To modify java.util.logging settings and get debug messages from Raven, >>> you can specify a system property >>> >>> -Djava.util.logging.config.file=blah/bluh/logging.conf >>> and in logging.conf specify something like: >>> >>> handlers=java.util.logging.ConsoleHandler >>> #.level= FINEST >>> net.sf.taverna.level=FINEST >>> java.util.logging.ConsoleHandler.level = FINEST >>> java.util.logging.ConsoleHandler.formatter = >>> java.util.logging.SimpleFormatter >>> >>> >>>> This would be fine if it then told me somewhere what the dependency >>>> failure was, but it doesn't! There is no associated stacktrace or error >>>> message on the console. How do I find out what this dependency failure >>>> is? The plugin compiles fine with mvn install on the command line. >>> Can you try altering the logging? You should be able to get a trace. >>> I'll check if there is a Jira issue for the plugin manager's feedback. >> I'll give the logging a go and let you know how I get on. >> >> thanks, >> Richard >> >>>> thanks, >>>> Richard >>> Alan >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA >>> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise >>> -Strategies to boost innovation and cut costs with open source participation >>> -Receive a $600 discount off the registration fee with the source code: SFAD >>> http://p.sf.net/sfu/XcvMzF8H >>> _______________________________________________ >>> taverna-hackers mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/taverna-hackers >>> Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html >>> FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq >>> > -- Richard Holland, BSc MBCS Finance Director, Eagle Genomics Ltd T: +44 (0)1223 654481 ext 3 | E: [email protected] http://www.eaglegenomics.com/ ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ taverna-hackers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/taverna-hackers Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq
