Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » using org.eclipse.emf.databinding* in emf 2.3 environment
using org.eclipse.emf.databinding* in emf 2.3 environment [message #417336] Wed, 05 March 2008 17:07 Go to next message
Michael Haeberlen is currently offline Michael HaeberlenFriend
Messages: 52
Registered: July 2009
Member
Hi,

I wanted to use the emf databinding classes in my project and started
with attachment https://bugs.eclipse.org/bugs/attachment.cgi?id=83069
from https://bugs.eclipse.org/bugs/show_bug.cgi?id=75625.

Later I noticed that the code is already in CVS HEAD and switched to
that. But I got NoClassDefFoundErrors which took me a while to resolve.
I finally realized that the reason was in the MANIFEST.MF the
Bundle-ClassPath is set to databinding.jar (and databinding.edit.jar).
So I could fix that by changing it to "."

Now I'm just curious why this is since in the 2.4 build versions, there
is only a "." in the Bundle-Classpath.
Re: using org.eclipse.emf.databinding* in emf 2.3 environment [message #417339 is a reply to message #417336] Wed, 05 March 2008 17:35 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------060209050009030900050504
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Michael,

This anomaly is related to how we bootstrap EMF

http://wiki.eclipse.org/EMF/Getting_Source#The_notorious_bug _109137

The build changes it back to "." so we end up with a jarred plugin. The
good news is that the underlying JDT/PDE limitations (support for
external folders on the classpath) are being fixed probably in time for
M6, so when that's available, we'll start using it and then can avoid
having to build jars...


Michael Haeberlen wrote:
> Hi,
>
> I wanted to use the emf databinding classes in my project and started
> with attachment https://bugs.eclipse.org/bugs/attachment.cgi?id=83069
> from https://bugs.eclipse.org/bugs/show_bug.cgi?id=75625.
>
> Later I noticed that the code is already in CVS HEAD and switched to
> that. But I got NoClassDefFoundErrors which took me a while to resolve.
> I finally realized that the reason was in the MANIFEST.MF the
> Bundle-ClassPath is set to databinding.jar (and databinding.edit.jar).
> So I could fix that by changing it to "."
>
> Now I'm just curious why this is since in the 2.4 build versions,
> there is only a "." in the Bundle-Classpath.


--------------060209050009030900050504
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Michael,<br>
<br>
This anomaly is related to how we bootstrap EMF&nbsp; <br>
<blockquote><a
href=" http://wiki.eclipse.org/EMF/Getting_Source#The_notorious_bug _109137"> http://wiki.eclipse.org/EMF/Getting_Source#The_notorious_bug _109137</a><br>
</blockquote>
The build changes it back to "." so we end up with a jarred plugin.&nbsp;
The good news is that the underlying JDT/PDE limitations (support for
external folders on the classpath) are being fixed probably in time for
M6, so when that's available, we'll start using it and then can avoid
having to build jars...<br>
<br>
<br>
Michael Haeberlen wrote:
<blockquote cite="mid:fqmk0c$n0e$1@build.eclipse.org" type="cite">Hi,
<br>
<br>
I wanted to use the emf databinding classes in my project and started
with attachment <a class="moz-txt-link-freetext" href="https://bugs.eclipse.org/bugs/attachment.cgi?id=83069">https://bugs.eclipse.org/bugs/attachment.cgi?id=83069</a>
from <a class="moz-txt-link-freetext" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=75625">https://bugs.eclipse.org/bugs/show_bug.cgi?id=75625</a>.
<br>
<br>
Later I noticed that the code is already in CVS HEAD and switched to
that. But I got NoClassDefFoundErrors which took me a while to resolve.
<br>
I finally realized that the reason was in the MANIFEST.MF the
Bundle-ClassPath is set to databinding.jar (and databinding.edit.jar).
<br>
So I could fix that by changing it to "."
<br>
<br>
Now I'm just curious why this is since in the 2.4 build versions, there
is only a "." in the Bundle-Classpath.
<br>
</blockquote>
<br>
</body>
</html>

--------------060209050009030900050504--


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Unable to View contents in EMF Editor
Next Topic:Customizing Pulldown-property
Goto Forum:
  


Current Time: Sat Apr 27 01:00:27 GMT 2024

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

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

Back to the top