On Fri, Sep 3, 2010 at 19:03, Jason Reilly <[email protected]> wrote:
> I am trying to add a plugin to Taverna.  I have the source checked out
> and I have it built locally.  I created two projects:
>
> taverna/engine/net.sf.taverna.t2.activities/rsp-ws-activity
>
> taverna/ui/net.sf.taverna.t2.ui-activities/rsp-ws-activity-ui


Hi, the recommended way to develop a plugin for Taverna is described
at 
http://www.mygrid.org.uk/dev/wiki/display/developer/Creating+plugins+for+Taverna+2
- and the procedure described there would not require you to modify
any Taverna source code or compile all of Taverna from scratch.

It is also important to be careful about Maven repositories if you
modify code without changing the pom.xml version numbers, as otherwise
you risk Taverna or Maven downloading the 'official' version from
http://www.mygrid.org.uk/maven/repository - for instance if the
original all-activities POM has already been downloaded from there and
exists in .taverna/repository, your modified version would not be
picked up.

If you build products/net.sf.taverna.t2.taverna-workbench/workbench-distro
using mvn clean install -Pnightly you should get a copy of the
required JARs and POMs in the repository/ folder of the produced zip -
if you emmit -Pnightly then the plugins.xml file will include
file:///your/home/.m2/repository and pick them up from there.

The danger with this last option is if you are doing a build from
trunk is that Maven will check for new -SNAPSHOT versions after 24h,
so if you don't rebuild all-activities you might get a 'newer' version
downloaded from http://www.mygrid.org.uk/maven/snapshot-repository/

For us Taverna developers this is generally a good thing, as we tend
to check in our work at least every day, and so it would be part of
the build for the next day for every developer, even if he didn't
rebuild that bit of the code.

-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/
Developers Guide: http://www.taverna.org.uk/developers/

Reply via email to