On Fri, Jul 29, 2005 at 02:49:39PM -0700, Josh wrote: > Hi. I'm new to both Maven and Subversion. I would like to put my > entire project under version control (that is, including my > project.xml, project.properties and maven.xml, as well as my src > directory) except, of course, for the target directory. Do I need to > move/delete the target directory every time I do a commit, or is there > a better way of excluding it from my working copy? Thanks for any > tips.
In the directory where you have project.xml etc: $ svn propset svn:ignore . target I have a special file that I use when setting the standard exclued which I use like this: $ svn propset svn:ignore . -F ~/bin/svnignores My svnignores file contains: target *~ *.log .classpath .project *.ipr *.iws *.iml If you're a CVS oldtimer you'll probably see that setting the "svn:ignore" property on the directory is equals to having a .cvsignores file in the directory. -- Trygve
signature.asc
Description: Digital signature
