[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jdt-core-dev] ecjsrc-4.5.1.jar compilation problem
|
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