I have really been enjoying Groovy, and finally got it all setup in the dev environment for TheServerSide codebase. This enables us to whip up a .groovy instead of a .java and get to work. This is so nice as there are some tasks where having a script is so much nicer.
It took me a second to set this up correctly on the JUnit side.
Most people have the following batchtest in their ant scripts:
<batchtest fork=”yes” todir=”${junit.reports.dir}”>
<fileset dir=”${src.tests.dir}”>
<include name=”**/*Test.java”/>
….
</fileset>
</batchtest>
you simply need to check for .class files via the build dir instead. You can’t look for .groovy as the tests will be skipped:
<batchtest fork=”yes” todir=”${junit.reports.dir}”>
<fileset dir=”${build.tests.dir}“>
<include name=”**/*Test.class“/>
….
</fileset>
</batchtest>
In related news, Gerald Bauer (yeah, the Java Republic guy) just put up a presentation that he gave on Groovy. He doesn’t go on about freeing Groovy ;) He does sneak in references to XUL of course :)
May 11th, 2006 at 12:53 am
[URL=http://www.nastolatki-galerie-fotomodelki.1.lolek.pl]nastolatki galerie fotomodelki[/URL] | kurwa lechtaczka oralniehttp://www.nowe-pozuje-fetysz.1.lolek.pl | |
May 30th, 2006 at 8:11 am
http://www.sweet-handjob-movies-lysa.handjobnow.com *B* http://www.handjob-hetero-nika.handjobnow.com *B* http://www.bikini-atoll-titjobs.handjobnow.com *B* http://www.cytherea-trailer.squirtingpics.net *B* http://www.squirting-clip.squirtingpics.net *B* http://www.squirt-com-clips.squirtingpics.net *B*