Thanks Tamás!

That was the problem :)

Regards,
Péter


-----Original Message-----
From: Tamás Cservenák [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 05, 2007 3:54 PM
To: Maven Users List
Subject: Re: Maven 2.0.6 - Windows - SVN question

Hello

AFAIK, on windows if a file is opened (in editor or IDE) the write
access to it is denied, and release plugin needs write access. Did you
have the file below opened in some editor?

The "permission denied" insinuates that.

~t~

On Dec 4, 2007 4:41 PM, Váry Péter <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
> I have a setup, where I use maven 2.0.6 with svn for source control.
>
> I have a project which I want to release. The effective pom attached at the 
> bottom.
>
>
>
> I can release it with: 'mvn release:prepare;mvn release:preform' on a debian 
> linux box, but on Windows XP machines the 'mvn release:prepare' fails with 
> the following message:
>
>
>
> [INFO] 
> ------------------------------------------------------------------------
>
> [ERROR] BUILD FAILURE
>
> [INFO] 
> ------------------------------------------------------------------------
>
> [INFO] Unable to commit files
>
> Provider message:
>
> The svn command failed.
>
> Command output:
>
> svn: Commit succeeded, but other errors follow:
>
> svn: Error bumping revisions post-commit (details follow):
>
> svn: In directory 'C:\temp\kl\modules\util\trunk'
>
> svn: Error processing command 'committed' in 'C:\temp\kl\modules\util\trunk'
>
> svn: Error replacing text-base of 'pom.xml'
>
> svn: Can't move 'C:\temp\kl\modules\util\trunk\.svn\tmp\pom.xml.tmp' to 
> 'C:\temp\kl\modules\util\trunk\pom.xml': A hozzáférés megtagadva.
>
>
>
> The last part "A hozzáférés megtagadva." means - permission denied.
>
>
>
> If I run the 'mvn release:prepare' again, I get the following message:
>
>
>
> [INFO] 
> ------------------------------------------------------------------------
>
> [ERROR] BUILD FAILURE
>
> [INFO] 
> ------------------------------------------------------------------------
>
> [INFO] Unable to commit files
>
> Provider message:
>
> The svn command failed.
>
> Command output:
>
> svn: Working copy 'C:\temp\kl\modules\util\trunk' locked
>
> svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
>
> Type 'svn help' for usage.
>
>
>
> If I run the 'svn cleanup' again, and then 'mvn release:prepare' then 
> everything seems ok. Can anybody help me, what is the problem with my 
> settings?
>
>
>
> Thanks,
>
> Peter
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to