| View previous topic :: View next topic |
| Author |
Message |
jehrlich n00b

Joined: 26 Oct 2004 Posts: 6
|
Posted: Sun Jul 17, 2005 2:26 pm Post subject: eclipse 3.1 emerge fails at JDTCompilerAdapter |
|
|
My attempt to emerge eclipse-sdk 3.1 fails, I think indicating a problem compiling JDTCompiler Adapter. Suggestions? Is there a log file somewhere that would help?
Thanks,. J.
...
[echo] UPDATE ecj.jar
BUILD SUCCESSFUL
Total time: 27 seconds
[echo] TARGET: compiler2
[echo] compilerArg -encoding ISO-8859-1
[echo] build compiler org.eclipse.jdt.core.JDTCompilerAdapter
BUILD FAILED
/var/tmp/portage/eclipse-sdk-3.1/work/eclipse-sdk-3.1/jdtcoresrc/compilejdtcore.xml:47: Compiler Adapter org.eclipse.jdt.core.JDTCompilerAdapter caused an interesting exception.
Total time: 2 seconds
BUILD FAILED
/var/tmp/portage/eclipse-sdk-3.1/work/eclipse-sdk-3.1/build.xml:238: The Eclipse compiler (ecj.jar) cannot be found.
Total time: 1 second
!!! ERROR: dev-util/eclipse-sdk-3.1 failed.
!!! Function src_compile, Line 109, Exitcode 1
!!! Failed to compile eclipse code (gtk+)
!!! If you need support, post the topmost build error, NOT this status message. |
|
| Back to top |
|
 |
Voltago Advocate


Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Sun Jul 17, 2005 6:37 pm Post subject: |
|
|
Same problem here. What jdk are you using? What ant version?
I'm using
| Code: | sun-jdk-1.5.0.04
ant-1.6.5 |
EDIT:
FYI: This bug states: "After talking to the Eclipse devs, it turns out that 3.1 is not supposed to compile with 1.5 yet, so I've added a check for that in the ebuild." |
|
| Back to top |
|
 |
jehrlich n00b

Joined: 26 Oct 2004 Posts: 6
|
Posted: Sun Jul 17, 2005 10:27 pm Post subject: |
|
|
blackdown-jdk-1.4.2.01
ant 1.6.2
assuming it is using the jvm returned by "java-config -f" |
|
| Back to top |
|
 |
gargantua n00b


Joined: 05 Mar 2004 Posts: 39 Location: Ireland
|
Posted: Sun Jul 24, 2005 1:14 pm Post subject: |
|
|
Similar problem here, except I'm building eclipse-sdk-3.1-r1;
| Code: |
BUILD SUCCESSFUL
Total time: 26 seconds
* Bootstrapping ecj
[echo] TARGET: compiler2
[echo] compilerArg -encoding ISO-8859-1
[echo] build compiler org.eclipse.jdt.core.JDTCompilerAdapter
BUILD FAILED
/var/tmp/portage/eclipse-sdk-3.1-r1/work/eclipse-sdk-3.1/jdtcoresrc/compilejdtcore.xml:47: Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter' can't be found.
Total time: 3 seconds
!!! ERROR: dev-util/eclipse-sdk-3.1-r1 failed.
!!! Function src_compile, Line 105, Exitcode 1
!!! Failed to bootstrap ecj
!!! If you need support, post the topmost build error, NOT this status message.
|
| Code: |
gargantua jkiely # java -version
java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
|
| Code: |
gargantua jkiely # ant -version
Apache Ant version 1.6.2 compiled on May 15 2005
|
J.K.
[EDIT] - Sorry, I meant to say (but have been busy over the last few days) that I upgraded 'ant' (including unmerging the 'ant-tasks' that was blocking the upgrade) and re-emerged 'eclipse-sdk', and everything ran smothely. Thanks.
Last edited by gargantua on Tue Jul 26, 2005 12:03 am; edited 1 time in total |
|
| Back to top |
|
 |
jehrlich n00b

Joined: 26 Oct 2004 Posts: 6
|
|
| Back to top |
|
 |
dgaffuri Advocate

Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Mon Jul 25, 2005 10:47 pm Post subject: |
|
|
Works for me too (same error as gargantua). Add
| Code: | dev-java/ant ~x86
dev-java/ant-core ~x86
dev-java/ant-tasks ~x86
dev-util/eclipse-sdk ~x86 |
to /etc/portage/package.keywords. If ant is already merged
| Code: | emerge -C ant-tasks
emerge -uD --oneshot ant |
Then
|
|
| Back to top |
|
 |
|