Before for import yor project you should do a mcn clean to remove the target directory. You dont want this in subversion. Also the convention with subversion is that you have the follwoing three directories in the root of your repo.
tags branches trunk You need to put your project into the trunk directory. Ben On 7/17/06, Charlie Groves <[EMAIL PROTECTED]> wrote:
Yep, I'd never add target to my SCM system. It's supposed to be created from scratch by the build, and is wiped out by mvn clean. I add target to my global-ignores in ~/.subversion/config so it doesn't show up with a ? all the time. If you don't want to ignore target directories altogether, you can set the svn:ignore property on your project directory. Charlie On 7/17/06, Raphael Neve <[EMAIL PROTECTED]> wrote: > Hi there, > > I have a project that I am starting with Maven 2. I have the "src" and > "target" directories at the top level of my dir structure. My question > relates to the "good practises" in terms of SCM and in particular SVN > managment. Currently, I have imported my whole project directory into > the Subversion repository. This means that when I commit, it proposes to > add the "target" directory with the class and jar files to the SVN > repository, but I don't really want that. > > What is the normal way of doing this ? Is it to import only the "src" > branch into the SVN repository ? > > Thanks a lot, > Raphael > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
