Brandon,
The element does not modify the system PATH.
It just allows you to define a set of files or directories that you can use
elsewhere in your build file as a single unit. For example, to pass as an
argument to a program that you launch using the
task.
NAnt does not provide suppo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Gökhan Altinören
> Sent: donderdag 18 november 2004 9:57
> To: [EMAIL PROTECTED]
> Subject: [Nant-users] and wildcard usage
>
> I want to copy a folder with subfolders by filetype (*.asp,
> *.c
Hello,I am using Nant to build a Windows.NET application , which references acouple of local web services. The web services have alias names when theyare added in VS.NET as web-references. However, when i build with 'nant', iam not sure how to use this alias - at most i can use the 'wsdl' output of
I want to copy a folder with subfolders by filetype (*.asp, *.css etc.) but
failed to construct the correct build file.
Here's the folder structure:
C:\ MyProject\UI\a.asp
C:\ MyProject\UI\SubFolder\b.asp
The above directive copies b.asp but not a.asp
I was wondering if there is a way to set
the PATH variable at the beginning of the build dynamically? I tried to use
the type before anything runs:
I need to set this b/c and
fail if they are not found in the path. Is there a way to do
this?
Bill,
The problem is that the name attribute of the include element is being
evaluated regardless of whether the if attribute evaluates to true or false.
The only workaround I know of is to protect the entire task containing
the if-protected element inside a dual if/unless block... in the if
bl
Using the reference supplied by Thibaut Barrère, I was able to code this
function be inserted into FileFunctions.cs in Nant.Core. This function will
return true if the specified file is a .NET assembly and false if it is not.
///
/// Returns true if the specifie
Thanks! That new error message worked great! It turns out the version of
the COM dll I was trying to reference had changed. Changing the
reference fixed things immediately!
> -Original Message-
> From: Gert Driesen [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 18, 2004 12:59 PM
> To
I don't know for sure as it's not our code, but it is likely.
Mike.
-Original Message-
From: Gert Driesen [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 18, 2004 11:03 AM
To: Nau, Michael; [EMAIL PROTECTED]
Subject: RE: [Nant-users] Error with solution task
Michael,
Does that asse
This should be fixed in the next nightly
build.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gert
DriesenSent: donderdag 18 november 2004 7:53To: 'Aaron
Elder'; 'Castro, Edwin Gabriel (Firing Systems Engr.)';
[EMAIL PROTECTED]Subject: RE: [Nant-users] Util
Edwin,
It appears as if a type library is not registered correctly. I've modified
NAnt to provide a more meaningful error message.
I'll upload a new nightly build in 30 minutes or so. I'd advise you to run
your build using that new version. That should allow you to locate the
source of the error.
Hi Gert,
I've attached the verbose output.
--Edwin
> -Original Message-
> From: Gert Driesen [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 18, 2004 12:27 PM
> To: Castro, Edwin Gabriel (Firing Systems Engr.); nant-
> [EMAIL PROTECTED]
> Subject: RE: [Nant-users] Odd error
>
> Ed
Edwin,
Can you provide a verbose log for this issue (NAnt.exe -verbose ) ?
Thanks,
Gert
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Castro, Edwin Gabriel (Firing Systems Engr.)
> Sent: donderdag 18 november 2004 21:15
> To: [EMAIL PRO
I downloaded the 2004-11-17 nightly and tried to compile a test project
I have and I got a really odd error. I expected to see something about
not finding Util as a class or namespace since I think this last nightly
hasn't fixed that bug yet. Instead I saw the following:
[output]
T:\Rover2\TestSui
Yes Decimal 2 Hex is correct…
This helps… thanks!
Shawn Haigh
From:
Castro, Edwin Gabriel (Firing Systems Engr.) [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 18, 2004
2:32 PM
To: Shawn Haigh;
[EMAIL PROTECTED]
Subject: RE: [Nant-users] bin 2
hex
I assume you mean decimal to hex…
Decimal (base 10)
Hexadecimal (base 16)
Binary (base 2)
Anyway, something like this might work:
static string DecToHex(int number)
{
return string.Format(“{0:X}”,
number);
}
string hex = DecToHex(108);
hex would equal “6C”.
us
Michael,
Does that assembly happen to use unmanaged dll's ?
Gert
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Nau, Michael
> Sent: donderdag 18 november 2004 19:49
> To: [EMAIL PROTECTED]
> Subject: [Nant-users] Error with solution task
>
>
Hello,
I'm trying to use the solution task to compile a set of projects. I've
run into an issue with a particular reference assembly included in one
of the solutions projects. Please see the error message below. However
if I compile the source of the project using the csc task and include
the Veri
Greetings,
Does anyone out there have a neat function to convert a
binary number to its hex equivalent?
Ex;
108
to 0x006C
cheers
Shawn Haigh
2. a. Run your nant script under some credentials that have access to
your VSS share. Find the "Run As" tab if your build runs as a scheduled
task or service. Or
b. use the task and "net use" your VSS share using your user
name and password.
For those of you unfamiliar with the fun that is VSS
I hesitated to even send this bug in because it's really easy to
work-around, and is very minor. But it tripped me up this morning and it's
probably a simple fix.
I'm using NAnt 0.85 (Build 0.85.1775.0; nightly; 11/10/2004). I am
'ing with a and when the basedir contains a trailing slash
(which p
This could, of course, be me being stupid, but I can't get my statement
to work.
I have a target that builds the documentation for my code using NDoc. If
the user has created a namespace summary file, then this needs including in
the task. In order to keep to a standard template, I have an
ta
Hi Gert,
I'd be happy to help out. What can I do?
- Einar
-Original Message-
From: Gert Driesen [mailto:[EMAIL PROTECTED]
Sent: 18. november 2004 15:57
To: Høst, Einar; [EMAIL PROTECTED]
Subject: Re: [Nant-users] Bug? Regional settings causing problems for
include!
Hi Einar,
I think t
Hi Einar,
I think there might indeed be an issue with this, but I've still to find a
way to replicate this on my system. I think I'd actually have to install a
Windows with a Norwegian locale, and I don't have time for this right now.
You don't happen to have time to look further into this ?
Ge
Title: Bug? Regional settings causing problems for include!
Hi,
I encountered a strange problem today. I tried running my NAnt script (using NAnt 0.84) that builds a data access component I'm writing, as well as some other assemblies, on a colleague's computer. The script is very straight-f
Gert,
That fixed it. Thanks!
-BR
From: Gert Driesen
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 17, 2004
3:15 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [Nant-users] Problem
with Move task, overwrite doesn't work?
Brian,
That issue was
Sanjoy,
Regarding #1:
You can use the vsslabel task to create labels. Use the tstamp task to format
the date/time.
Regarding #2:
I'm not sure what you mean.
Felice
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sanjoy
Sent: Thursday, November 18, 200
Dear All,
I want to know whether I have to compile my xyz.cs, ABC.cs files every
time when I build my application using NANT.
Using the following code
Or all these are not required if I have the Solution files of the
project which include all these sub projects that is re
28 matches
Mail list logo