Description of problem:
JPackage17 expects an rpm that provides ecj to also provide
/usr/share/java/ecj.jar. The eclipse-ecj rpm provides ecj, but does not provide
When I try to install both eclipse-ecj and ecj to get ecj.jar and
eclipse-ecj.jar, I discover that they cannot coexist.
# yum install ecj
---> Package eclipse-ecj.x86_64 1:3.2.1-18.el5 set to be updated
--> Running transaction check
--> Processing Dependency: eclipse-ecj = 1:3.2.1-18.el5 for package: eclipse-jdt
--> Finished Dependency Resolution
Error: Missing Dependency: eclipse-ecj = 1:3.2.1-18.el5 is needed by package
I expect to be able to install an rpm that provides /usr/share/java/ecj.jar from
either JPackage17 or from RHEL5.
If I understood overholt correctly, eclipse-ecj was designed to coexist with
ecj. This does not appear to be the present reality.
I created the bug here (rather than with JPackage) because I think that an rpm
that provides ecj should also provide /usr/share/java/ecj.jar.
How can this be resolved? Do we need alternatives for ecj?
This is because we have an unversioned provide on ecj in the eclipse-ecj package:
We've fixed this in Fedora 7 like so:
Obsoletes: ecj <= 2.1.3
Provides: ecj <= 2.1.3
This fix should go into RHEL-5 as soon as we can get it there.
RHEL 5 has ended Production Phase 1 and thus only security bugfixes from this point on. Please use Eclipse from RHEL 6 if you need newer Eclipse version.