Thanks for post Toby.
We are releasing a version with this fix shortly.
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kraft, Toby
Sent: Friday, July 02, 2004 07:58
To: [EMAIL PROTECTED]
Subject: RE: [Draconet-users] VSS not detecting change - the reason is....

To correct the vss time problem:
In file scc\VssRepository.cs

Change
        private string ToVssDate(DateTime dateTime) {
            return dateTime.ToShortDateString() + ";" +
dateTime.ToLongTimeString();
        }

To

        private string ToVssDate(DateTime dateTime) {
            return dateTime.ToShortDateString() + ";" +
dateTime.ToShortTimeString();
        }


There is some comment that VSS accepts the time with seconds however I did
not find it to work.  Probably more testing and feedback is needed.

Toby

PS 2nd issue - the 1.5 src package omitted the file \service\App.config
(which is copied to build\draco.exe.config) which caused the nant build to
fail.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kraft, Toby
Sent: Friday, July 02, 2004 9:14 AM
To: [EMAIL PROTECTED]
Subject: [Draconet-users] VSS not detecting change - the reason is....


I just got draco.net working and noticed that VSS was not detecting changes
when called from draco.  After debugging a while with a batch file, I
discovered that the VSS history command -V option does not like seconds to
be specified with the time.  If you leave off the seconds, it works.  If you
specify seconds, it does not detect the changes:

For example:
"C:\Program Files\Microsoft VSS\win32\ss.exe" history
"$/WPR/WPR_Solution.root" -R -I-N -Y"tkraft,xyzzx" -Vd"7/2/2004;9:30
AM~7/2/2004;5:56 AM" [EMAIL PROTECTED]:\DOCUME~1\tkraft\LOCALS~1\Temp\tmpxxx2.tmp

This will work and yields:

Building list for
$/WPR/WPR_Solution.root.................................................
......................................................

*****  Event.ascx  *****
Version 71
User: Tkraft       Date:  7/02/04   Time:  8:29a
Checked in $/WPR/WPR_Solution.root/WPR_Web/controls
Comment: 

*****  Event.ascx  *****
Version 70
User: Tkraft       Date:  7/02/04   Time:  8:18a
Checked in $/WPR/WPR_Solution.root/WPR_Web/controls
Comment: 

*****  Event.ascx.cs  *****
Version 86
User: Tkraft       Date:  7/02/04   Time:  8:11a
Checked in $/WPR/WPR_Solution.root/WPR_Web/controls
Comment: 

*****  Event.ascx.cs  *****
Version 85
User: Tkraft       Date:  7/02/04   Time:  7:56a
Checked in $/WPR/WPR_Solution.root/WPR_Web/controls
Comment: 


However,
"C:\Program Files\Microsoft VSS\win32\ss.exe" history
"$/WPR/WPR_Solution.root" -R -I-N -Y"tkraft,xyzzx" -Vd"7/2/2004;9:30:00
AM~7/2/2004;5:56:00 AM" [EMAIL PROTECTED]:\DOCUME~1\tkraft\LOCALS~1\Temp\tmpxxx2.tmp


Only yielded:

Building list for
$/WPR/WPR_Solution.root.................................................
......................................................


I'm running VSS 6.0d

I'll have a look at the source but if someone wants to jump in first, let us
know.

Thanks,

Toby

PS - an earlier post of mine indicated it worked once, then started failing
- reason was the 1st time had different dates in the -Vd range.
PPS - I'm not subscribed to the developers list, please forward if you like.


DISCLAIMER:
+++The information transmitted is intended only for designated
+++recipient(s) and may contain confidential and/or privileged material.

+++Any review, retransmission, dissemination or other use of, or taking 
+++of any action in reliance upon, this information by persons or 
+++entities other than the intended recipient is prohibited. If you 
+++received this in error, please contact the sender and do not retain 
+++but destroy any copies of this document.+++


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black
Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top
technical experts, no vendor pitches, unmatched networking opportunities.
Visit www.blackhat.com _______________________________________________
Draconet-users mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users


DISCLAIMER:
+++The information transmitted is intended only for designated 
+++recipient(s) and may contain confidential and/or privileged material. 
+++Any review, retransmission, dissemination or other use of, or taking 
+++of any action in reliance upon, this information by persons or 
+++entities other than the intended recipient is prohibited. If you 
+++received this in error, please contact the sender and do not retain 
+++but destroy any copies of this document.+++


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self
defense, top technical experts, no vendor pitches, unmatched networking
opportunities. Visit www.blackhat.com
_______________________________________________
Draconet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Draconet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users

Reply via email to