Draco also has a web interface already constructed which will serve the same purpose. We've been using it for a couple years and are very happy with it.
http://draconet.sourceforge.net/ http://sourceforge.net/projects/draconet/ v1.6.3.0 was just recently released on 26 March. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nant-users- > [EMAIL PROTECTED] On Behalf Of Marc Holmes > Sent: Friday, April 01, 2005 9:33 AM > To: Peter A. Pociask; nant-users@lists.sourceforge.net > Subject: RE: [Nant-users] Triggering Nant Build from ASP.Net Web Page > > Have you had a look at CruiseControl.Net (http://ccnet.thoughtworks.com)? > It will do what you need and a lot more besides. > Alternatively you could roll your own remoting wrapper. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Peter A. > Pociask > Sent: 01 April 2005 16:25 > To: nant-users@lists.sourceforge.net > Subject: [Nant-users] Triggering Nant Build from ASP.Net Web Page > > > I am trying to call nant from an asp.net (vb.net) web application. I am > using the following code: > > Public Function compile(ByVal compileArg) As String > > Dim args As String > args += " -f:" & > ConfigurationSettings.AppSettings("nantBuildFile") > args += " " & compileArg > > 'Response.Write(args) > Dim proc As New System.Diagnostics.Process > proc.StartInfo.WorkingDirectory = "d:\" > proc.StartInfo.RedirectStandardOutput = True > proc.StartInfo.RedirectStandardError = True > proc.StartInfo.FileName = > ConfigurationSettings.AppSettings("nantBin") & "nant.exe" > proc.StartInfo.Arguments = args > proc.StartInfo.UseShellExecute = False > proc.Start() > > 'Response.Write("Output " & proc.StandardError.ReadToEnd & > "<BR>") > Dim out = proc.StandardOutput.ReadToEnd > > proc.WaitForExit() > proc.Dispose() > > Return out > End Function > > I am attempting to execute a build script that works fine when invoked > from the command line, but it fails miserably when called from the web > page. It returns a bunch of lines that look like the following: > > [delete] Deleting file FILE. > [foreach] D:\ServerConf\default.build(32,6): > [foreach] Cannot delete file FILE > [foreach] Invalid File or Directory attributes value. > > I am almost certain it is some sort of permissions issue, but I'm not > sure what nant needs to run in terms of environment variables and temp > space. Has anyone attempted this, and if so, could you give me some > guidance? > > > Peter Pociask > > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > Nant-users mailing list > Nant-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nant-users > This e-mail (and any attachments) is confidential and may contain personal > views which are not the views of the BBC unless specifically > stated. > If you have received it in error, please delete it from your system. Do > not use, copy or disclose the information in any way nor act in > reliance on it and notify the sender immediately. Please note that the BBC > monitors e-mails sent or received. > Further communication will signify your consent to this. > > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > Nant-users mailing list > Nant-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users