Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Useful information

This page provide useful and required information for Castor committers.

Committing patches

CVS access

CVs access from Eclipse

Maven 2 integartion

Setup and configure Maven 2

Subversion Keyword Expansion

By default, keyword expansion in Subversion is disabled. This means that keyword expansion must be enabled maually on a per-file basis. This can be changed to occur automatically from the client side via the configuration file for the Subversion client. To enable keyword expansion by default, follow the two steps below to edit the end of your ~/.subversion/config file:

  1. Uncomment the 'enable-auto-props = yes' option under the '[miscellany]' heading like so:
    No Format
    ...
    [miscellany]
    global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store build dist target
    enable-auto-props = yes
    ...
    
  2. Add the following list of file types and their associated keywords and end-of-line style:
    No Format
    ...
    [auto-props]
    *.bat = svn:keywords=Id Revision;svn:svn:eol-style=native
    *.bsh = svn:keywords=Id Revision;svn:eol-style=native
    *.c = svn:keywords=Id Revision;svn:eol-style=native
    *.cpp = svn:keywords=Id Revision;svn:eol-style=native
    *.css = svn:keywords=Id Revision;svn:eol-style=native
    *.dtd = svn:keywords=Id Revision;svn:eol-style=native
    *.groovy = svn:keywords=Id Revision;svn:eol-style=native
    *.h = svn:keywords=Id Revision;svn:eol-style=native
    *.html = svn:keywords=Id Revision;svn:eol-style=native
    *.java = svn:keywords=Id Revision;svn:eol-style=native
    *.jmx = svn:keywords=Id Revision;svn:eol-style=native
    *.js = svn:keywords=Id Revision;svn:eol-style=native
    *.jsp = svn:keywords=Id Revision;svn:eol-style=native
    *.jws = svn:keywords=Id Revision;svn:eol-style=native
    *.pl = svn:keywords=Id Revision;svn:eol-style=native
    *.pm = svn:keywords=Id Revision;svn:eol-style=native
    *.properties = svn:keywords=Id Revision;svn:eol-style=native
    *.py = svn:keywords=Id Revision;svn:eol-style=native
    *.rb = svn:keywords=Id Revision;svn:eol-style=native
    *.rdf = svn:keywords=Id Revision;svn:eol-style=native
    *.rss = svn:keywords=Id Revision;svn:eol-style=native
    *.sh = svn:keywords=Id Revision;svn:eol-style=native;svn:executable
    *.sql = svn:keywords=Id Revision;svn:eol-style=native
    *.txt = svn:keywords=Id Revision;svn:eol-style=native
    *.vsl = svn:keywords=Id Revision;svn:eol-style=native
    *.wsdd = svn:keywords=Id Revision;svn:eol-style=native
    *.wsdl = svn:keywords=Id Revision;svn:eol-style=native
    *.xhtml = svn:keywords=Id Revision;svn:eol-style=native
    *.xml = svn:keywords=Id Revision;svn:eol-style=native
    *.xsd = svn:keywords=Id Revision;svn:eol-style=native
    *.xsl = svn:keywords=Id Revision;svn:eol-style=native
    *.xslt = svn:keywords=Id Revision;svn:eol-style=native
    Makefile = svn:keywords=Id Revision;svn:eol-style=native
    *.bmp = svn:mime-type=image/bmp
    *.gif = svn:mime-type=image/gif
    *.ico = svn:mime-type=image/x-icon
    *.png = svn:mime-type=image/png
    *.jpeg = svn:mime-type=image/jpeg
    *.jpg = svn:mime-type=image/jpeg
    *.pdf = svn:mime-type=application/pdf
    *.tif = svn:mime-type=image/tiff
    *.tiff = svn:mime-type=image/tiff
    INSTALL = svn:keywords=Id Revision;svn:eol-style=native
    README = svn:keywords=Id Revision;svn:eol-style=native
    

For more information, see the SVN Book's section on keywords.