info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

connect to CVS from ASP page?


From: Woo Melina
Subject: connect to CVS from ASP page?
Date: Thu, 17 Jan 2002 13:57:30 -0800 (PST)

Hi,

I'm trying to connect to a CVS server from an ASP page
running on Windows 2000 Professional.  I've tried
adding and setting the HOME, HOMEDRIVE and HOMEPATH
environment variables in Windows but that kept my ASP
page from processing correctly.  The ASP page makes
use of an object that allows you to execute DOS and
Windows apps.  I also tried setting the variables from
within the script.  Here is some of the code:

 Set Executor = Server.CreateObject("ASPExec.Execute")
 Executor.Application = "cmd /c set home=c:\cvsadmin"
 strResult = Executor.ExecuteDosApp

 Executor.Application = "cmd /c set homedrive=c:"
 strResult = Executor.ExecuteDosApp

 Executor.Application = "cmd /c set
homepath=\cvsadmin"
 strResult = Executor.ExecuteDosApp
        
 Executor.Application = "c:\inetpub\scripts\cvs.exe"
 Executor.Parameters = "-d
:pserver:address@hidden:/usr/local/cvsroot login"
 strResult = Executor.ExecuteDosApp
 Response.Write "<pre>" & strResult & "</pre>"

The strResult turns out to be:
(Logging in to address@hidden)
cvs.exe [login aborted]: could not find out home
directory

Any ideas?  Please e-mail me directly as I am not
currently part of this mailing list.

Thanks,
M

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]