Here's the patch which replaces the jars (patch set 1) in the tools folder and another (patch set 2) which updates build.xml and classpath files.
http://gwt-code-reviews.appspot.com/334803/show I'm not sure if I should have opened two different issues, with different base URLs, for these two patches.... On Apr 16, 10:49 pm, Marko Vuksanovic <[email protected]> wrote: > Ok, I'll just save you some time... :) but will first check if everything is > ok once the dependencies are replaced... > > On Fri, Apr 16, 2010 at 10:46 PM, Freeland Abbott <[email protected]>wrote: > > > > > > > I think that's correct, but we historically have been pretty lazy about > > updating our dependencies... > > > On Fri, Apr 16, 2010 at 4:39 PM, Marko Vuksanovic < > > [email protected]> wrote: > > >> One more question - why aren't JUnit 4 libraries used? I think junit4 > >> supports junit3 test style? Am I right? > > >> On Fri, Apr 16, 2010 at 10:12 PM, Marko Vuksanovic < > >> [email protected]> wrote: > > >>> I like challenges :):) > > >>> On Fri, Apr 16, 2010 at 10:09 PM, John Tamplin <[email protected]> wrote: > > >>>> On Fri, Apr 16, 2010 at 3:45 PM, Marko Vuksanovic < > >>>> [email protected]> wrote: > > >>>>> I just noticed that there is HasAnnotations interface... I might try > >>>>> putting that to use... > > >>>>> On Apr 16, 9:38 pm, Marko Vuksanovic <[email protected]> > >>>>> wrote: > >>>>> > Well I've been looking at the existing code and I have seen that > >>>>> > JClassType implements getMethods(). Then I would be able to check if > >>>>> a > >>>>> > method has Annotation applied - using isAnnotationPresent() method. > > >>>>> > I am not sure how to check if a method has an annotation applied and > >>>>> > not to use the refelection package. The problem is that that package > >>>>> > cannot be used in translatable code. Obviously I'm missing something > >>>>> > here... > > >>>> You probably want to look at GWTRunnerGenerator, which generates the > >>>> implementation of GWTRunner to actually run it (and has access to > >>>> TypeOracle), or JUnitShell, which actually drives running the tests and > >>>> can > >>>> use reflection to look at the annotations (though be careful about > >>>> different > >>>> classloaders). > > >>>> That said, I suspect supporting JUnit4 is likely to be a lot of work. > > >>>> -- > >>>> John A. Tamplin > >>>> Software Engineer (GWT), Google > > >>>> -- > >>>>http://groups.google.com/group/Google-Web-Toolkit-Contributors > > >> -- > >>http://groups.google.com/group/Google-Web-Toolkit-Contributors > > > -- > >http://groups.google.com/group/Google-Web-Toolkit-Contributors > > --http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
