In message <3b3f27c60912161728n2c0dd161k8492015f393a3...@mail.gmail.com>, Nathan Beyer writes: > > On Wed, Dec 16, 2009 at 1:15 AM, Tony Wu <wuyue...@gmail.com> wrote: > > will the two ways result in different testing results? > > Yeah! The old way basically doesn't work ... i was just testing the trunk.
Huh? The old way works for me. It "svn switches" the same trees in to place and "java -version" looks okay too. It should be equivalent to the new way. -Mark. > > On Sun, Dec 13, 2009 at 10:11 AM, Nathan Beyer <ndbe...@apache.org> wrote: > >> On Sat, Dec 12, 2009 at 3:05 AM, Mark Hindess > >> <mark.hind...@googlemail.com> wrote: > >>> > >>> In message <3b3f27c60912101902u5c49e5c2o3b7fb9f300833...@mail.gmail.com>, > >>> Nathan Beyer writes: > >>>> > >>>> I've been doing testing on the java 6 branch and was looking over the > >>>> results and noticed that the version info reports 1.5.0 ... I thought > >>>> we did something about that? I think I have the build setup correctly, > >>>> though maybe not. > >>> > >>> There are two ways to build the java6 branch. The "old" way is: > >>> > >>> svn co https://svn.apache.org/repos/asf/harmony/enhanced/trunk hy6 > >>> cd hy6 > >>> ant -Djava6=true populate-src > >>> ant -Djava6=true > >>> > >>> and the new way: > >>> > >>> svn co https://svn.apache.org/repos/asf/harmony/enhanced/branches/java6 > >>> hy6 > >>> cd hy6 > >>> ant populate-src > >>> ant > >>> > >>> I suspect that you are using the "old" way and not supplying the > >>> -Djava6=true parameter to the build. (Previously the -Djava6=true > >>> parameter only affected the populate-src target but now it affects the > >>> build too.) > >>> > >>> I think we should deprecate/remove the "old" way to avoid this confusion. > >> > >> Oh ... let me try that. Yes, we should remove any "old" ways. > >> > >>> > >>> -Mark.