Hi, We had this problem. The first time I noticed it was when I handed over my changes to Dmitri, he committed them and surprisingly they got some ^M in end of each line. I think in some point in the past Dmitri's emacs editor added these ^M characters (he's IDEA now). Ejb-jar_xml.j had this problem too, but I removed all those ^M's, but still some of the templates have this problem, and we should remove them before 1.1 release. I couldn't write a rule or regexp for it, so I removed them all by hand :-)
Ara. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:xdoclet-devel- > [EMAIL PROTECTED]] On Behalf Of Andrew Stevens > Sent: Thursday, January 03, 2002 3:25 AM > To: [EMAIL PROTECTED] > Subject: [Xdoclet-devel] Line termination in templates > > Well, that was fun... not! > > I've just checked in the changes for the XML namespace's system & public > ID tags, so they only need to be maintained in one place (the subtask). I > built the samples, and the generated files appear to be identical to the > ones I did without my changes, so I reckon the changes are okay. However, > something strange appears to have happened to the end of line terminators > on some (but not all) of the templates. > > I did notice before I edited them that some of the templates appeared to > have CR+CR+LF in between each line, but I don't know if they were always > like that in the repository or if it was just my copy. But a couple of > the checked in files now appear (in the Sourceforge CVS browser's diff) to > be squashed onto a single line. I can't even see any consistency in which > ones were affected - one of the JBoss templates was, one wasn't, and one > had a few lines in the middle that seemed to be (but which don't show in > the diff on SF's browser!) > > I don't know how they've ended up this way. Perhaps it's WinCVS, but why > only to some of them? They weren't the results of merges or anything like > that, and everything got updated & checked in the same way, so it's got me > baffled. > > Perhaps someone with a better CVS client (or on unix/linux) could check > the ones I'm not sure about for me and sort out the line breaks if > necessary? The ones that need looking at are (all below > core/resources/xdoclet, of course): > web/vendor/weblogic_web_xml.j > web/taglib_tld.j > ejb/ejb_jar_xml.j > ejb/vendor/jboss-jaws_xml.j > and possibly ejb/vendor/jbosscmp-jdbc_xml.j, which is the one that only > had 5 or 6 lines in the middle that looked like they were affected. > > > Andrew. > > _______________________________________________ > 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
