On 2002.02.19 00:23:37 -0500 Dmitri Colebatch wrote: > > 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?
+ It's way better than nothing (probably) + It's simple - it breaks on many many irrelevant changes Can we run diff from ant to get a report? What I have been thinking of for a testsuite base involves an xml comparator (insensitive to formatting, just sensitive to content). I wrote one of these for a different testing purpose, I think it would be easy to use here. a class examiner that compares the properties of 2 classes to make sure they are the same. These would be somewhat more complex than running diff on text files, however I think it might be worthwhile to avoid sensitivity to formatting changes. david jencks > > 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
