Bug 812540 - Fedora ecj.jar is missing org.eclipse.jdt.core.JDTCompilerAdapter
Summary: Fedora ecj.jar is missing org.eclipse.jdt.core.JDTCompilerAdapter
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: ecj
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Deepak Bhole
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-14 16:21 UTC by Mattias Ellert
Modified: 2012-06-29 16:46 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-29 16:46:44 UTC
Type: Bug


Attachments (Terms of Use)

Description Mattias Ellert 2012-04-14 16:21:02 UTC
Description of problem:

I am trying to build a Java project the proper way for Fedora. This requires to replace all bundled jars with the Fedora distribution versions. When I replace the bundled ecj.jar with the Fedora ecj.jar the build fails with:

Class not found: org.eclipse.jdt.core.JDTCompilerAdapter

Version-Release number of selected component (if applicable):

ecj-3.4.2-9.fc15.x86_64

How reproducible:

Always

Additional info:

The Fedora ecj.spec contains the lines:

# JDTCompilerAdapter isn't used by the batch compiler
rm -f org/eclipse/jdt/core/JDTCompilerAdapter.java

Can this class be restored in the Fedora version?

Comment 1 Andrew Overholt 2012-04-16 12:33:42 UTC
Are you perhaps looking for org.eclipse.jdt.core provided (now) by eclipse-platform?

Comment 2 Diego Pino 2012-06-27 07:17:57 UTC
I experienced this issue in Fedora16. I tried to build a project with ant using Eclipse compiler, however got a "Class not found: org.eclipse.jdt.core.JDTCompilerAdapter". The reason was that Fedora could not find the ecj.jar. My ecj.jar was located at /usr/share/ant/lib. I needed to define ANT_HOME variable as:

export ANT_HOME="/usr/share/ant/"

Comment 3 Deepak Bhole 2012-06-29 16:46:30 UTC
Closing, as the class is provided by eclipse-platform per comment #1.


Note You need to log in before you can comment on or make changes to this bug.