[NAnt-users] Find and Replace String.

2011-09-30 Thread Sastry, Dilip IN PUN SISL
Hi,

Can you send me Nant Script for the following task.

Open the bat file.
Read the file
Collect the File contents to an array
Match a particular string

Open the same File again
And Replace the above captured string with a new string.


Thnx,
Dilip Sastry.
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] NAnt 0.91 Beta 1 The type or namespace name 'List' could not be found

2011-09-30 Thread Robert Stackhouse
Looks like the csc task isn't finding mscorlib.dll?


C:\Users\RStackhouse\Desktop\GrokCodeBook\code\MessageN\projects\MessageNnant
NAnt 0.91 (Build 0.91.4285.0; beta1; 9/25/2011)
Copyright (C) 2001-2011 Gerry Shaw
http://nant.sourceforge.net

Buildfile:
file:///C:/Users/RStackhouse/Desktop/GrokCodeBook/code/MessageN/proje
cts/MessageN/default.build
Target framework: Microsoft .NET Framework 4.0
Target(s) specified: build


build:

  [csc] Compiling 2 files to
'C:\Users\RStackhouse\Desktop\GrokCodeBook\code
\MessageN\projects\MessageN\bin\MessageN.dll'.
  [csc]
c:\Users\RStackhouse\Desktop\GrokCodeBook\code\MessageN\projects\Mes
sageN\Configuration\MessageTransportConfigurationSection.cs(5,11): error
CS0246:
 The type or namespace name 'List' could not be found (are you missing a
using d
irective or an assembly reference?)
  [csc]
c:\Users\RStackhouse\Desktop\GrokCodeBook\code\MessageN\projects\Mes
sageN\Configuration\MessageTransportConfigurationSection.cs(7,16): error
CS0246:
 The type or namespace name 'List' could not be found (are you missing a
using d
irective or an assembly reference?)

BUILD FAILED

C:\Users\RStackhouse\Desktop\GrokCodeBook\code\MessageN\projects\MessageN\defaul
t.build(9,10):
External Program Failed:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe (
return code was 1)

Total time: 0.2 seconds.
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Find and Replace String.

2011-09-30 Thread Bob Archer
Is the file in question something that you control, or it a template file or 
something?

If so, you can use a filterchain during a copy or move to replace tokens with 
some value.

BOb


From: Sastry, Dilip IN PUN SISL [mailto:dilip.sas...@siemens.com]
Sent: Friday, September 30, 2011 6:51 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Find and Replace String.

Hi,

Can you send me Nant Script for the following task.

Open the bat file.
Read the file
Collect the File contents to an array
Match a particular string

Open the same File again
And Replace the above captured string with a new string.


Thnx,
Dilip Sastry.
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] unsubscribe this guy..

2011-09-30 Thread Bob Archer
List mods...

Can you please unsubscribe this guy:

irfan.duhe...@de.gbs.commailto:irfan.duhe...@de.gbs.com

His out of office auto reply's are quite annoying.

BOb

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] Nant hookup up with CxxTest or CppUnit

2011-09-30 Thread Chris Fouts
Can someone please point me to an example how Nant can start a test suite using 
CxxTest or CppUnit? I just want to know how Nant gets its feedback from those 
systems. ...or any testing suite really.

-chris



***This e-mail message is intended only for the above named recipient(s)
and may contain information that is sensitive or proprietary. If you have
received this message in error or are not the named recipient(s), please 
immediately notify the sender, delete this e-mail message without making
a copy and do not disclose or relay this e-mail message to anyone.***
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] FW: Nant hookup up with CxxTest or CppUnit

2011-09-30 Thread Adam Bruss
From: Adam Bruss
Sent: Friday, September 30, 2011 3:52 PM
To: 'Chris Fouts'
Subject: RE: Nant hookup up with CxxTest or CppUnit

We have nant run our executable with a certain flag which tells it to run the 
unittests and write the results to an xml file using Cppunit::XmlOutputter.

Then we merge that file into the cruisecontrol log and transform it with an xsl 
file to show the test results in the cruisecontrol emails.

Are you using Cruisecontrol?

Adam Bruss
Senior Development Engineer
AWR Corporation
11520 N. Port Washington Rd., Suite 201
Mequon, WI  53092  USA
P: 1.262.240.0291 x104
F: 1.262.240.0294
E: abr...@awrcorp.com
W: http://www.awrcorp.comhttp://www.awrcorp.com/

From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Friday, September 30, 2011 3:28 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Nant hookup up with CxxTest or CppUnit

Can someone please point me to an example how Nant can start a test suite using 
CxxTest or CppUnit? I just want to know how Nant gets its feedback from those 
systems. ...or any testing suite really.

-chris



***This e-mail message is intended only for the above named recipient(s)
and may contain information that is sensitive or proprietary. If you have
received this message in error or are not the named recipient(s), please
immediately notify the sender, delete this e-mail message without making
a copy and do not disclose or relay this e-mail message to anyone.***
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users