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
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
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
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
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
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
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/___
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
; 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 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
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
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
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
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
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
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;}
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
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
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
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
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
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
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
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?
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
25 matches
Mail list logo