Pete, > I'm sure the cpp tree could also benefit from this treatment. I will own up > to having Rev, Date in my subversions properties... as that is what Jeremy > told me to do (he's not around so I can blame him ;-) )
I've checked in the script to java/etc/set_svn_properties.sh. It should work fine for the C++ tree as well. I don't have axis2c installed yet (not in portage :-) so I haven't tried building the C++ stuff yet or I'd try it myself. If you want to try it, go ahead. On a linux box, just run the script from the root of the C++ tree. It should only take a minute or two. In my copy of the C++ tree, it changes properties on 851 files, so it will be a big commit. > Is there a definitive list of property settings to use? I've updated the java/etc/svn-props file to include a bunch of stuff like the *.scdl files, *.wsdl, more mime-types, etc.... In theory, that file should continue to be updated as we have new requirements, new properties, etc.... Dan > This is the list > Jeremy gave me at the beginning of the year: > > One way to set these automatically is to configure them in SVN's default > configuration file located at: > Unix: ~/.subversion/config > Windows: %APPDATA%\Subversion\config > > Uncomment the line that says: > enable-auto-props = yes > > and add the following lines to the bottom: > [auto-props] > *.c = svn:eol-style=native > *.cpp = svn:eol-style=native > *.h = svn:eol-style=native > *.dsp = svn:eol-style=CRLF > *.dsw = svn:eol-style=CRLF > *.sh = svn:eol-style=native;svn:executable > *.txt = svn:eol-style=native > *.png = svn:mime-type=image/png > *.jpg = svn:mime-type=image/jpeg > Makefile = svn:eol-style=native > > *.java = svn:eol-style=native;svn:keywords=Rev,Date > *.xml = svn:eol-style=native;svn:keywords=Rev,Date > *.xsd = svn:eol-style=native;svn:keywords=Rev,Date > *.html = svn:eol-style=native;svn:keywords=Rev,Date > *.properties = svn:eol-style=native;svn:keywords=Rev,Date > *.jelly = svn:eol-style=native;svn:keywords=Rev,Date > *.ipr = svn:eol-style=native > *.iml = svn:eol-style=native > <<< > > Clearly the Rev,Date should have been Rev Date. Anything else missing? > > Cheers, > > On 25/08/06, Daniel Kulp <[EMAIL PROTECTED]> wrote: > > Actually, I'm seeing a build failure in SDO (test failure), although it's > > doing that in a clean view as well. I don't have time to investigate > > that > > right now. Thus, I'm going to wait till monday to do this. I don't > > want > > to make some big changes when I know there is a failure. > > > > Dan > > > > On Friday August 25 2006 12:07 pm, Daniel Kulp wrote: > > > OK. I'm going to go ahead and do this. It seems to look pretty good > > > > and > > > > > doesn't break any tests. The main problem seems to be the SDO section > > > with a lot of files without the proper eol-style property which causes > > > > some > > > > > big cleanups. > > > > > > Dan > > > > > > On Friday August 25 2006 9:35 am, Daniel Kulp wrote: > > > > To help out Yoko, I wrote a quick script that will properly set the > > > > svn > > > > > > properties on all the files in their repository. I've attached it. > > > > > > > > Would there be any objection to me running it on all of > > > > tuscany/trunk? > > > > > > > > (including sdo, spec, das?) > > > > > > > > I've noticed there are a LOT of files that don't have the properties > > > > set, > > > > > > or if they are set, they are set wrong. Example: svn:keywords > > > > should > > > > be > > > > > > set as "Rev Date", not "Rev,Date". (space delimited) > > > > > > > > It would be a wrather large commit, but doesn't change any code other > > > > than to fix cr/lf issues if eol-style wasn't set and possibly fill in > > > > the > > > > > > correct Rev and Date things. > > > > -- > > J. Daniel Kulp > > Principal Engineer > > IONA > > P: 781-902-8727 C: 508-380-7194 F:781-902-8001 > > [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727 C: 508-380-7194 F:781-902-8001 [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
