The SVN ignore file does that trick, right? on, May 9, 2011 at 12:03 PM, Refr Bruhl <refr_br...@yahoo.com> wrote:
> > The subversion plugin doesn't really give that as an option unless every > time > you commit you uncheck the target directory. It would be nice if the > subversion > plugin had an option to exclude directories at set up time. > > > > --Refr inn gra > > > "Wars are to be won with swords and spears, > not with rice and salt." -- Uesugi Kenshin > > > > ----- Original Message ---- > From: Alex Lopez <alo...@flordeutopia.pt> > To: us...@maven.apache.org > Sent: Mon, May 9, 2011 9:50:36 AM > Subject: Re: Maven, Subversion and Eclipse issue > > never a good idea to commit the target dir IMO... > > Em 09-05-2011 15:42, Refr Bruhl escreveu: > > > > Team > > > > I've an issue with the m2 plugin using maven in conjunction with > subversion. > > Since this crosses three platforms I thought I would try both the > subversion > >and > > maven list to see if anyone has run across a similar issue and what the > >solution > > was. > > > > When maven dependency is enabled for an eclipse project the maven plugin > will > > ensure the target subdirectory exists. This is usally a good thing. > > > > > > When the project is committed to subversion is when issues arise > > > > When a mvn clean is issued either thru the plugin or at the command shell > the > > target directory is deleted. The eclipse maven 2 plugin will recreate the > >target > > subdirectory > > > > However subversion now complains the directory is out of sync. Most times > the > > subversion plugin will not allow a force update. > > > > > > My current workaround is not to commit the entire project -- just > subfolder > > components when I make updates. I'm thinking there is a cleaner solution > to > > this. > > > > Using this method I am forced to use svn shell commands to create tags. > The > tag > > feature of the subversion plugin will not work unless all sub directories > are > > commitable. > > > > > > has anyone else ran into this? If so what solutions or workarounds were > found? > > > > > > Platform details below > > > > Eclipse: > > > > Eclipse Java EE IDE for Web Developers. > > > > Version: Helios Release > > Build id: 20100617-1415 > > > > (c) Copyright Eclipse contributors and others 2005, 2010. All rights > reserved. > > Visit http://www.eclipse.org/webtools > > > > Maven for Eclipse: > > > > M2 plugin by Sonatype 0.12.1.2011 > > > > Subversion for Eclipse > > Subversive byu Polarion 2.2.2 > > > > > > OS: Windows XP > > > > > > --Refr inn gra > > > > > > "Wars are to be won with swords and spears, > > not with rice and salt." -- Uesugi Kenshin > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > For additional commands, e-mail: users-h...@maven.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >