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

Re: [Subclipse-users] updating current directory from ant svn task on Windows

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-03-22 21:33:10 CET

On 3/22/07, Eduard Kotysh <nutellaboi@gmail.com> wrote:
> Mark, thanks for reply. I tried running: svn up -r HEAD
> c:\tsunami\svn\ed\build --non-interactive by hand and it succeeded no
> problem.
> I also tried running it under ant as an executable like this:
> <exec executable="svn">
> <arg line="up -r HEAD c:\tsunami\svn\ed\build
> --non-interactive"/>
> </exec>
> And that gave an error (same error as before, Working copy locked) which
> makes me conclude this is an Ant bug because error happens only when run
> under Ant environment.
> You also did point out an interesting thing about -N, indeed it doesn't
> show up even during successful run.
> Do you think I should bring this up at Ant's mailing list?

I wonder if the environment is different when the command is run via Java?
I do not know how you could check that though. Maybe instead of running
svn.exe, run a .bat file that printed out all of the environment variables?
Not that I know how to do that.

Mark Phippard
Received on Thu Mar 22 21:33:19 2007

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