[NAnt-users] How can I set the LogLevel of a task in nant's build file?

2007-12-19 Thread Alan Guedeney
Is there a task or something like this that I can use for a task instead of the entire build file? Thanks -Alan - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sel

Re: [NAnt-users] Advanced NANT question ...

2007-10-26 Thread Alan Guedeney
embly executes within your current AppDomain and therefore writes to your current AppDomain's stdout/stderr. Thus you easily can redirect output by calling Console.SetOut() / Console.SetError(). -Erich From: Alan Guedeney [mailto:[EMAIL PROTECTED]: Fri 2007-10-26 15:41To: Gert DriesenCc: Ala

Re: [NAnt-users] Advanced NANT question ...

2007-10-25 Thread Alan Guedeney
D] To: [EMAIL PROTECTED]; nant-users@lists.sourceforge.net try AppDomain.ExecuteAssembly("nant.exe", Assembly.GetExecutingAssembly().Evidence, new string[] { "targetname" } ); -Erich From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan

[NAnt-users] Does anyone know what this means?

2007-10-24 Thread Alan Guedeney
Calling nant.exe from command line on a local drive. Unhandled Exception: System.TypeInitializationException: The type initializer for 'NAnt.Console.ConsoleStub' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'log4net, Version=1.2.9.0, Culture=neutral, Pub

[NAnt-users] Advanced NANT question ...

2007-10-24 Thread Alan Guedeney
I'm creating a C# console program that needs to pass in NANT's command line arguments and execute a task from a NANT buildfile. Does anyone have a code snippet on how to do this? - This SF.net email is sponsored by: Splu

Re: [NAnt-users] NANT task to rename a directory?

2007-10-01 Thread Alan Guedeney
Nope. Tried it. Had to create a custom task. Subject: RE: [NAnt-users] NANT task to rename a directory?Date: Mon, 1 Oct 2007 09:55:10 -0400From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; nant-users@lists.sourceforge.net You should be able to use the move task to do this. BOb From: [EMA

[NAnt-users] NANT task to rename a directory?

2007-09-28 Thread Alan Guedeney
Anyone have a simple and ez way to do this? - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___

Re: [NAnt-users] NANT and VS2005

2007-09-20 Thread Alan Guedeney
ild as you suggested. Thanks for taking time to reply. -Alan > From: [EMAIL PROTECTED]> To: nant-users@lists.sourceforge.net> Date: Thu, 20 > Sep 2007 12:32:04 -0400> Subject: Re: [NAnt-users] NANT and VS2005> > Alan > Guedeney <[EMAIL PROTECTED]> wrote:> > > NAN

Re: [NAnt-users] NANT and VS2005

2007-09-20 Thread Alan Guedeney
; To: nant-users@lists.sourceforge.net > Date: Thu, 20 Sep 2007 12:32:04 -0400 > Subject: Re: [NAnt-users] NANT and VS2005 > > Alan Guedeney <[EMAIL PROTECTED]> wrote: > > > NANT solution task documentation does not include support for VS2005? > > Does this work in version 0.85

[NAnt-users] NANT and VS2005

2007-09-20 Thread Alan Guedeney
NANT solution task documentation does not include support for VS2005? Does this work in version 0.85? -Alan - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.a

Re: [NAnt-users] FW: NANT command line args

2007-08-11 Thread Alan Guedeney
Correction (to be exact)From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Sat, 11 Aug 2007 14:32:43 -0500Subject: [NAnt-users] FW: NANT command line args FYIFrom: [EMAIL PROTECTED]: [EMAIL PROTECTED]: RE: [NAnt-users] NANT command line argsDate: Sat, 11 Aug 2007 14:31:28 -0500 Hi Gert,Good

[NAnt-users] FW: NANT command line args

2007-08-11 Thread Alan Guedeney
FYIFrom: [EMAIL PROTECTED]: [EMAIL PROTECTED]: RE: [NAnt-users] NANT command line argsDate: Sat, 11 Aug 2007 14:31:28 -0500 Hi Gert,Good question! The answer:First, I want to record the arguments being passed by NANT for record the project's configuration. It is important part of reproduc

[NAnt-users] NANT command line args

2007-08-10 Thread Alan Guedeney
Is there a property in NANT that stores all the command line arguments?-Alan- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration file

[NAnt-users] How do I get the name of the build file from a property ...

2007-08-10 Thread Alan Guedeney
How do I get the name of the build file from a property or is it a function? -Alan- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configu

[NAnt-users] nant asychronous task

2007-08-08 Thread Alan Guedeney
Can anyone please give me of example code to do a parallel task? Is this even possible? Thanks -Alan - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search

Re: [NAnt-users] FW: Sorting fileset

2007-05-07 Thread Alan Guedeney
There was an example piece already provide in the email listing a few days ago ... // Pass fileset refid as a string in your task public FileSet GetFileSetByID(String pID){ if (pID.Length > 0) { DataTypeBase dtb = this.Project.DataTypeReferences[pID]; return (FileSet)dtb;}

Re: [NAnt-users] Sorting fileset

2007-05-03 Thread Alan Guedeney
This is untested code, but you could do something like this ... I bet with some modifications you could get your results. Hope it helps someone :-) // usage: [FunctionSet("string", "String")] public class SortFilesetFunctions : FunctionSetBase { public SortFilesetFunctions(Project project, P

Re: [NAnt-users] fileset exclude / include priorities

2007-02-26 Thread Alan Guedeney
Try (Notice the placement order of include and exclude): > Date: Mon, 26 Feb 2007 16:34:17 +0200> From: [EMAIL PROTECTED]> To: > nant-users@lists.sourceforge.net> Subject: [NAnt-users] fileset exclude / > include priorities> > Hello everybody,> > I have a ta

Re: [NAnt-users] NAnt & VS 2005 Intellisense

2006-11-29 Thread Alan Guedeney
3/15/60381.aspx Granted, the blog was originated since beta1, but I found it's still work (at least for me). Daniel -Original Message- From: Alan Guedeney [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 15, 2006 2:42 PM To: [EMAIL PROTECTED]; nant-users@lists.sourceforge.net Cc: [EMAIL

Re: [NAnt-users] NAnt & VS 2005 Intellisense

2006-11-15 Thread Alan Guedeney
Thanks Gert, Yes, you are correct. Unfortunately, there are two locations where .xsd show up. The one you defined is the correct location! -Alan Original Message Follows From: "Gert Driesen" <[EMAIL PROTECTED]> To: "'Alan Guedeney'" <[EMAIL PROT

[NAnt-users] NAnt & VS 2005 Intellisense

2006-11-15 Thread Alan Guedeney
I can't get this work. Most articles ask to me to follow the steps I provided below. Does anyone have the same experience? Can anyone help me solve this problem? NAnt 0.85.2344.0 Microsoft Visual Studio 2005 Version: 8.0.50727.42 The nant.xsd second line is pointing to: http://nant.sf.net/rele

[NAnt-users] Trying to escape double quotes when using exec task ...

2006-11-09 Thread Alan Guedeney
Anyone know the answer? Usually doubling up on double quotes works for XML. Thanks, -Alan - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated

Re: [NAnt-users] Help! NANT zip task

2006-09-07 Thread Alan Guedeney
Thanks Melissa - that worked. Original Message Follows From: "Melissa Kacher" <[EMAIL PROTECTED]> To: "Alan Guedeney" <[EMAIL PROTECTED]>, Subject: RE: [NAnt-users] Help! NANT zip task Date: Thu, 7 Sep 2006 13:57:34 -0700 MIME-Version: 1.0 Receiv

[NAnt-users] Help! NANT zip task

2006-09-07 Thread Alan Guedeney
Having a simple problem including directories with files into a zip file using a NANT task. Can anyone direct me on how to include the correponding directories instead of just flattening the structure?

[NAnt-users] Anyone know how to best do this ...

2006-07-30 Thread Alan Guedeney
Ideally, I'd like a "filter" task that can be applied to any task like this: or Now, I can apply the filter's task to any other task as a nested task. Is this too simple? Does anyone know how to get this work? Is t