Hi Roger,

I had a similar problem a long while back.  What seemed to be happening was that Draco 
would
consistently think there were no new changes.  After some major investigation, and a 
lot of
questions Mark, it turned out there was still a privileges issue.  You can confirm 
this Roger by
doing the following.  Ok before you confirm this, do the following:

1. Find the full path to SS.EXE and put it into the environment path.
2. Open a DOS window
3. Type SS.EXE to confirm it works

Continue if 3 works or go to 1

4. type: set SSDIR = "C:\Program Files\Microsoft Visual Studio\VSS\databases\"
5. ss.exe HISTORY "$/Projects/Spend On Life/SpendOnLifeSolution" -R -I-N 
-Y"roger,xxxxx"

What this will do is print out a list of modifications to the SpendOnLifeSolution 
project.  The
thing you are looking for is simply confirmation that everything is working - if it is 
you will see
a bunch of lines like the following:

*****************  Version 7   *****************
Label: "Gloria II Build 1.0"
User: X188828      Date: 25/03/03   Time: 10:50
Labeled

*****  Master.Build  *****
Version 2
User: X031224      Date: 24/03/03   Time: 11:36
Checked in $/GLORIA/Source/Production
Comment:

*****************  Version 6   *****************
User: X031224      Date: 24/03/03   Time:  8:32
$Bin destroyed

*****************  Version 5   *****************
User: Nakhtar      Date: 21/03/03   Time: 16:06
$Syngenta added

*****************  Version 4   *****************
User: Nakhtar      Date: 21/03/03   Time: 16:06
$NAnt Scripts added

*****************  Version 3   *****************
User: Nakhtar      Date: 21/03/03   Time: 16:06
Master.Build added

*****************  Version 2   *****************
User: Nakhtar      Date: 21/03/03   Time: 16:06
$Bin added

*****************  Version 1   *****************
User: Nakhtar      Date: 21/03/03   Time: 16:06
Created
Comment: New Build Environment.

Right.  Now that you have done that, you now need to verify the date being used works 
- it should
but it doesnt hurt to double check.  Type the following:

>SS.EXE HISTORY "$/Projects/Spend On Life/SpendOnLifeSolution" -R -I-N -Y"roger,xxxxx"
-Vd"7/24/2003;6:56 PM~7/24/2003;6:20 PM"

The -V switch creates a date range, which is what keeps the modifications list down to 
recent
changes.  What yo are looking to verify here is that you do in fact get a list of 
modifications
appear.  If you do, then everything is working on that front.  The only other issue 
related to this
aspect that could now be failing (based on my experience only!), is that when the tmp 
file is
created from within the Draco service, privileges mean nothing can be written to it (I 
think it
simply fails to create the file from the service).  A good test for this is to give 
Draco the admin
user account in the Services properties of Draco.NET.  Restart and see if you get 
anything.  

One last thing, which I should have mentioned at the top is - what is the interval of 
your polling
period - the log you presented seems short.

Let us know how this goes,

Nick.


"Roger Chang" <[EMAIL PROTECTED]> wrote:

> Thanks for the tip of looking in the Event log.  It was a XML formatting
> issue.
> 
>  
> 
> On to my next issue, what needs to happen for Draco to detect a change?
> Here are the things I have tried:
> 
>  
> 
> 1) I pointed <vss><project> to my solution home and checkout/changed/checkin
> one file in a project.  Draco didn't detect a change.
> 
> 2) I pointed <vss><project> to a project home and checkout/changed/checkin
> one file in that project. Draco didn't detect a change.
> 
> 3) I pointed <vss><project> to a project home and checkout the entire
> project, changed one file, and then checkin the entire project. Draco didn't
> detect a change.
> 
>  
> 
>  
> 
> 7/24/2003 6:56:26 PM - Starting Draco.NET
> 
> 7/24/2003 6:56:36 PM - spendonlife : Checking module for changes
> 
> 7/24/2003 6:56:36 PM - Check: 7/24/2003 6:20:11 PM
> 
> 7/24/2003 6:56:36 PM - Check: 7/24/2003 6:20:11 PM
> 
> 7/24/2003 6:56:36 PM - Detected path: C:\Program Files\Microsoft Visual
> Studio\VSS\win32
> 
> 7/24/2003 6:56:36 PM - HISTORY arguments: history "$/Projects/Spend On
> Life/SpendOnLifeSolution" -R -I-N -Y"roger,xxxxx" -Vd"7/24/2003;6:56
> PM~7/24/2003;6:20 PM" [EMAIL PROTECTED]:\WINNT\TEMP\tmp121.tmp
> 
> 7/24/2003 6:56:36 PM - Setting SSDIR environment variable to: C:\Program
> Files\Microsoft Visual Studio\VSS\databases\
> 
> 7/24/2003 6:57:11 PM - Check: 0
> 
>  
> 
> Also, I think it should be documented somewhere that quotes aren't needed
> for file paths in the draco.exe.config file. Because coming from Nant, this
> isn't implied.
> 
>  
> 
> Roger
> 
> 

nick robinson
www.fromconcept.co.uk




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Draconet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users

Reply via email to