Skip to main content


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 #519148] 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 #519176 is a reply to message #519148] Sun, 07 March 2010 14:30 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 #519184 is a reply to message #519176] 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 #519190 is a reply to message #519184] Sun, 07 March 2010 21:31 Go to previous messageGo to next 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
Re: Problem reproducing EOL Tool Simmetrics Example [message #519246 is a reply to message #519190] Mon, 08 March 2010 09:32 Go to previous messageGo to next message
Anne is currently offline AnneFriend
Messages: 37
Registered: July 2009
Member
Hi Dimitris,

thank you, that works!

Cheers,
Anne
Re: Problem reproducing EOL Tool Simmetrics Example [message #587147 is a reply to message #519190] Mon, 08 March 2010 09:32 Go to previous message
Anne is currently offline AnneFriend
Messages: 37
Registered: July 2009
Member
Hi Dimitris,

thank you, that works!

Cheers,
Anne
Previous Topic:Problem reproducing EOL Tool Simmetrics Example
Next Topic:[EuGENia] Reorder nodes in ECore2GMF.eol
Goto Forum:
  


Current Time: Fri Apr 19 09:31:24 GMT 2024

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

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

Back to the top