[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

AW: Maven, Subversion and Eclipse issue

From: Markus Schaber <m.schaber_at_3s-software.com>
Date: Tue, 10 May 2011 09:26:23 +0200

Hi, Refr,

Just a simple suggestion: As the target subdirectory seems to be created, why not removing it from subversion and adding it to svn:ignore?

Best regards

Markus Schaber

___________________________
We software Automation.

3S-Smart Software Solutions GmbH
Markus Schaber | Developer
Memminger Str. 151 | 87439 Kempten | Germany | Tel. +49-831-54031-0 | Fax +49-831-54031-50

Email: m.schaber@3s-software.com | Web: http://www.3s-software.com
CoDeSys internet forum: http://forum.3s-software.com
Download CoDeSys sample projects: http://www.3s-software.com/index.shtml?sample_projects

Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915

> -----Ursprüngliche Nachricht-----
> Von: Refr Bruhl [mailto:refr_bruhl_at_yahoo.com]
> Gesendet: Montag, 9. Mai 2011 16:42
> An: Maven Users List
> Cc: Subversion Mailing List
> Betreff: Maven, Subversion and Eclipse issue
>
>
> 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
Received on 2011-05-10 09:27:00 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.