On 20/10/2012 22:45, Dan C. Wlodarski wrote:
> Hello again, Taverna hackers!

Hello

> As I'm interested in starting a rather important development cycle for
> my lab, I'm getting rather frustrated with Eclipse.

> I've opted to try
> following the Taverna 2 service invocation plugin tutorial by
> command-line. I'm using the following command to generate the default
> plugin from the Taverna project archetype:
>
>     mvn -B archetype:generate \
>     -DarchetypeRepository=http://www.mygrid.org.uk/maven/repository/ \
>     -DgroupId=edu.wright.cs.birg.myfancytool \
>     -DartifactId=myfancytool-taverna \
>     -Dpackage=edu.wright.cs.birg.myfancytool.taverna \
>     -DarchetypeGroupId=net.sf.taverna.t2.archetypes \
>     -DarchetypeArtifactId=taverna-activity-archetype \
>     -DarchetypeVersion=1.3
>
>
> After executing this command Maven itself seems to be cooperating. I get
> a nice list of downloading libraries and a populated .m2 directory under
> my home path at the end. Also, commands like "mvn clean install" work
> inside the generated myfancytool-taverna directory as well. When I try
> to build the final project via javac, however, I'm getting a
> "DeveloperWorkbench symbol not found" error.

I'm not clear what you mean by "try to build the final project via 
javac". What command are you running?

Once you have run mvn install on the top level, you should get in the 
target directory of myfancytool-taverna-plugin, a file called
myfancytool-taverna-plugin-1.0-SNAPSHOT.xml. That is the information 
about your plugin. You need to put this XML file somewhere accessible 
and also to create another file that lists it - see 
http://dev.mygrid.org.uk/wiki/display/developer/Tutorial+-+Deploying+a+Taverna+plugin

Have you specified your repositories in the pom.xml of 
myfancytool-taverna? You will need to specify that and then run mvn 
deploy to upload your generated artifacts to your repository.

Once those artifacts have been deployed you should be able to install 
your plugin into Taverna under Advanced -> Updates and plugins.

If you want a skype chat or webex to help with this, just ask and we can 
arrange a time.

> Obviously, I'm missing some
> Taverna libraries from my build, but what's the typical path for those
> libs? Are they usually under the aforementioned .m2 directory?

Alan

> Thanks for any guidance,
> Dan C. Wlodarski
> Grad. Research Assistant
> WSU Bioinformatics Research Group (BiRG)

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
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