Maybe. I agree but not with putting build with all .class files in cvs, no problem with gen-src. I think we should change the build.xml of samples so that all generates files are placed in an interim location before being compiled/moved to /build (gen-src for sources, gen-etc for deployment/etc and these two are in cvs).
Conclusion: There's no way for unit testing these kind of stuffs other than asserting output=what-we-expect. This method does not do that, it's not quite obvious whether something is broken or not. But anyway it's easy and better than nothing! Ara. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:xdoclet-devel- > [EMAIL PROTECTED]] On Behalf Of Dmitri Colebatch > Sent: Tuesday, February 19, 2002 8:54 AM > To: [EMAIL PROTECTED]; 'Xdoclet-Devel@Lists. Sourceforge. Net' > Subject: Re: [Xdoclet-devel] samples on jboss > > > Sorry for my english > > there was nothing wrong with the english, I'd just never thought about > doing it, so I wasn't sure thats what you meant (o: > > > What I mean is put > > xdoclet\xdoclet\core\samples\gen-src > > And > > xdoclet\xdoclet\core\samples\build > > In CVS > > > > So that when I make a change, run the samples build, I can verify by > > simple diff if my change did not break something unexpected. > > ahhh... this is interesting. for those not on the yahoo refactoring > list, there's been a similar discussion recently about things > very similar to this - unit tests in code generators (o: anyway, one > option was exactly as you suggest. > > It sounds very attractive in some ways, because we can look quickly at our > changes. otoh, we would also need to have a policy on > when we put new versions in cvs.... I dont know - it sounds good to me, as > a test.... what do other ppl think? > > cheesr > dim > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]] On Behalf > > Of Dmitri Colebatch > > Sent: mardi 19 f�vrier 2002 0:13 > > To: [EMAIL PROTECTED]; 'Xdoclet-Devel@Lists. > > Sourceforge. Net' > > Subject: Re: [Xdoclet-devel] samples on jboss > > > > > > > Great! > > > Why not add the generated samples files in cvs to not break > > your work > > > ... tomorrow ;) ? > > > > Not sure I fully understand.... add the _generated_ sample > > files to cvs? or are you just suggesting that I check it in > > once it works? (o: If its the latter... you betcha... I will... > > > > cheesr > > dim > > > > > > > > > -----Original Message----- > > > > From: [EMAIL PROTECTED] > > > > [mailto:[EMAIL PROTECTED]] On Behalf Of > > > > Dmitri Colebatch > > > > Sent: lundi 18 f�vrier 2002 23:28 > > > > To: Xdoclet-Devel@Lists. Sourceforge. Net > > > > Subject: [Xdoclet-devel] samples on jboss > > > > > > > > > > > > just while we seem to have a couple of ppl at keyboards... > > > > > > > > I've spent a couple of hours the last couple of nights > > trying to get > > > > the samples to deploy on jboss cvs. I've made a couple of small > > > > changes to the entity bean template, checked in, but I suppose I > > > > just wanted to check that no one else had them deploying atm. > > > > > > > > I hope to by the end of the week have them all up and > > running... its > > > > just little things that are misbehaving, table names > > defaulting to > > > > bank/Customer etc.... > > > > > > > > anyway - just fyi > > > > > > > > cheesr > > > > dim > > > > > > > > > > > > _______________________________________________ > > > > Xdoclet-devel mailing list [EMAIL PROTECTED] > > > > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > Xdoclet-devel mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel > > > > > > > > > > _______________________________________________ > Xdoclet-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
