Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Problem reproducing EOL Tool Simmetrics Example
Problem reproducing EOL Tool Simmetrics Example [message #587076] Sun, 07 March 2010 11:36 Go to next message
Anne is currently offline AnneFriend
Messages: 37
Registered: July 2009
Member
Hi,

I'm stuck trying to reproduce the Simmetrics Tool example. I'm exporting the tool as a plugin, place in the dropins folder and can see it in the Epsilon perspective in the tools tab. No problem there. However, when trying to use the similarity function, I keep getting a class not found exception: java.lang.ClassNotFoundException: uk.ac.shef.wit.simmetrics.similaritymetrics.JaroWinkler

I'm really no expert creating Eclipse plugins. So I have been putting the library in the plugin's build path and added it to the bundle-class path ... with little success.

What am I overlooking? How should the Manifest for the example look like?

Thanks a lot for your help!
Anne
Re: Problem reproducing EOL Tool Simmetrics Example [message #587103 is a reply to message #587076] Sun, 07 March 2010 19:23 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Anne,

The Simmetrics example is out of date (had to remove simmetrics.jar due
to licensing issues). For an up-to-date example of calling Java from
Epsilon please have a look at
http://eclipse.org/gmt/epsilon/doc/articles/call-java-from-e psilon/
Please let me know if you specifically need the Simmetrics example and
I'll try to restore it under epsilonlabs.sf.net .

Cheers,
Dimitris

Anne Keller wrote:
> Hi,
>
> I'm stuck trying to reproduce the Simmetrics Tool example. I'm exporting
> the tool as a plugin, place in the dropins folder and can see it in the
> Epsilon perspective in the tools tab. No problem there. However, when
> trying to use the similarity function, I keep getting a class not found
> exception: java.lang.ClassNotFoundException:
> uk.ac.shef.wit.simmetrics.similaritymetrics.JaroWinkler
>
> I'm really no expert creating Eclipse plugins. So I have been putting
> the library in the plugin's build path and added it to the bundle-class
> path ... with little success.
>
> What am I overlooking? How should the Manifest for the example look like?
>
> Thanks a lot for your help!
> Anne


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: Problem reproducing EOL Tool Simmetrics Example [message #587119 is a reply to message #587103] Sun, 07 March 2010 20:47 Go to previous messageGo to next message
Anne is currently offline AnneFriend
Messages: 37
Registered: July 2009
Member
Hi Dimitris,

thank you for the quick reply and the article. I had checked the article before and don't think that this is where the problem lies. The tool works fine for functions not accessing the simmetrics library. So I guess my problem is somehow with exporting the simmetrics jar...

Thanks again,
Anne
Re: Problem reproducing EOL Tool Simmetrics Example [message #587126 is a reply to message #587119] Sun, 07 March 2010 21:31 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Anne,

To make simmetrics.jar visible to your tool, you need to create a plugin
from it using the New->Plug-in from Existing JAR Archives wizard and
then add the created simmetrics plugin to the dependencies of the plugin
where you define the tool.

Cheers,
Dimitris

Anne wrote:
> Hi Dimitris,
>
> thank you for the quick reply and the article. I had checked the article
> before and don't think that this is where the problem lies. The tool
> works fine for functions not accessing the simmetrics library. So I
> guess my problem is somehow with exporting the simmetrics jar...
>
> Thanks again,
> Anne
Previous Topic:EVL is not working.
Next Topic:Problem reproducing EOL Tool Simmetrics Example
Goto Forum:
  


Current Time: Sun Dec 21 13:33:43 GMT 2014

Powered by FUDForum. Page generated in 0.01687 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software