Andrew Eisenberg wrote:
> Hi,
> 
> The problem here is likely in the way that the Ubuntu Eclipse package is
> created.  Groovy-Eclipse uses a feature patch for jdt.core, which means
> that we need to overwrite the original org.eclipse.jdt.core bundle with
> our version.  Now, in most distros of Eclipse, this works out with no
> problem.  It is possible to augment the existing org.eclipse.jdt feature
> with our feature patch for org.eclipse.jdt.core.
> 

Can this patch be sent upstream (to eclipse.org) or is it so specific
that is only makes sense for the groovy feature?

It is a problem for us if o.e.jdt.core is upgraded via eclipse's update
manager, because it means we lose our ability to upgrade/patch it via
our repositories.
  That is to say we can send the patch out, but it will not be used by
eclipse and the user would (probably) complain to us that is not
working. We would then have to spend a great deal of time figuring out
it was a home installed upgrade to a core plugin and inform the user
that we cannot do anything about it.
  All in all it is a very suboptimal solution for us.

> For some reason, the distro created for Ubuntu has some different kind
> of dependency structure.  It is possible that the top level feature
> (Eclipse Platform) has a tight dependency on the jdt core plugin, but I
> don't know.
> 

We use eclipse-build (from the Linuxtools project) to build eclipse,
which includes a number of patches to eclipse and (mostly) its build
system. Anyhow, this eclipse will be installed in a read-only location
with "core" plugins (such as o.e.jdt.core) marked as "system" plugins
(or something similar).

> Is there any reason why the distro used by Ubuntu is not the same as the
> one available from Eclipse.org?
> 

Yeah, we must build our packages completely from source; eclipse is not
the most build-friendly package, which is why we use eclipse-build to
assist us.
  I know Fedora uses it as well.

> If there is a reason why you create your own package, perhaps can have a
> look at the packaging scripts.  I may be able to provide some
> suggestions.
> 

You are most welcome to have a look [1].

> ps- the 3.5.2.v_981_R35x version of JDT core is the version that we
> build against, but as I said, we require our own version of the plugin
> so that there can be compiler integration with groovy.
> 


~Niels

[1] http://git.debian.org/?p=pkg-java/eclipse.git;a=summary

This is the version currently in Ubuntu:

http://git.debian.org/?p=pkg-
java/eclipse.git;a=shortlog;h=refs/tags/debian/3.5.2-2ubuntu3

-- 
Dependency error when installing Groovy-Eclipse
https://bugs.launchpad.net/bugs/575376
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to