I have implemented a custom script task for NAnt which makes progress
reporting back to CCNet much easier. Progress reporting is accomplished
by inserting XML into a file which is read by CCNet to display progress
information. See
http://confluence.public.thoughtworks.org/display/CCNETCOMM/Vi
Bob Archer wrote:
>> Bob Archer wrote:
>>
I am very familiar with JScript, but not with JScript.NET or C#. I
want
to write a function in JScript.NET that I can use in my NAnt script.
I currently have:
${script::testfunc()}
Bob Archer wrote:
>> I am very familiar with JScript, but not with JScript.NET or C#. I
>> want
>> to write a function in JScript.NET that I can use in my NAnt script.
>>
>> I currently have:
>>
>>
>>
>> ${script::testfunc()}
>>
>>
>>
>> > public
Hello,
I am very familiar with JScript, but not with JScript.NET or C#. I want
to write a function in JScript.NET that I can use in my NAnt script.
I currently have:
${script::testfunc()}
It is a little painful, but it is possible. The idea is to be able to
address each FileItem node individually. If each Path property is
unique across all of the FileItem nodes, then you can use that property
to "pick-out" each FileItem node:
File:
Ken,
Yes, I do this all the time with . I made a slight
modification that I use a lot, but your particular case doesn't need my
mod. Look at
http://weblogs.asp.net/soever/archive/2006/12/01/nant-xmllist-command-updated.aspx.
This is a blog entry, but it has a link to the code you want.
> M
I'm only addressing the XMLPEEK question; my answer makes the second
question unnecessary.
Don't use xmlpeek for this operation. I only use xmllist
now...http://weblogs.asp.net/soever/archive/2006/12/01/nant-xmllist-command-updated.aspx
XMLLIST allows for multi-attribute/multi-node reads. It
All,
I stumbled into this one today. If you use a task by itself
in a target, all is ok; but if you put that task inside of a it
fails.
Example script:
In the OT
I ran into this issue *so* many times that I obtained the task
and source from:
http://weblogs.asp.net/soever/archive/2006/12/01/nant-xmllist-command-updated.aspx
and modified the code so that if the final nodename specified is "*",
all nodenames are returned in a comma-separated list.
Then I
Ob
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Mike
> Frederick
> Sent: Wednesday, August 13, 2008 5:09 PM
> To: nant-users@lists.sourceforge.net
> Subject: [NAnt-users] Web deployment questions
>
> All,
>
> I a
All,
I am in charge of the build/deployment of a web-based product and I have
scripted the builds and deployments in NAnt. Now I am being asked to
also script the complete tear-down/build-up of the underlying IIS web
sites. This is to be done in order to guarantee that the final
deployment w
project from the command line.
Is there something else I need to do? Does anyone know how I can get
this working? TIA.
--
Mike Frederick
[EMAIL PROTECTED]
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
stallRoot, 'bin')}
Property 'sdkInstallRoot' has not been set.
Is there something I have done incorrectly? Please help me if you have
any ideas. TIA
Oh, yea, my command line was: nant -f:dnet.build go
you.
>
> Gert
>
> - Original Message - From: "Mike Frederick"
> <[EMAIL PROTECTED]>
> To: "nant"
> Sent: Monday, March 10, 2008 8:51 PM
> Subject: [NAnt-users] Using 0.86 beta 1 for .NET 3.5
>
>
>> I got NAnt 0.86 beta
age-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Mike
> Frederick
> Sent: Monday, March 10, 2008 3:52 PM
> To: nant
> Subject: [NAnt-users] Using 0.86 beta 1 for .NET 3.5
>
> I got NAnt 0.86 beta1 and was trying to build some new
other .NET version, this
number matches the version of .NET. Shouldn't this be version="3.5" ?
2) frameworkassemblydirectory="${path::combine(installRoot,
'v2.0.50727')}" ... again; shouldn't this match the 3.5 value?
3) clrversion="2.0.50727&q
an XML file and be able to pick up the nodename and attributes? TIA!
--
Mike Frederick
[EMAIL PROTECTED]
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http
ers, where as
> the system max path size is much larger! On top of that, I do not see a way
> to retrieve the standard out or standard error from the program. What a pain!
>
>
>
--
Mike Frederick
[EMAIL PROTECTED]
-
he virtual directory when someone has a web page open? I guess
this would make sense if you consider the exact configuration of the IIS
virtual directory a part of the deployment "packaging".
Any advice welcome. TIA.
--
Mike Freder
place?
--
Mike Frederick
[EMAIL PROTECTED]
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser
FAILED
INTERNAL ERROR
System.Net.WebException: The remote server returned an error: (403)
Forbidden.
*
Any help would be appreciated.
--
Mike Frederick
21 matches
Mail list logo