Hi,
I'm trying to write a simple plugin for Taverna 2 that implements a
new local worker activity. By looking at the source code for the
StringConstantActivity, I managed to create a simple test plugin.
However, now I have troubles loading it in Taverna. This is what I did
so far:
- Installed the plugin jar to my local maven repository (using "mvn
clean install")
- Added the plugin to the plugins.xml file in my Taverna installation
(see attached file, the last plugin entry)
- Run Taverna
When looking at the installed plugins in the plugin manager, I see
that my plugin is recognized, but disabled (it says "This plugin is
disabled; This plugin is incompatible"). Also, in the console output,
I see this error:
Jul 13, 2009 11:44:34 AM net.sf.taverna.raven.plugins.PluginManager ?
SEVERE: Saved invalid XML to
/home/thomas/.taverna-2.1-beta-2/plugins/plugins.xml
I checked the plugins.xml against the xsd using xmlstarlet and it
validates, so I'm not sure what's wrong here. Is it possible to
configure the logger to generate a more detailed error message to
track the exact cause here? Any help would be appreciated.
Thanks,
Thomas
<?xml version="1.0" encoding="UTF-8"?>
<plugins:plugins xmlns:plugins="http://taverna.sf.net/2008/xml/plugins"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://taverna.sf.net/2008/xml/plugins http://taverna.sourceforge.net/2008/xml/plugins/plugins-2008-10-16.xsd ">
<plugin>
<provider>taverna.sf.net</provider>
<identifier>net.sf.taverna.t2.components</identifier>
<version>2.1-beta-2-20090629</version>
<name>Workbench components</name>
<description>Taverna 2 workbench user interface</description>
<enabled>true</enabled>
<repositories>
<repository>http://www.mygrid.org.uk/maven/snapshot-repository/</repository>
<repository>http://www.mygrid.org.uk/maven/repository/</repository>
<repository>http://bioinf.ncl.ac.uk/mirror/maven/repository/</repository>
<repository>http://mirror.omii.ac.uk/maven/repository/</repository>
<repository>http://www.mygrid.org.uk/maven/repo1/</repository>
<repository>http://moby.ucalgary.ca/moby_maven/</repository>
<repository>http://biomoby.org/m2repo/</repository>
<repository>http://repository.jboss.com/maven2/</repository>
<repository>http://download.java.net/maven/2/</repository>
<repository>http://ibiblio.lsu.edu/main/pub/packages/maven2/</repository>
<repository>http://ws.zones.apache.org/repository2/</repository>
<repository>http://www.eviware.com/repository/maven2/</repository>
</repositories>
<profile>
<dependency>
<groupId>net.sf.taverna.t2.taverna-workbench.plugins</groupId>
<artifactId>components-plugin</artifactId>
<version>2.1-beta-2</version>
</dependency>
<!-- system artifacts -->
<artifact artifactId="saxpath" groupId="saxpath" version="1.0-FCS"
system="true" />
<artifact artifactId="jaxen" groupId="jaxen" version="1.0-FCS"
system="true" />
<artifact artifactId="xercesImpl" groupId="xerces" version="2.7.1"
system="true" />
<artifact artifactId="xalan" groupId="xalan" version="2.6.0"
system="true" />
<artifact artifactId="dom4j" groupId="dom4j" version="1.6"
system="true" />
<artifact artifactId="log4j" groupId="log4j" version="1.2.12"
system="true" />
</profile>
<compatibility>
<application>
<version>2.1-beta-2</version>
</application>
</compatibility>
</plugin>
<plugin>
<provider>taverna.sf.net</provider>
<identifier>net.sf.taverna.t2.activities</identifier>
<version>2.1-beta-2-20090629</version>
<name>Services</name>
<description>Taverna 2 services (WSDL, SoapLab, etc)</description>
<enabled>true</enabled>
<repositories>
<repository>http://www.mygrid.org.uk/maven/snapshot-repository/</repository>
<repository>http://www.mygrid.org.uk/maven/repository/</repository>
<repository>http://bioinf.ncl.ac.uk/mirror/maven/repository/</repository>
<repository>http://mirror.omii.ac.uk/maven/repository/</repository>
<repository>http://www.mygrid.org.uk/maven/repo1/</repository>
<repository>http://moby.ucalgary.ca/moby_maven/</repository>
<repository>http://biomoby.org/m2repo/</repository>
<repository>http://repository.jboss.com/maven2/</repository>
<repository>http://download.java.net/maven/2/</repository>
<repository>http://ibiblio.lsu.edu/main/pub/packages/maven2/</repository>
<repository>http://ws.zones.apache.org/repository2/</repository>
<repository>http://www.eviware.com/repository/maven2/</repository>
</repositories>
<profile>
<dependency>
<groupId>net.sf.taverna.t2.taverna-workbench.plugins</groupId>
<artifactId>activities-plugin</artifactId>
<version>2.1-beta-2</version>
</dependency>
</profile>
<compatibility>
<application>
<version>2.1-beta-2</version>
</application>
</compatibility>
</plugin>
<plugin>
<provider>taverna.sf.net</provider>
<identifier>net.sf.taverna.t2.translators</identifier>
<version>2.1-beta-2-20090629</version>
<name>Compatibility</name>
<description>Taverna 1 compatibility</description>
<enabled>true</enabled>
<repositories>
<repository>http://www.mygrid.org.uk/maven/snapshot-repository/</repository>
<repository>http://www.mygrid.org.uk/maven/repository/</repository>
<repository>http://bioinf.ncl.ac.uk/mirror/maven/repository/</repository>
<repository>http://mirror.omii.ac.uk/maven/repository/</repository>
<repository>http://www.mygrid.org.uk/maven/repo1/</repository>
<repository>http://moby.ucalgary.ca/moby_maven/</repository>
<repository>http://biomoby.org/m2repo/</repository>
<repository>http://repository.jboss.com/maven2/</repository>
<repository>http://download.java.net/maven/2/</repository>
<repository>http://ibiblio.lsu.edu/main/pub/packages/maven2/</repository>
<repository>http://ws.zones.apache.org/repository2/</repository>
<repository>http://www.eviware.com/repository/maven2/</repository>
</repositories>
<profile>
<dependency>
<groupId>net.sf.taverna.t2.taverna-workbench.plugins</groupId>
<artifactId>translators-plugin</artifactId>
<version>2.1-beta-2</version>
</dependency>
</profile>
<compatibility>
<application>
<version>2.1-beta-2</version>
</application>
</compatibility>
</plugin>
<plugin>
<provider>taverna.sf.net</provider>
<identifier>net.sf.taverna.t2.taverna-workbench.provenanceconnectors-plugin</identifier>
<version>2.1-beta-2-20090629</version>
<name>Provenance storage support</name>
<description>Provenance connectors (Apache Derby)</description>
<enabled>true</enabled>
<repositories>
<repository>http://www.mygrid.org.uk/maven/snapshot-repository/</repository>
<repository>http://www.mygrid.org.uk/maven/repository/</repository>
<repository>http://bioinf.ncl.ac.uk/mirror/maven/repository/</repository>
<repository>http://mirror.omii.ac.uk/maven/repository/</repository>
<repository>http://www.mygrid.org.uk/maven/repo1/</repository>
<repository>http://moby.ucalgary.ca/moby_maven/</repository>
<repository>http://biomoby.org/m2repo/</repository>
<repository>http://repository.jboss.com/maven2/</repository>
<repository>http://download.java.net/maven/2/</repository>
<repository>http://ibiblio.lsu.edu/main/pub/packages/maven2/</repository>
<repository>http://ws.zones.apache.org/repository2/</repository>
<repository>http://www.eviware.com/repository/maven2/</repository>
</repositories>
<profile>
<dependency>
<groupId>net.sf.taverna.t2.taverna-workbench.plugins</groupId>
<artifactId>provenanceconnectors-plugin</artifactId>
<version>2.1-beta-2</version>
</dependency>
</profile>
<compatibility>
<application>
<version>2.1-beta-2</version>
</application>
</compatibility>
</plugin>
<plugin>
<provider>org.bridgedb</provider>
<identifier>org.bridgedb.t2plugin</identifier>
<version>0.1</version>
<name>BridgeDb</name>
<description>BridgeDb activities</description>
<enabled>true</enabled>
<repositories>
<repository>http://localhost/maven/repository/</repository>
</repositories>
<profile>
<dependency>
<groupId>org.bridgedb</groupId>
<artifactId>t2plugin</artifactId>
<version>0.1</version>
</dependency>
</profile>
<compatibility>
<application>
<version>2.1-beta-2</version>
</application>
</compatibility>
</plugin>
</plugins:plugins>
------------------------------------------------------------------------------
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-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/