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

Errors Working With Subversion and FinalBuilder4

From: Tomos Evans <tevans_at_rm.com>
Date: 2006-03-27 17:37:51 CEST

Hi,

 

I'm currently experiencing a problem integrating subversion and
FinalBuilder4. Along with some associated tasks (copying compilation
outputs etc) the build process primarily builds three VS.Net solutions.
Before building each solution it executes some standard initialisation
tasks - these are listed below:

 

* Delete all *.dll and *.user files (using a batch file) in
the source tree, so that the output of the first build doesn't affect
the second etc.

* Performs a svn cleanup command - it seems to need this
otherwise the svn update fails frequently.

* Performs an svn update - to get the latest version of the
source and to restore some external dependencies (dlls) to the source
tree.

 

The problem I'm finding is that the build process fails around 90% of
the time on the second set of initialisation tasks (on the cleanup
command). However, bizarrely, if I were to start the initialisation and
build tasks separately and manually i.e.:

 

Manually run...

 

Initialise 1

Solution Build 1

 

Then manually run...

 

Initialise 2

Solution Build 2

 

...it works 100% of the time.

 

Nevertheless this means that the build process cannot be executed as an
unattended task.

 

Examples of the errors that occur on the cleanup are as follows:

 

* svn: Can't remove 'C:/Source/Prototype/Portal/.svn/tmp': The
directory is not empty.

 

This in turn causes the following types of errors on the update:

 

svn: Working copy '.' locked

svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for
details)

 

I've tried all sorts of solutions to this problem without any success
but I'm still confused as to why it seems to only occur if the commands
are executed in the same run of the build process. Have you heard of any
other scenarios like this? Can you suggest any diagnostics / tests that
I could perform or point me in the direction of any helpful advice?

 

Any help would be very much appreciated here as I'm at a bit of a
loss...

 

Kind regards,

Tomos Evans
Analyst Programmer
Information Systems
RM plc
* : tevans@rm.com
' : (01235) 854610
www.rm.com
<file:///C:\Documents%20and%20Settings\toevans\Application%20Data\Micros
oft\Signatures\www.rm.com>

 
Visit our Website at http://www.rm.com

This message is confidential. You should not copy it or disclose its contents to anyone. You may use and apply the information for the intended purpose only. Internet communications are not secure; therefore, RM does not accept legal responsibility for the contents of this message. Any views or opinions presented are those of the author only and not of RM. If this email has come to you in error, please delete it, along with any attachments. Please note that RM may intercept incoming and outgoing email communications.

Freedom of Information Act 2000
This email and any attachments may contain confidential information belonging to RM. Where the email and any attachments do contain information of a confidential nature, including without limitation information relating to trade secrets, special terms or prices these shall be deemed for the purpose of the Freedom of Information Act 2000 as information provided in confidence by RM and the disclosure of which would be prejudicial to RM's commercial interests.

This email has been scanned for viruses by Trend ScanMail.
Received on Mon Mar 27 21:09:02 2006

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