Hello all

I am renewing my question about Taverna plugin. How to make an existing
plugin work with Taverna (version 2.1b2)?
So far I know I should change plugins.xml file in Taverna to use new plugin
- but how do I know what to put as "dependencies" if I don't have it
specified together with the plugin?

What else should be done to make new plugin work with Taverna?

What do I do if while trying to compile a plugin I get lots of exceptions
about missing *.jars that cannot be downloaded automatically - but all the
jars ARE in plugin's lib directory - how to make Maven see them?

After including the plugin in plugins.xml and trying to launch Taverna v.
2.1b2 I get following output in debug window for several times:

2009-07-26 17:12:56 net.sf.taverna.raven.plugins.PluginManager ?
> SEVERE: Saved invalid XML to C:\Documents and Settings\Monika\Dane
> aplikacji\taverna-2.1-beta-2\plugins\plugins.xml


and the welcome window won't disappear and becomes frozen.. what could be
the reason? Where to look for information?

Regards
Monika

2009/7/25 Monika Machunik <[email protected]>

> Hi
>
> Thank you for explanations. But still I am unsure - how should the
> plugins.xml file modification look like? My plugins.xml does not contain
> Rshell, and I cannot find 'plugins.xml' file in your project. I don't know
> what dependencies should I include in plugin description in my plugins.xml
> file? How do I check that?
>
> Apart from that any artifacts that belong to your plugin must be available
>> to Taverna at runtime. This you may do by manually copying them in the lib
>> of Taverna or providing a classpath to taverna of those artifacts.
>>
>
> About copying the files: is it enough to copy them inside some other
> directory, or do all the jars have to be exactly in /lib directory.. I mean
> can I copy them under /lib/glite instead of /lib? If yes, how do I tell
> Taverna they are in /lib/glite directory?
>
> Thank you
> Monika
>
> 2009/7/23 Ketan Maheshwari <[email protected]>
>
>>  Monika
>> A while ago I tried to import the plugin project from eclipse to Netbeans
>> but unfortunately I ran into same problems of unresolved maven depedencies.
>> One thing i want to try is to create a new maven project in Netbeans from
>> scratch and copy the sources as they are from eclipse to Netbeans. I am not
>> sure if it will work like that.
>>
>> In order to install the plugin into Taverna2 you will need to plug an xml
>> description of your plugin into the plugins.xml of your Taverna
>> implementation. You can take inspiration from already available descriptions
>> for Rshell plugin for instance. Or you can also take a look at the
>> plugins.xml in my project.
>>
>> Apart from that any artifacts that belong to your plugin must be available
>> to Taverna at runtime. This you may do by manually copying them in the lib
>> of Taverna or providing a classpath to taverna of those artifacts. I suppose
>> these should automatically be transferred to the Taverna lib at the time of
>> 'maven install' but not happening in my environment and is one of the todo
>> for me at the moment.
>>
>> Hope that helps.
>>
>> Regards
>> Ketan
>>
>> On Thu, Jul 23, 2009 at 12:25 AM, Monika Machunik <
>> [email protected]> wrote:
>>
>>> Hi!
>>>
>>> Thank you for the link:)
>>>
>>> Tell me two more things:
>>> - how to build your plugin (when I open and build it in Netbeans (with
>>> Maven), I get number of missing dependencies (glite jar files) which can be
>>> resolved only manually - how can I resolve them manually?)
>>> - how to install your plugin into Taverna?
>>>
>>> Regards
>>> Monika
>>>
>>>
>>> 2009/7/21 Ketan Maheshwari <[email protected]>
>>>
>>> Monika
>>>>
>>>> I have been writing a Taverna2 plugin for gLite/EGEE interface. You may
>>>> take a look at it here:
>>>>
>>>> http://code.google.com/p/glite/
>>>>
>>>> Regards
>>>> Ketan
>>>>
>>>> On Sun, Jul 19, 2009 at 11:57 PM, Wei Tan <[email protected]> wrote:
>>>>
>>>>> Hi Monika,
>>>>>
>>>>>   I would suggest you to look at the code here
>>>>> http://code.google.com/p/taverna/source/checkout
>>>>> What you will do is like a new activity type. The most similar activity
>>>>> from existing Taverna code is the beanshell activity which has multiple
>>>>> input/output ports and executes a Java program inside.
>>>>> Of course beanshell is more general and your plug-in is more
>>>>> application
>>>>> specific. But if you think of the routine in intracting with Taverna
>>>>> workbench, they are quite similar.
>>>>>
>>>>>  Thanks,
>>>>>
>>>>> Wei
>>>>>
>>>>>
>>>>> Egon Willighagen wrote:
>>>>> > Hi Monika,
>>>>> >
>>>>> > On Sat, Jul 18, 2009 at 11:13 AM, Monika
>>>>> > Machunik<[email protected]> wrote:
>>>>> >
>>>>> >> Could you advise me what to start with? Do I have to download some
>>>>> sources
>>>>> >> from svn? Which ones?
>>>>> >> How to write plugins for Taverna?
>>>>> >>
>>>>> >
>>>>> > Are you aiming at Taverna2 or Taverna1? If the former, you could look
>>>>> > at the code I have up at:
>>>>> >
>>>>> > http://github.com/egonw/xws-taverna/tree/master
>>>>> >
>>>>> > which defines a single, new activity. I'm not a Taverna developer,
>>>>> but
>>>>> > the code is largely derived from code examples from the Taverna2
>>>>> > repository.
>>>>> >
>>>>> > The README at the above URL is sufficient to get my code running, but
>>>>> > given the rather small code base, it should be easy to transform the
>>>>> > activity to your needs...
>>>>> >
>>>>> > There are actually many improvements possible to my code, and was
>>>>> > wondering if you are blogging about your efforts? I'm looking forward
>>>>> > to your experiences with writing Taverna2 plugins, so that my code
>>>>> > could possibly benefit from it too...
>>>>> >
>>>>> > Egon
>>>>> > (egonw @ #taverna @ irc.freenode.net)
>>>>> >
>>>>> >
>>>>>
>>>>> --
>>>>> Wei Tan, Ph.D.
>>>>> Computation Institute
>>>>> the University of Chicago|Argonne National Laboratory
>>>>> http://www.mcs.anl.gov/~wtan <http://www.mcs.anl.gov/%7Ewtan>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Enter the BlackBerry Developer Challenge
>>>>> This is your chance to win up to $100,000 in prizes! For a limited
>>>>> time,
>>>>> vendors submitting new applications to BlackBerry App World(TM) will
>>>>> have
>>>>> the opportunity to enter the BlackBerry Developer Challenge. See full
>>>>> prize
>>>>> details at: http://p.sf.net/sfu/Challenge
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Ketan C Maheshwari
>>>> http://www.i3s.unice.fr/~ketan <http://www.i3s.unice.fr/%7Eketan>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Enter the BlackBerry Developer Challenge
>>>> This is your chance to win up to $100,000 in prizes! For a limited time,
>>>> vendors submitting new applications to BlackBerry App World(TM) will
>>>> have
>>>> the opportunity to enter the BlackBerry Developer Challenge. See full
>>>> prize
>>>> details at: http://p.sf.net/sfu/Challenge
>>>> _______________________________________________
>>>> 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
>>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> 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
>>>
>>
>>
>>
>> --
>> Ketan
>> http://www.i3s.unice.fr/~ketan <http://www.i3s.unice.fr/%7Eketan>
>> [Ad space available for sale!]
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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
>>
>
>
------------------------------------------------------------------------------
_______________________________________________
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