[Draconet-users] Help! No changes + Exit Code: 100

2003-11-13 Thread Calbazana, Al
Hello,

I've just set up Draco and ran into a snag.  No changes are found and no
build is run.  Looking through the logs I get the following:

11/12/2003 1:50:35 PM - module1 : Checking module for changes
11/12/2003 1:50:35 PM - Check: 11/12/2003 11:42:37 AM
11/12/2003 1:50:35 PM - Check: 11/12/2003 11:42:37 AM
11/12/2003 1:50:35 PM - Detected path: E:\Program Files\Microsoft Visual
Studio\Common\VSS\win32
11/12/2003 1:50:35 PM - HISTORY arguments: history "$/project" -R -I-N
-Y"user,password " -Vd"11/12/2003;1:50 PM~11/12/2003;11:42 AM"
[EMAIL PROTECTED]:\WINDOWS\TEMP\tmp14D.tmp
11/12/2003 1:50:35 PM - Warning: SS.EXE exit code: 100
11/12/2003 1:50:35 PM - Check: 0
11/12/2003 1:50:35 PM - module1 : Detected no changes to module

My VSS repository is on a network share.  An earlier post (or the docs)
suggested that the service be run under a domain account with sufficient
rights to the repository.  After changing the properties on my service
to run under a domain account however, I still get no changes w/ exit
code 100.

In an attempt to get things working, I tried pointing to a local
repository and running under my local account.  I get the same results.

I am running Draco 1.5 server.  I get the same results w/ either Nant as
the build tool or devenv (vs 2003).  Any help on this would be
appreciated.  I'd really like to get this service running.

Thanks,

Alejandro


---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Draconet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users


Re: [Draconet-users] Help! No changes + Exit Code: 100

2003-11-13 Thread Nick Robinson
Al,

I had this exact same problem many moons ago when I first setup Draco.NET for the 
first time here.
The problem is definitely privileges related.  I did some investigation, by stepping 
through the
source code.  What was happening was that when SS.EXE tried to create a temp file, the 
file would
get created but would always have a size of zero.  Error code 100 covers the set of 
all possible
errors that have ever existed, and will ever exist ad infinitum with VSS I'm afraid - 
therefore all
we care about is if it is non-zero.

Because of the 100 = everything problem, the privileges issue could be that the 
account the service
runs under doesnt have privileges to access the network drive - you seem to have 
mitigated this by
trying to use the local repository.  Therefore it could potentially be that SS.EXE 
fails to create
the tmp file for the history output.  

Currently, I have the draco service setup to run under a specific account - not log in 
as Local
System Account.  At this stage Al, all i can suggest is that you look at the 
privileges, and maybe
see where the tmp files are being created and check the privileges there.

Let us know how you get on.

nick.


"Calbazana, Al" <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I've just set up Draco and ran into a snag.  No changes are found and no
> build is run.  Looking through the logs I get the following:
> 
> 11/12/2003 1:50:35 PM - module1 : Checking module for changes
> 11/12/2003 1:50:35 PM - Check: 11/12/2003 11:42:37 AM
> 11/12/2003 1:50:35 PM - Check: 11/12/2003 11:42:37 AM
> 11/12/2003 1:50:35 PM - Detected path: E:\Program Files\Microsoft Visual
> Studio\Common\VSS\win32
> 11/12/2003 1:50:35 PM - HISTORY arguments: history "$/project" -R -I-N
> -Y"user,password " -Vd"11/12/2003;1:50 PM~11/12/2003;11:42 AM"
> [EMAIL PROTECTED]:\WINDOWS\TEMP\tmp14D.tmp
> 11/12/2003 1:50:35 PM - Warning: SS.EXE exit code: 100
> 11/12/2003 1:50:35 PM - Check: 0
> 11/12/2003 1:50:35 PM - module1 : Detected no changes to module
> 
> My VSS repository is on a network share.  An earlier post (or the docs)
> suggested that the service be run under a domain account with sufficient
> rights to the repository.  After changing the properties on my service
> to run under a domain account however, I still get no changes w/ exit
> code 100.
> 
> In an attempt to get things working, I tried pointing to a local
> repository and running under my local account.  I get the same results.
> 
> I am running Draco 1.5 server.  I get the same results w/ either Nant as
> the build tool or devenv (vs 2003).  Any help on this would be
> appreciated.  I'd really like to get this service running.
> 
> Thanks,
> 
> Alejandro





---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Draconet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users


Re: [Draconet-users] Help! No changes + Exit Code: 100

2003-11-13 Thread Calbazana, Al
Interestingly enough, the temp file is being created.  What's more is
that I tried to execute Draco's query of the repository and return
successful information (locally)... What's stranger is that when I
logged in this morning, I noticed that a build had completed against my
local repository?!  Somewhat reassuring :)

Well, I suppose it is time to walk through the source code.  I will let
the list know my findings.

Thanks,

Alejandro


---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Draconet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users


RE: [Draconet-users] VSS Working Directory

2003-11-13 Thread Chuck Bryan
Just a follow up to last weeks posts. Thanks to everyone who replied!

The part I was missing was the relative pathing issue. It was right
before my eyes! Also, I was not aware at the time of the NantContrib VSS
and have tested that as a variation to the default behavior.

Thanks 

Chuck

-Original Message-
From: David Reed [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 07, 2003 12:45 PM
To: [EMAIL PROTECTED]
Subject: RE: [Draconet-users] VSS Working Directory

My question for Chuck & Co. is "You're already using NAnt.  Why not use
the vssget task that's built into NAnt to put the source exactly where
you want it?"

Draco is great for watching VSS and firing a NAnt script which takes
care of all of its own care and feeding (deleting everything the working
directory, getting the latest source, etc.) without relying on Draco's
copy of source.


> -Original Message-
> From: [EMAIL PROTECTED]
[mailto:draconet-users-
> [EMAIL PROTECTED] On Behalf Of Mark Griffiths
> Sent: Friday, November 07, 2003 11:17 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [Draconet-users] VSS Working Directory
> 
> Hi
> 
> Just to give a bit of background info:  Draco was intentionally
designed
> to operate from a freshly checked out copy of the codebase.  This
> ensures that you get the cleanest possible build - without relying on
> 'clean' targets in the build script to be implemented correctly.
> 
> So Ervs solution of having your build file in SCC and specifying
> relative paths is really the preferred solution!
> 
> Mark
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Erv
> Walter
> Sent: 07 November 2003 16:37
> To: [EMAIL PROTECTED]
> Subject: RE: [Draconet-users] VSS Working Directory
> 
> 
> This has been discussed, but I don't know what the timeline will look
> like.
> 
> In the mean time, a common solution is to put your nant script *in*
VSS
> with your code and then have it work off of purely relative paths.
> 
> 
> 
> 
> From: Chuck Bryan [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 07, 2003 9:49 AM
> To: [EMAIL PROTECTED]
> Subject: [Draconet-users] VSS Working Directory
> 
> This is probably obvious, and something that I have missed.
> 
> My Nant build script looks at a directory where I normally "Get
Latest"
> to, and perform using the source files in that directory structure.
With
> Draco, it appears that it puts the files in a temp directory, which my
> Nant script does not know about.
> 
> Is there a way to specify the location (for Draco) or.determine
Draco's
> location to feed to Nant?
> 
> Thanks
> 
> Chuck Bryan
> 
> 
> 
> ---
> This SF.Net email sponsored by: ApacheCon 2003,
> 16-19 November in Las Vegas. Learn firsthand the latest
> developments in Apache, PHP, Perl, XML, Java, MySQL,
> WebDAV, and more! http://www.apachecon.com/
> ___
> Draconet-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/draconet-users


---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Draconet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users


---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Draconet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users


RE: [Draconet-users] Help! No changes + Exit Code: 100

2003-11-13 Thread Mark Griffiths
Hi

I noticed that you are specifying a path to the repository via a mapped
drive?  The drive mapping is probably not available to the process Draco
is running under.  How about specifying a UNC (\\SERVER\PATH) path
instead?

Mark

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Calbazana, Al
> Sent: 13 November 2003 14:45
> To: [EMAIL PROTECTED]
> Subject: Re: [Draconet-users] Help! No changes + Exit Code: 100
> 
> 
> Interestingly enough, the temp file is being created.  What's 
> more is that I tried to execute Draco's query of the 
> repository and return successful information (locally)... 
> What's stranger is that when I logged in this morning, I 
> noticed that a build had completed against my local 
> repository?!  Somewhat reassuring :)
> 
> Well, I suppose it is time to walk through the source code.  
> I will let the list know my findings.
> 
> Thanks,
> 
> Alejandro
> 
> 
> ---
> This SF.Net email sponsored by: ApacheCon 2003,
> 16-19 November in Las Vegas. Learn firsthand the latest 
> developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, 
> and more! http://www.apachecon.com/ 
> ___
> Draconet-users mailing list [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/draconet-users
> 



---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Draconet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users


RE: [Draconet-users] Help! No changes + Exit Code: 100

2003-11-13 Thread Calbazana, Al
Not to beat this to death, but I noticed that the SSDIR is never being
set.  I plugged in the VSS repository location into my environment
variables SSDIR=\\mypath\VSS and restarted.  This worked!

Not sure if this is a hack solution, but my builds are now running.  I
do see code to set the environment variable in the vss class.  I want to
see how this is being fired.

Thanks,

Alejandro



---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Draconet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users


RE: [Draconet-users] Help! No changes + Exit Code: 100

2003-11-13 Thread Gerarde_Albro
I had fixed this in Draco and checked it in to CVS this morning.

- Jerry

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Calbazana, Al
Sent: Thursday, November 13, 2003 11:16 AM
To: [EMAIL PROTECTED]
Subject: RE: [Draconet-users] Help! No changes + Exit Code: 100


Not to beat this to death, but I noticed that the SSDIR is never being
set.  I plugged in the VSS repository location into my environment
variables SSDIR=\\mypath\VSS and restarted.  This worked!

Not sure if this is a hack solution, but my builds are now running.  I
do see code to set the environment variable in the vss class.  I want to
see how this is being fired.

Thanks,

Alejandro



---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest developments in
Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more!
http://www.apachecon.com/
___
Draconet-users mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users


---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Draconet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users


[Draconet-users] devenv

2003-11-13 Thread Calbazana, Al
While troubleshooting my build process, I noticed that devenv is assumed
to be of VS.Net 2002.  This value is retrieved from the registry.  I
have a solution created under VS.Net 2003 which fails when Draco
attempts a build.  A work around was to hack the registry to point to
VS.Net 2003's copy of devenv.  This works, but is a hack indeed.  Is
anyone placing this is app.config rather than retrieving this from the
registry?  Or having the registry search switch off of a value found in
the app.config?  I can add this if no one has tackled this already.

Thanks,

Alejandro


---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Draconet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users


[Draconet-users] Configuration Question...

2003-11-13 Thread Shane Taylor








Here is the error that I get.

 

11/13/2003 10:43:16 PM - Starting Draco.NET

11/13/2003 10:43:26 PM - Golf : Checking module for changes

11/13/2003 10:43:26 PM - Check: 11/13/2003 9:08:18 PM

11/13/2003 10:43:26 PM - Check: 11/13/2003 9:08:18 PM

11/13/2003 10:43:28 PM - Golf : Failed to poll repository
for changes because the following exception occurred:

System.NullReferenceException: Object reference not set to
an instance of an object.

   at Chive.Draco.Scc.SvnLogParser.Parse()

   at Chive.Draco.Scc.SvnRepository.GetModifications(DateTime
sinceDate)

   at
Chive.Draco.BuildRunner.GetModifications(DateTime earliestModificationTime)

   at Chive.Draco.BuildRunner.CheckForChanges()

 

 

1.) I have tried Nant version 0.8.01 as well as the build
from November 8th, 2003.

2.) I have tried this on Windows 2000, Windows XP, and
Windows 2003

3.) I have tried version 1.4 and 1.5 of Draco.Net

4.) I have tried subversion 0.30.0 and 0.32.1.

5.) svn.exe is in my system path

6.) nant.exe is in my system path

7.) My build scripts work fine when called from command line

8.) I can access my subversion repository just fine when
accessed from command line

9.) I have tried a domain admin account for the service

10.) I have tried a local admin account for the service

11.) I have kicked my computer across the room in
frustration (well… maybe I didn’t do that – yet.)

 

Any help would be appreciated.  I am sure that there is
something small that I am missing...  I just cant see it.

 

Thanks,

 

Shane

 

 

 

Here is my Draco.exe.config file:

 

 



  

  

    

    

  

  

  

    

  

  

    

    

    

  

    

    


type="Chive.Draco.Util.FileTraceListener, Draco"  />

    

    

     

  

    

  

  

  

  

    

  

    

    

 
 objectUri="Draco"


  
type="Chive.Draco.DracoRemote, Draco" />

  

  

  

  

    

  

    

    

    

  

  

 

    

    60

    

    

    60

 

    

    mail

 

    

    [EMAIL PROTECTED]

 

    

    

    

  

  

  

 


 
Golf

  

 


 
10

 
30

  

 


   


   


 
C:\DracoWorking\BuildOutput

   


 


  

 


 


   


   


   
\RootDir\Project\Golf.build

 

   


   


   
clean

   


 

   


   


   


 


  

 


 


   


   


   
http://source.acculence/svn/test/trunk

   


   
    

   


 


 


 

  

 


    

 

   

  



 








---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.537 / Virus Database: 332 - Release Date: 11/6/2003