On Tue, Oct 19, 2010 at 19:07, Jason Reilly <[email protected]> wrote:
> As an alternative to the above options, do you see any problems with just > copying over dependencies to the 'T2_HOME/lib' directory? By T2_HOME - I assume you mean the installation directory (where taverna.exe/taverna.sh resides). $HOME/.taverna-2.2.0/lib and equivalent is not dynamically added to the classpath on startup - it is used only by the Beanshell and API consumer activities when scripting against external libraries. Copying into the installation directory's lib/ folder could work - but you'll have to make sure you copy all of the JARs also needed by axiom and so on - basically every JAR you get under 'Maven dependencies' in Eclipse if you depend on solely Axiom. Shortly - anything a JAR in lib/ depends on also needs to be in lib/ - again they can't climb down into the individual plugins, but they can see each-other. Don't copy any of the Taverna or your plugin's JARs to lib/ as you won't find out when to stop.. As long as the libraries you copy into lib/ are not used in a different version by other plugins in Taverna it (as the lib/ JARs are global) should probably be fine. Worth a try - but unfortunately also makes installation of your plugin a bit trickier. (We do have a programmatic way to modify the global classloader built over lib/ - but I would not generally recommend touching that. We have to do that for the API consumer plugin when using JNI-based JARs) -- Stian Soiland-Reyes, myGrid team School of Computer Science The University of Manchester ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ taverna-users mailing list [email protected] [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/about/contact-us/
