On Wed, Dec 8, 2010 at 00:12, Mahsa Naseri <[email protected]> wrote:

> I have been playing with the taverna provenance client for a while.
> I am trying to build the maven provenance client project with eclipse.
> I check out the project with svn, but when I Run as "mvn install", it keeps
> returning this error:


> cannot find symbol
> symbol  : method
> setSelect(java.util.List<net.sf.taverna.t2.provenance.lineageservice.utils.QueryVar>)
> location: class net.sf.taverna.t2.provenance.api.Query

Hi, I am able to reproduce this error if I check out
http://mygrid-labs.googlecode.com/svn/provenance-client/trunk/

Note that this is experimental code and that the APIs might change.
We've planned effort to re-integrate the latest provenance client code
to the next Taverna 2.3, due in Q1 2011.



The problem seems to be that the provenance-client depends on a
modified version of the library provenance-client, which has not yet
been deployed to the snapshot repository.

However, if I check out and build that library from
  http://mygrid-labs.googlecode.com/svn/provenance-client/trunk/
and rebuild provenance-client I get other, more severe errors:


[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] 
/home/stain/9211/provenance-client/src/main/java/net/sf/taverna/t2/provenance/api/client/ProvenanceAPISampleClient.java:[24,39]
cannot find symbol
symbol  : class ProvenanceQueryParser
location: package net.sf.taverna.t2.provenance.api
[ERROR] 
/home/stain/9211/provenance-client/src/main/java/net/sf/taverna/t2/provenance/api/client/ProvenanceAPISampleClient.java:[27,39]
cannot find symbol
symbol  : class QueryParseException

..
[ERROR] 
/home/stain/9211/provenance-client/src/main/java/net/sf/taverna/t2/provenance/api/client/NativeToDataONEModel.java:[361,34]
cannot find symbol
symbol  : class ProvenanceQueryParser
location: class net.sf.taverna.t2.provenance.api.client.NativeToDataONEModel
[INFO] 21 errors


This seems to be due to a refactoring -  for instance
net.sf.taverna.t2.provenance.api.ProvenanceQueryParser is now in
./provenance-client/src/main/java/net/sf/taverna/t2/provenance/client/XMLQuery/ProvenanceQueryParser.java

I suspect that after refactoring not every class has been fully
committed or updated.


I've copied our researcher who is responsible for this code, but I
know he's on holiday for the next weeks. Unfortunately there are no
known tags or branches of this code - so I don't know how you can
easily get some workable code except just climb incrementally back in
time in both libraries until it works.. :-(


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

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
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