harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Loenko" <mloe...@gmail.com>
Subject build problems
Date Thu, 02 Mar 2006 10:02:17 GMT
Hello

I've created a new workspace on a pure machine and trying to build classlib.

I get the following error:

compile:
    [javac] Compiling 663 source files to H:\workspace\harmony\bin
    [javac] H:\workspace\harmony\modules\luni\src\main\java\java\util\Locale.java:31:
cannot access org.apache.harmony.luni.internal.locale.Country
    [javac] bad class file:
H:\workspace\harmony\bin\org\apache\harmony\luni\internal\locale\Country.class
    [javac] class file contains wrong class:
modules.luni.src.main.java.org.apache.harmony.luni.internal.locale.Country
    [javac] Please remove or make sure it appears in the correct
subdirectory of the classpath.
    [javac] import org.apache.harmony.luni.internal.locale.Country;
    [javac]                                                ^
    [javac] 1 error

BUILD FAILED
H:\workspace\harmony\make\build.xml:36: The following error occurred
while executing this line:
H:\workspace\harmony\make\build-java.xml:173: Compile failed; see the
compiler error output for details.


I'm trying to disassemble that class and see that it indeed has a wrong package:


H:\workspace\harmony\bin>javap org.apache.harmony.luni.internal.locale.Country
Compiled from "Country.java"
public class modules.luni.src.main.java.org.apache.harmony.luni.internal.locale.Country
extends java.util.ListResourceBundle{
    public modules.luni.src.main.java.org.apache.harmony.luni.internal.locale.Country();
    protected java.lang.Object[][] getContents();
}


What am I doing wrong? On my old machine everything works just fine.

Thanks,
Mikhail.

Mime
View raw message