Hi Nick,
Thanks very much for the response. I intend to look into Nant as soon as I
have draco happy, but I don't know how it works yet. I was using Buildit,
but its a bit cranky too.

Some feedback on your comments:
1. Yes, I confirm you understand it, except that in step 7, it has been
happy to run most of the day, and hangs only later, after some succesful
builds.
2. I Confirm that running {DEVENV "E:\SOURCESAFE PROJECTS\APPLICATION PORTAL
PROJECT\Source Code\Portal.sln" /build "Debug" /out} on the build server,
successfully builds all 30 projects
3. Running {DEVENV Portal.sln /build "Debug" /out} on the build server, does
not work - cannot find project file.
4. Changing the solutionfile setting to
<solutionfile>portal.sln</solutionfile> means the build fails and I get the
error "Portal.sln could not be found and will not be loaded."


The <project> tage specifies the argument for the GET doesn't it? and the
<solutionfile> specifies the argument for the build. But they are seperate
processes, surely. First you get the latest version of the source, then you
build that local version. So, how does devenv know where Portal.sln is if we
dont tell it? It must dynamically create a temp folder. I notice every time
it has crashed out, the temp folder is left behind with the downloaded
sourcecode.

!?

So I've gone back to the full path to the Portal.sln on the E: drive. It is
running again today, with some successful builds. I expect it to crash out
again at some stage though.

Thanks again, I will keep you posted.
Andrew


 
-----Original Message-----
From: Nick Robinson [mailto:[EMAIL PROTECTED]
Sent: 17 October 2003 17:45
To: [EMAIL PROTECTED]
Subject: Re: [Draconet-users] Shhh! Sleeping Draco.....


Hi Andrew,

Can I just confirm I understand the problem:

1. Draco Service runs on a different machine to DracoCli?
2. Draco Service runs and tries to build Portal, but simply hangs?
3. You stop Draco Service and then you cannot restart the service
4. You reboot
5. Once reboot, Draco Service restarts
6. You then use the draco client to kick start the build
7. The build begins with project Portal, and then Draco Service hangs?
8. You reboot the Draco service server

Whats wrong with your bloody Dev Solution! ;-)  I am running Draco Service
here to build a web
solution which has 5 projects in it and have no problems.  However (this is
possibly the problem), I
use the NAnt support of Draco.NET.

Something must be amiss with the something to do with that type of build.
The params etc passed to
DEVENV also look like they are correct.  Andy, can you go to a console
window on the machine running
Draco Service, and enter the following (making sure you have checked the
Portal project out to the
current dir):

DEVENV "E:\SOURCESAFE PROJECTS\APPLICATION PORTAL PROJECT\Source
Code\Portal.sln" /build "Debug"
/out

Ah...I dont think you should be putting in the full path to the solution
Andy.  It should look
something like this I believe:

DEVENV Portal.sln /build "Debug" /out

The idea is that you tell Draco to do a GET from the root project. So if you
have your project
checked into this project in source safe:

$/SOURCESAFEPROJECTS/APPLICATIONPORTALPROJECT/SourceCode 

then you would have something like this in the config file:

<build>        
  <devenv>
    <solutionfile>portal.sln</solutionfile>
  </devenv>
  ..

  <vss>
<project>$/SOURCESAFEPROJECTS/APPLICATIONPORTALPROJECT/SourceCode</project>
  ...
  </vss>
  ...

</build>

Try that.

Nick.

"COOTE, Andrew" <[EMAIL PROTECTED]> wrote:

> Hi there,
> Draco newbie here with problem no. 1.
> Multi-project solution in SS. Build server boots, Draco starts up, detects
> changes, rebuilds, and then after a few rebuilds, quietly goes to sleep...
> Here's part of the logfile up to when it stopped:
> 
> 06/10/2003 17:27:18 - Portal : Checking module for changes
> 06/10/2003 17:27:18 - Check: 06/10/2003 16:10:00
> 06/10/2003 17:27:18 - Check: 06/10/2003 16:10:00
> 06/10/2003 17:27:18 - Detected path: C:\Program Files\Microsoft Visual
> Studio\VSS\win32
> 06/10/2003 17:27:18 - HISTORY arguments: history "$/SourceSafe
> Projects/Application Portal Project/" -R -I-N -Y"CooteA"
> -Vd"06/10/2003;17:27~06/10/2003;16:10"
> [EMAIL PROTECTED]:\DOCUME~1\CooteA\LOCALS~1\Temp\tmpE12.tmp
> 06/10/2003 17:27:18 - Setting SSDIR environment variable to:
> \\A629uk06\WebTeam
> 06/10/2003 17:28:00 - Check: 4
> 06/10/2003 17:28:00 - Portal : Detected 4 change(s) to module
> 06/10/2003 17:28:00 - Portal : Entering 60 second sleep period
> 06/10/2003 17:29:00 - Check again: 06/10/2003 16:10:00
> 06/10/2003 17:29:00 - Detected path: C:\Program Files\Microsoft Visual
> Studio\VSS\win32
> 06/10/2003 17:29:00 - HISTORY arguments: history "$/SourceSafe
> Projects/Application Portal Project/" -R -I-N -Y"CooteA"
> -Vd"06/10/2003;17:29~06/10/2003;16:10"
> [EMAIL PROTECTED]:\DOCUME~1\CooteA\LOCALS~1\Temp\tmpE13.tmp
> 06/10/2003 17:29:00 - Setting SSDIR environment variable to:
> \\A629uk06\WebTeam
> 06/10/2003 17:29:35 - Check again: 4
> 06/10/2003 17:29:35 - Portal : Detected 0 additional modification(s)
> 06/10/2003 17:29:35 - Portal : Building module
> 06/10/2003 17:29:35 - Detected path: C:\Program Files\Microsoft Visual
> Studio\VSS\win32
> 06/10/2003 17:29:35 - GET arguments: get "$/SourceSafe
Projects/Application
> Portal Project/" -R -I-N -Y"CooteA" -W
> 06/10/2003 17:29:35 - Setting SSDIR environment variable to:
> \\A629uk06\WebTeam
> 06/10/2003 17:31:18 - DEVENV arguments: "E:\SOURCESAFE
PROJECTS\APPLICATION
> PORTAL PROJECT\Source Code\Portal.sln" /build "Debug" /out
> C:\DOCUME~1\CooteA\LOCALS~1\Temp\tmpE26.tmp
> 08/10/2003 15:58:41 - Stopping Draco.NET
> 08/10/2003 17:00:05 - Starting Draco.NET
> 
> I stopped the service, and it will not restart - gives me error -
> "Could not start the Draco.Net service on Local Computer. 
> Error 1067: The process terminated unexpectedly."
> 
> Here's the Event log output:
> Draco.NET failed to initialise.
> The following exception was thrown: 
> System.Runtime.Remoting.RemotingException: Remoting configuration failed
> with the exception System.Reflection.TargetInvocationException: Exception
> has been thrown by the target of an invocation. --->
> System.Net.Sockets.SocketException: Only one usage of each socket address
> (protocol/network address/port)
> is normally permitted
>    at
>
System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Object
> data)
>    at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel()
>    at
> System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(IDictionary
> properties, IServerChannelSinkProvider sinkProvider)
>    at System.Runtime.Remoting.Channels.Tcp.TcpChannel..ctor(IDictionary
> properties, IClientChannelSinkProvider clientSinkProvider,
> IServerChannelSinkProvider serverSinkProvider)
>    --- End of inner exception stack trace ---
>    at System.Reflection.RuntimeConstructorInfo.InternalInvoke(BindingFlags
> invokeAttr, Binder binder, Object[] parameters, CultureInfo culture,
Boolean
> isBinderDefault)
>    at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags
> invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
>    at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr,
Binder
> binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
>    at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr,
> Binder binder, Object[] args, CultureInfo culture, Object[]
> activationAttributes)
>    at
>
System.Runtime.Remoting.RemotingConfigHandler.CreateChannelFromConfigEntry(C
> hannelEntry entry)
>    at
>
System.Runtime.Remoting.RemotingConfigHandler.ConfigureChannels(RemotingXmlC
> onfigFileData configData)
>    at
>
System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlC
> onfigFileData configData).
>    at
>
System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlC
> onfigFileData configData)
>    at System.Runtime.Remoting.RemotingConfiguration.Configure(String
> filename)
>    at Chive.Draco.Draco.OnStart(String[] args) 
> 
> 
> So, I reboot, & fire the remote client: Dracocli /a /start:Portal
> and off it goes again. Until I have the same hang and cant restart the
> service, so must reboot.
> Help!
> Regards,
> Andrew
> 





-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
Draconet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users



CONFIDENTIALITY NOTICE 
The information contained in this e-mail is intended only for the
confidential use of the above named recipient. If you are not the intended
recipient or person responsible for delivering it to the intended recipient,
you have received this communication in error and must not distribute or
copy it.  Please accept the sender's apologies, notify the sender
immediately by return e-mail and delete this communication.  Thank you. 


-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
Draconet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users

Reply via email to