Bert, We use the <exec> task and set the program to the commandline interface for FxCop. This way we can include FxCop in NAnt build process.
Thanks, Pradeep -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Saturday, 21 August 2004 9:07 AM To: [EMAIL PROTECTED] Subject: Nant-users digest, Vol 1 #1064 - 3 msgs Send Nant-users mailing list submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nant-users or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of Nant-users digest..." Today's Topics: 1. fxcop (Bert Jan Lappenschaar) 2. Re: Ant's PreSetDef task (Ian MacLean) 3. Params vs properties redux was: Nant .85 not working with Draco.Net (Ian MacLean) --__--__-- Message: 1 Date: Fri, 20 Aug 2004 14:28:19 +0200 From: "Bert Jan Lappenschaar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: [Nant-users] fxcop This is a multi-part message in MIME format. ------_=_NextPart_001_01C486B1.2D038B64 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 How can I best incorporate FXCOP in our build process? Is there a task in Nant I can use for this? Thanks, Bert-Jan =20 Bert-Jan Lappenschaar [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> =20 Senior ontwikkelaar DataBalk BV =20 tel:+31318410135 mobiel: +31651093956 =20 =20 =20 ------_=_NextPart_001_01C486B1.2D038B64 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStijl17 {font-family:Arial; color:windowtext;} @page Section1 {size:595.3pt 841.9pt; margin:70.85pt 70.85pt 70.85pt 70.85pt;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DNL link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Hi,</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> </span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>How can I best incorporate FXCOP in our build = process? Is there a task in Nant I can use for this?<br> <br> Thanks,</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Bert-Jan</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> </span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Bert-Jan Lappenschaar</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><a = href=3D"mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><a = href=3D"mailto:[EMAIL PROTECTED]"></a></span></font> </p> <p class=3DMsoNormal><font size=3D1 face=3DTahoma><span = style=3D'font-size:7.5pt; font-family:Tahoma'>Senior ontwikkelaar</span></font></p> <p class=3DMsoNormal><font size=3D1 face=3DTahoma><span = style=3D'font-size:7.5pt; font-family:Tahoma'>DataBalk BV</span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'> </span></font></p> <p class=3DMsoNormal><font size=3D1 face=3DTahoma><span = style=3D'font-size:7.5pt; font-family:Tahoma'>tel:+31318410135</span></font></p> <p class=3DMsoNormal><font size=3D1 face=3DTahoma><span = style=3D'font-size:7.5pt; font-family:Tahoma'>mobiel: +31651093956</span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'> </span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'> </span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'> </span></font></p> </div> </body> </html> =00 ------_=_NextPart_001_01C486B1.2D038B64-- --__--__-- Message: 2 Date: Sat, 21 Aug 2004 11:21:32 +0900 From: Ian MacLean <[EMAIL PROTECTED]> To: Felice Vittoria <[EMAIL PROTECTED]> CC: "Nant-Users (E-mail)" <[EMAIL PROTECTED]> Subject: Re: [Nant-users] Ant's PreSetDef task Felice, This looks interesting. If someone would like to step up and have a stab at implementing it that would be kinda cool. I don't see it making 0.85 though. Ian >Hello, > >I was wondering if Ant's PreSetDef task would be a good candidate for a future task >in NAnt. If so, can we put that on the list? > >Here's the URL for more info: http://ant.apache.org/manual/CoreTasks/presetdef.html > >If it can be placed in Nant 0.85 that would be great too. > >Thanks, >Felice > > >------------------------------------------------------- >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >_______________________________________________ >Nant-users mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/nant-users > > -- Ian MacLean, Developer, ActiveState, a division of Sophos http://www.ActiveState.com --__--__-- Message: 3 Date: Sat, 21 Aug 2004 11:42:34 +0900 From: Ian MacLean <[EMAIL PROTECTED]> To: "Nant-Developers (E-Mail)" <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: [Nant-users] Params vs properties redux was: Nant .85 not working with Draco.Net This seems to be causing a lot of grief. I'm really leaning towards having a list of <param> elements at the project level and allowing those and only those values to be passed on the commandline. I'm not sure how feasible that would be with the way we pass properties to nested builds but I think it would simplfy things a lot and add extra benefits. For example: <project name="foo" > <param name="param1" default="somevalue" description="my first commandline param" /> ... params would be the equivalent of c#'s args[] array thats passed to main and similarly would be readonly. Because they are seperate from properties its clear that they have pass by value semantics. The default attribute allows you to use a default if a value isn't passed on the commandline without haveing to do the non-intuitive overwrite="false" mojo that is required now - similar to languages that allow default values for function paramaters. The description would be output when you do a nant -projecthelp further documenting the build file. If you want a writable value based on a param you would set a new property - the same as you would in c# code with pass by value method arguments. Similarly it probably makes sense to have params and properties in the same namespace so you coulndn't create a property with the same name as an existing param. Ian Merrill Cornish wrote: >Unfortunately, the property task's overwrite attribute can't overwrite a readonly >property--according to the documentation. > >So, if you are passing a command line argument into the NAnt 0.85 script and you want >to munge that value internally, then you will have to create a second property >initialized to the command line property value, then munger this second property. > >Of course, if the command line argument wasn't specified, then you can detect that in >the NAnt script with not property::exists('propertyName') then set propertyName to >its default value. > >Merrill > > >------------------------------------------------------- >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >_______________________________________________ >Nant-users mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/nant-users > > -- Ian MacLean, Developer, ActiveState, a division of Sophos http://www.ActiveState.com --__--__-- _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users End of Nant-users Digest ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users