thanks all . the kernel.jar has been build successully , Copying to the anhome/lib also works .
2009/8/5 Andrew Myers <am2...@gmail.com> > Hi Tian, > > I had the same issue recently. SOmeone here advised me to copy junit.jar > into either ~/.ant/lib or ANT_HOME/lib and that seemed to do the trick. > > Andrew. > > 2009/8/5 galaxy <tian.gal...@gmail.com> > > > Hi , > > just now I tried to rebuild all in the truck folder but ended up in other > > errors as [1], > > I checked the junit.jar ,it's in the depends/jars/junit_4.4 , > > any idea of why this happened ? > > BTW ,I have several successful builds of jdk before . > > > > > > [1] > > > > Compiling accessibility api tests > > [javac] Compiling 8 source files to > > D:\Harmony\checkout\trunk\working_classlib\modules\accessibility\bin\test > > [javac] Since fork is false, ignoring memoryMaximumSize setting > > [javac] ---------- > > [javac] 1. ERROR in > > > > > D:\Harmony\checkout\trunk\working_classlib\modules\accessibility\src\test\api\java\common\javax\accessibility\AccessibleBundleTest.java > > (at line 25) > > [javac] import junit.framework.TestCase; > > [javac] ^^^^^ > > [javac] The import junit cannot be resolved > > [javac] ---------- > > [javac] 2. ERROR in > > > > > D:\Harmony\checkout\trunk\working_classlib\modules\accessibility\src\test\api\java\common\javax\accessibility\AccessibleBundleTest.java > > (at line 27) > > [javac] public class AccessibleBundleTest extends TestCase { > > [javac] ^^^^^^^^ > > [javac] TestCase cannot be resolved to a type > > [javac] ---------- > > [javac] 3. ERROR in > > > > > D:\Harmony\checkout\trunk\working_classlib\modules\accessibility\src\test\api\java\common\javax\accessibility\AccessibleBundleTest.java > > (at line 38) > > [javac] assertEquals("DisplayString don't match resource: " + > > bundle.key, bundle > > [javac] ^^^^^^^^^^^^ > > [javac] The method assertEquals(String, String, Object) is undefined > for > > the type AccessibleBundleTest > > [javac] ---------- > > > > 2009/8/5 Alexey Varlamov <alexey.v.varla...@gmail.com> > > > > > You need to invoke 'ant kernel' in "working_vm" directory. > > > > > > 2009/8/5 galaxy <tian.gal...@gmail.com>: > > > > Hi all > > > > > > > > I edited the code in the ClassLoader.java in the working_vm dir ,and > > > want > > > > to build a new kernel.jar > > > > but this doesn.t work .. > > > > Any one may help ? > > > > Thanks > > > > > > > > -- > > > > regards > > > > Tian > > > > > > > > > > > > > > > -- > > regards > > Tian > > > -- regards Tian