Does seem to be is some kind of nant failure. Are you running on latest
version of nant? Does build box need nant upgrade?

One thing you can try:
There is a config variable to set that will keep the directory that draco
gets the source into, set that to true.  Have draco run a build and let it
fail. Login to box as the same user as draco runs. Switch into that build
folder area and run the build command line from there.  The draco.log should
have the exact command line that draco used to launch the build you can use
that line. 



There is a keeprootsourcedir variable, set that to true, login to the box as
the same user that the draco service runs as,  

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason
Alexander
Sent: Monday, February 28, 2005 20:17
To: draconet-users@lists.sourceforge.net
Subject: [Draconet-users] Locked file?

Hey there guys,


My build process has been running along fine for the past 9 months, and we
just recently branched so I went to update the build. In doing so, I'm
suddenly getting odd errors that I can't seem to fix.

Here's the build output:

NAnt 0.85 (Build 0.85.1693.0; net-1.0.win32; nightly; 8/20/2004) Copyright
(C) 2001-2004 Gerry Shaw http://nant.sourceforge.net

Buildfile:
file:///C:/BuildDirectory/Blink/Lego-20050227T110239Z/CS/lego.build
Target(s) specified: build-debug 

     [echo] Using 'net-1.1' framework on 'win32' platform.

build-debug:

 [solution] Starting solution build.
 [solution] Building 'CommunityServerComponents' [debug]...
                 [copy] Copying 1 file to
'C:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Components\bin\Debug\'.
 [solution]
c:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Components\Components\Permi
ssionBase.cs(150,13):
warning CS0162: Unreachable code detected  [solution]
c:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Components\Components\Post.
cs(54,19):
warning CS0169: The private field
'CommunityServer.Components.Post.ratings' is never used  [solution] Building
'CommunityServerControls' [debug]...
                 [copy] Copying 1 file to
'C:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Controls\bin\Debug\'.
                 [copy] Copying 2 files to
'C:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Controls\bin\Debug\'.
 [solution]
c:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Controls\Utility\GenericCon
trol.cs(28,23):
warning CS0108: The keyword new is required on
'CommunityServer.Controls.GenericControl.SkinName' because it hides
inherited member 'CommunityServer.Controls.TemplatedWebControl.SkinName'
 [solution]
c:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Controls\BaseClasses\Templa
tedWebControl.cs(84,17):
(Location of symbol related to previous warning)  [solution]
c:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Controls\Message.cs(64,12):
warning CS0168: The variable 'jumpList' is declared but never used
[solution]
c:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Controls\Utility\SearchRedi
rect.cs(23,14):
warning CS0169: The private field
'CommunityServer.Controls.SearchRedirect.button' is never used  [solution]
c:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Controls\Message.cs(28,10):
warning CS0169: The private field
'CommunityServer.Controls.Message.skinWindow' is never used  [solution]
c:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Controls\Utility\RssButton.
cs(21,21):
warning CS0169: The private field
'CommunityServer.Controls.RssButton.image' is never used  [solution]
Building 'CommunityServerGalleries' [debug]...
                 [copy] Copying 5 files to
'C:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Galleries\bin\Debug\'.
 [solution]
c:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Galleries\Components\Metada
ta\Rational.cs(14,15):
warning CS0659: 'CommunityServer.Galleries.Components.Rational'
overrides Object.Equals(object o) but does not override
Object.GetHashCode()
 [solution] Building 'CommunityServerForums' [debug]...
                 [copy] Copying 5 files to
'C:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\forums\bin\Debug\'.
 [solution]
c:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Forums\Controls\PostDisplay
\PostIconRadioButtonList.cs(62,21):
warning CS0168: The variable 'e' is declared but never used  [solution]
c:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Forums\Controls\Views\MyFor
umsView.cs(38,24):
warning CS0649: Field
'CommunityServer.Discussions.Controls.MyForumsView.forum' is never assigned
to, and will always have its default value null  [solution]
c:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Forums\Controls\Views\MyFor
umsView.cs(50,39):
warning CS0649: Field
'CommunityServer.Discussions.Controls.MyForumsView.ddlTracking' is never
assigned to, and will always have its default value null  [solution]
c:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Forums\Controls\CreateEditP
oll.cs(63,22):
warning CS0169: The private field
'CommunityServer.Discussions.Controls.CreateEditPoll.PostMode' is never used
[solution]
c:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Forums\Controls\Views\Threa
dView.cs(52,39):
warning CS0649: Field
'CommunityServer.Discussions.Controls.ThreadView.ddlTracking' is never
assigned to, and will always have its default value null  [solution]
c:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Forums\Controls\CreateEditP
ost.cs(43,21):
warning CS0169: The private field
'CommunityServer.Discussions.Controls.CreateEditPost.postView' is never used
[solution]
c:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Forums\Controls\CreateEditP
ost.cs(49,28):
warning CS0169: The private field
'CommunityServer.Discussions.Controls.CreateEditPost.allowReply' is never
used  [solution] Building 'CommunityServerBlogs' [debug]...
                 [copy] Copying 5 files to
'C:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\blogs\bin\Debug\'.
               [resgen] Read in 0 resources from
'C:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\blogs\Services\WeblogServi
ce.resx'
               [resgen] Writing resource file...  Done.
 [solution] Building 'CommunityServerGuestBook' [debug]...
                 [copy] Copying 3 files to
'C:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\GuestBook\bin\Debug\'.
                 [copy] Copying 2 files to
'C:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\GuestBook\bin\Debug\'.
 [solution] Building 'SqlDataProvider' [debug]...
                 [copy] Copying 7 files to
'C:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Data
Providers\SqlDataProvider\..\..\..\..\temp\Lego\bin\'.
                 [copy] Copying 2 files to
'C:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Data
Providers\SqlDataProvider\..\..\..\..\temp\Lego\bin\'.
                 [copy] Copying 2 files to
'C:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Data
Providers\SqlDataProvider\..\..\..\..\temp\Lego\bin\'.
                 [copy] Copying 2 files to
'C:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Data
Providers\SqlDataProvider\..\..\..\..\temp\Lego\bin\'.
 [solution] Building 'CommunityServerWeb' [debug]...
                 [copy] Copying 6 files to
'C:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Web\bin\'.
                 [copy] Copying 8 files to
'C:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Web\bin\'.
                 [copy] Copying 1 file to
'C:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Web\bin\'.

BUILD FAILED

Cannot copy
'C:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\lib\MemberRole.dll'
to
'C:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Web\bin\MemberRole.dll'.
    The process cannot access the file
"C:\BuildDirectory\Blink\Lego-20050227T110239Z\CS\Web\bin\MemberRole.dll"
because it is being used by another process.

Total time: 8.6 seconds.


        Stderr: 


2005-02-28T21:12:36 - Draco.Core.Util.ProcessRunner: Process "nant.exe"
error. Exited with status: Failed.
Command Details:
cd /d "C:\BuildDirectory\Blink\Blink-20050301T030833Z\CS"


I would have posted this to the NAnt list, but running the build manually
from the command line works fine. It only seems to rear it's head while in
the context of a Draco build.

Any hints? I've been banging my head on this a few days now and I'm stumped.
I'm hoping it's a "Oh duh" problem (usually is).


TIA,
-Jason



--
------

Jason Alexander
Chief Solutions Architect, Telligent Systems ASP.NET MVP, ASPInsider
President, Plano .NET User Group


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide Read honest & candid reviews
on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Draconet-users mailing list
Draconet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/draconet-users



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Draconet-users mailing list
Draconet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/draconet-users

Reply via email to