harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xiao-Feng Li <xiaofeng...@gmail.com>
Subject Re: [testing]Build error with Apache Harmony 5.0M13 (r91
Date Tue, 27 Apr 2010 04:10:24 GMT
Quanlong, did you install JUnit and include it in your path?

Thanks,
xiaofeng

On Tue, Apr 27, 2010 at 11:38 AM, Li QuanLong <quanlong@mail.ustc.edu.cn> wrote:
> Hi:
>    I have got the source of Apache Harmony 5.0M13(r916432),but it does not work properly
when i build it.
>    The program is build on a 2.20 GHz Intel Pentium Dual E2200 machine with 2GB memory,
running operating system Windows 7 Ultimate.
>    It threw a exception when i build the classlib. The message is:
>
> test-jar-modules:
>     [echo] polling accessibility\*.xml,annotation\*.xml,applet\*.xml,archive\*.xml,auth\*.xml,awt\*.xml,beans\*.xml,concurrent\*.xml,crypto\*.xml,imageio\*.xml,instrument\*.xml,jmx\*.xml,jndi\*.xml,lang-management\*.xml,logging\*.xml,luni\*.xml,luni-kernel\*.xml,math\*.xml,misc\*.xml,nio\*.xml,nio_char\*.xml,orb\*.xml,pack200\*.xml,portlib\*.xml,prefs\*.xml,print\*.xml,regex\*.xml,rmi\*.xml,security\*.xml,security-kernel\*.xml,sound\*.xml,sql\*.xml,suncompat\*.xml,swing\*.xml,text\*.xml,x-net\*.xml
> svn-info:
> compile-tests:
>     [echo] Compiling accessibility api tests
>    [javac] Compiling 11 source files to D:\project\harmony916432\working_classlib\modules\accessibility\bin\test
>    [javac] Since fork is false, ignoring memoryMaximumSize setting
>    [javac] ----------
>    [javac] 1. ERROR in D:\project\harmony916432\working_classlib\modules\accessibility\src\test\api\java\common\javax\accessibility\AccessibleAttributeSequenceTest.java
>    [javac]  (at line 20)
>    [javac]  import junit.framework.TestCase;
>    [javac]         ^^^^^
>    [javac] The import junit cannot be resolved
>    [javac] ----------
>    [javac] 2. ERROR in D:\project\harmony916432\working_classlib\modules\accessibility\src\test\api\java\common\javax\accessibility\AccessibleAttributeSequenceTest.java
>    [javac]  (at line 23)
>    [javac]  public class AccessibleAttributeSequenceTest extends TestCase {
>    [javac]                                                
      ^^^^^^^^
>    [javac] TestCase cannot be resolved to a type
>    [javac] ----------
>
>    I am sure that junit-4.6.jar have been downloaded to the folder "../working_classlib/depends/jars/junit_4.6",
so the import junit cannot be resolved puzzled me.
>
>    Does anybody meet this problem,your reply will be appreciated!
>
> 2010-04-27
>
>
>
> Li QuanLong
>



-- 
http://people.apache.org/~xli

Mime
View raw message