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,
I believe what you are facing are the first two issues mentioned in https://bugs.eclipse.org/bugs/show_bug.cgi?id=479134.
These have been solved and will be available in M4. Meanwhile you can take any one of the latest I-builds if that works for you.

Regards,
Manoj

Inactive hide details for Miroslav Šulc ---12/04/2015 07:20:55 PM---hi, i'm trying to package eclipse-ecj-4.5.1 for gentoo linMiroslav Šulc ---12/04/2015 07:20:55 PM---hi, i'm trying to package eclipse-ecj-4.5.1 for gentoo linux distro. we

From: Miroslav Šulc <fordfrog@xxxxxxxxxx>
To: jdt-core-dev@xxxxxxxxxxx
Date: 12/04/2015 07:20 PM
Subject: [jdt-core-dev] ecjsrc-4.5.1.jar compilation problem
Sent by: jdt-core-dev-bounces@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




Back to the top