I thought about that, but ultimately decided against it. It seemed to me that the 2 main purposes of the sample template are:
1) make it easy for users to start building controls 2) showcase the aspects of the build that are specific to controls Ie, I thought for the purposes of #2, the build.xml should be as minimalist as possible. I can see how it might be interesting for app developers (users) to add unit tests into the build for their controls (although it's worth keeping in mind the fact that most interesting controls tests will require a container), however I guess I feel it's appropriate to let those app devs make that decision on their own. Anyone else have an opinion here? > -----Original Message----- > From: Dan Diephouse [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 27, 2004 4:58 PM > To: Beehive Developers > Subject: Re: Blank controls app template checked in > > Ken, > Just a thought, it would be good to integrate tests into the > build as well. Maybe a src/main and a src/test directory > with the build running the junit tests? A sample test would > be cool too... > > - Dan > > Ken Tam wrote: > > >I just checked in a "blank" template for controls development into > >/samples/controls-blank (it lives in the same place in the distro). > >The idea is that users can clone this template and it has a > build.xml & > >dir structure that will compile controls and archive them into a > >control jar. > > > > > > > >Steve, it would be great if your tutorials/docs reference this - it > >should save you time as well. It's pretty straight forward > - there's a > >build and a clean target, and they do what you'd expect :-). > > > > > > > >Let me know if there are any questions. > > > > > > > > > > -- > Dan Diephouse > Envoi Solutions LLC > http://envoisolutions.com/people/dan > >
