[nant-dev] IIS Task

2003-08-28 Thread Soumitra Bajpai
Dear All, First of all this might already be present .So if anyone is already working on the task ,please ignore this. Aim I was thinking of writing a IIS Task. The functionality of the task is to start and a stop the IIS . This task will come in handy while building since many a times the

RE: [nant-dev] IIS Task

2003-08-28 Thread Nick Varacalli
Some random musings on this task: We would execute this task a lot. Notably, we need to be able to stop IIS on remote machines as part of our build (don't ask). To that effect, we use IISReset.exe instead of net stop. iis action=stop computer=foo / The main problem we have with net stop is

Re: [nant-dev] IIS Task

2003-08-28 Thread Jaroslaw Kowalski
FYI: You shouldn't use world wide web publsihings service because it doesn't exist in localized windows versions (Polish for example). You should use w3svc which doesn't change. There are 3 ways to reset iis: net stop w3svc net start w3svc or net stop iisadmin /y (will stop all IIS services -

[nant-dev] Subversion Tasks

2003-08-28 Thread brian.nantz
I am writing a book that has a chapter devoted to nAnt. As an example of extending nAnt, I thought I would take Claytons suggestion (http://sourceforge.net/mailarchive/forum.php?thread_id=2537223forum_id=863) and develop a Subversion Task. I have the checkout task building and somewhat

[nant-dev] Timeout on uploading output files in solution task

2003-08-28 Thread Bruce Onder
I am using nant-0.8.3-rc2 on a laptop running Windows XP sp1 and IIS 5.1. I have the following build file: ?xml version="1.0" ?project name="SRS" default="build" basedir="." descriptionSRS Build File/description property name="debug"

RE: [nant-dev] Timeout on uploading output files in solution task

2003-08-28 Thread Eric Fetzer
I was using webmap and still having this problem a few days ago. I debugged and fixed it with the following line change in Project.cs (in NAnt.VSNet): wdc.UploadFile(cs.FullOutputFile, cs.RelativeOutputPath + "/" + _projectSettings.OutputFile); to: wdc.UploadFile(cs.FullOutputFile,

RE: [nant-dev] IIS Task

2003-08-28 Thread Brian Knowles
Title: RE: [nant-dev] IIS Task -Original Message- From: Gert Driesen [mailto:[EMAIL PROTECTED]] I think you should actually create a servicecontroller task that allows any service to be started, paused, continued or stopped ... I've built this task using WMI, which allows

Re: [nant-dev] IIS Task

2003-08-28 Thread Gert Driesen
Any reason why you used WMI and not the ServiceController class ? I think I would perfer using the ServiceController class, as that class will more likely have an implementation in Mono (haven't checked if its already there). Gert - Original Message - From: Brian Knowles [EMAIL

Re: [nant-dev] Subversion Tasks

2003-08-28 Thread Gert Driesen
I'd rather move to the following task layout for the cvs tasks, but I haven't yet looked at implementing it : cvs cvsroot=... password=... update destination=... / checkout / /cvs if you get my point ... Gert - Original Message - From: brian.nantz [EMAIL PROTECTED]

RE: [nant-dev] IIS Task

2003-08-28 Thread Brian Knowles
Title: RE: [nant-dev] IIS Task From: Gert Driesen [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 28, 2003 10:00 AM Any reason why you used WMI and not the ServiceController class ? Yeah, I was building a number of WMI based tasks and the simplest thing for me to do was use WMI. In

Re: [nant-dev] IIS Task

2003-08-28 Thread Gert Driesen
I'm not saying youshould care about Mono, but for NAnt we should try to provide tasks that run on all supported frameworks. I'm not saying we can't offer framework or OS specific tasks, but we should try to provide framework, and OS neutral tasks where possible. Gert - Original Message -

Re: [nant-dev] IIS Task

2003-08-28 Thread Duncan Godwin
Although IISReset ships with IIS5+ it shouldn't be used for servers with a lot of web sites, as it has a time out of 60 seconds and if stop/start hasn't done by then it kills the process with the potential of corrupting the metabase (there's an MS knowledge base article about it somewhere, I've

[nant-dev] How do I avoid property expansion?

2003-08-28 Thread Kræn Munck
Hi all, I've only started working with NAnt a couple of days ago, so please excuse me if this question is a FAQ. I'm working on a task that produces a NAnt build script (more specifically, it expands the directories and components sections in an msi task for ease of use). Doing that, I need