Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-core-dev] ecjsrc-4.5.1.jar compilation problem

Hi,

It seems you hit https://bugs.eclipse.org/bugs/show_bug.cgi?id=479134
right?

You may want to try a recent integration build from http://download.eclipse.org/eclipse/downloads/
e.g: http://download.eclipse.org/eclipse/downloads/drops4/I20151203-1230/#JDTCORE
If you still see related problems please comment on the bug

thanks,
Stephan


----- ursprüngliche Nachricht ---------

Subject: [jdt-core-dev] ecjsrc-4.5.1.jar compilation problem
Date: Fr 04 Dez 2015 14:50:37 CET
From: Miroslav Šulc<fordfrog@xxxxxxxxxx>
To: jdt-core-dev@xxxxxxxxxxx

hi,

i'm trying to package eclipse-ecj-4.5.1 for gentoo linux distro. we
build everything from source. i downloaded ecjsrc-4.5.1.jar and ran ant
but it failed because of source and target versions too low. i changed
that to 1.8 both in build.xml but now it fails with another error. it
complains about missing org.eclipse.jdt.core.JavaCore. how can i solve this?

$ ant
Buildfile: /var/tmp/portage/ecj/build.xml

build:
   [delete] Deleting directory /var/tmp/portage/ecj/bin
    [mkdir] Created dir: /var/tmp/portage/ecj/bin
    [javac] /var/tmp/portage/ecj/build.xml:26: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last;
set to false for repeatable builds
    [javac] Compiling 446 source files to /var/tmp/portage/ecj/bin
    [javac]
/var/tmp/portage/ecj/org/eclipse/jdt/internal/compiler/batch/ClasspathDirectory.java:21:
error: cannot find symbol
    [javac] import org.eclipse.jdt.core.JavaCore;
    [javac]                            ^
    [javac]   symbol:   class JavaCore
    [javac]   location: package org.eclipse.jdt.core
    [javac]
/var/tmp/portage/ecj/org/eclipse/jdt/internal/compiler/batch/ClasspathDirectory.java:192:
error: cannot find symbol
    [javac]                     new CompilerOptions(JavaCore.getOptions()),
    [javac]                                         ^
    [javac]   symbol:   variable JavaCore
    [javac]   location: class ClasspathDirectory
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 errors

BUILD FAILED
/var/tmp/portage/ecj/build.xml:26: Compile failed; see the compiler
error output for details.

Total time: 5 seconds


miroslav
_______________________________________________
jdt-core-dev mailing list
jdt-core-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jdt-core-dev


---- ursprüngliche Nachricht Ende ----


Back to the top