Re: [Nant-users] assemblyname::get-assembly-name() vs properties

2004-10-07 Thread Gert Driesen
- Original Message - From: "Castro, Edwin Gabriel (Firing Systems Engr.)" <[EMAIL PROTECTED]> To: "Merrill Cornish" <[EMAIL PROTECTED]>; "Gert Driesen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, October 07, 2004 11:49 PM Subject: RE: [Nant-users] assemblyname::get-assembly-

Re: [Nant-users] Logger for monitoring build

2004-10-07 Thread Gert Driesen
Hi, When there's a build failure, a node will be present. Hope this helps, Gert - Original Message - From: "SoftEngg SoftEngg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 08, 2004 4:06 AM Subject: [Nant-users] Logger for monitoring build Hi, I am trying to use logg

Re: [Nant-users] VBC to Compile Windows - Sub Main Not Found

2004-10-07 Thread Gert Driesen
Ereno, Every winform app has a "Main" sub as entrypoint. That entrypoint might ofcourse be in another class. Can you send me your project, and sources ? Gert - Original Message - From: "Ereno, Lainie (Consultant)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 07, 20

RE: [Nant-users] unmanaged code

2004-10-07 Thread Delaney, Chris
Title: unmanaged code Thanks – just tried 09/28 and got the same thing…    [EMAIL PROTECTED]  212-820-4929 From: Manish Jain [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 11:47 AM To: Delaney, Chris; [EMAIL PROTECTED] Subject: RE: [Nant-users] unmanaged code

RE: [Nant-users] unmanaged code

2004-10-07 Thread Delaney, Chris
Title: unmanaged code I am starting this from autosys which is a job scheduler.  The machine is win2k server.   Very strange because nant is the only exe and of course this only happens in production.   Maybe I am stretching a bit but I am using nant to watch, move, copy my nightly file

[Nant-users] Build using NANT, monitor output, test using NUNIT and CMS using CVS ?

2004-10-07 Thread SoftEngg SoftEngg
Hi,   I am new to NAnt and trying to develop and test projects with NAnt. I read few help files and before moving ahead thought of confirming my doubts.   I can use NAnt to do the followings 1) Build .NET projects, monitor (build failed or successful, errors in the build etc, reporting the errors)

[Nant-users] Logger for monitoring build

2004-10-07 Thread SoftEngg SoftEngg
Hi,I am trying to use logger option to monitor the result of the build. I ran the the HelloWorld example provided in the install using the following command: NAnt -logger:NAnt.Core.XmlLogger -l:log.xml   And i got the output file of the build in the xml:   =

[Nant-users] Transient assy ref for a

2004-10-07 Thread Eric Deslauriers
I'm trying to Is there a way to "if include " reference in the following? I'm trying to avoid CSC sections as my CSPROJ files are very fluid right now. Thanks, Eric

RE: [Nant-users] assemblyname::get-assembly-name() vs properties

2004-10-07 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
> A language in which the return value of a function cannot be saved it weird. If my memory is correct pure functional languages do not "save" return values. Most programmers learning a pure functional language find it weird because they are used to imperative languages like C++, Java, C#, etc. F

RE: [Nant-users] NAnt build failure

2004-10-07 Thread Melissa Kacher \(Temporary\)
You pasted the answer into your e-mail. 1) Tests.NAnt.Console.NAntTest.Test_ShowHelp : expected:<2004> but was:<2003> at Tests.NAnt.Console.NAntTest.Test_ShowHelp() in C:\Program File s\NAnt\tests\NAnt.Console\NAntTest.cs:line 211 You

[Nant-users] assemblyname::get-assembly-name() vs properties

2004-10-07 Thread Merrill Cornish
Gert, I just tried this: where the assembly.path property had existed before, but the assemblyname.obj property is new and the expression in the is new. I got another "Invalid case from System.String to System.Reflection.Assembly." I assume that means that the Ass

Re: [Nant-users] Invalid cast error in latest nightly

2004-10-07 Thread Merrill Cornish
Gert, Thanks for your prompt help, but I still think this change is as clear as mud. :-) The function called assemblyname::get-assembly-name() does NOT return an assembly name, despite the function's name. Instead, it returns and "AssemblyName object," which I can't find documented as a typ

[Nant-users] VBC to Compile Windows - Sub Main Not Found

2004-10-07 Thread Ereno, Lainie (Consultant)
Title: VBC to Compile Windows - Sub Main Not Found I am trying to use Nant to compile a VB.NET Windows application.  My application does not use "Sub Main" as an entry point.  Instead it uses a Windows Form called "SendEmail" which contains a public sub "SendEmail_Load".  The Windows Form "Sen

Re: [Nant-users] Invalid cast error in latest nightly

2004-10-07 Thread Gert Driesen
Hi Merrill, Don't have much time right now, but in order to get the simple name of an assembly you'd have to use ${assemblyname::get-name(assemblyname::get-assembly-name())} assemblyname::get-name returns an AssemblyName instance which you can use to get the version, full name, code base, ... of

[Nant-users] NAnt build failure

2004-10-07 Thread Stephen Watson
I have NAnt installed on a Win2003 Server box along with the .Net framework 1.0 + SP3. I keep getting a build failure when I use the command: bin\NAnt or NAnt. The exact error is below. Anyone know what's wrong? This is my first time working with NAnt. Thanks: Failures: 1) Tests.

Re: [Nant-users] Invalid cast error in latest nightly

2004-10-07 Thread Merrill Cornish
Gert, Actually, I _did_ read the nightly build doc/help before I sent the message. They may be in there somewhere, but I didn't see any specific changes listed. Now that I know there is a change, if I compare the documentation for assembly::get-name() with the previous version, I see that the

Re: [Nant-users] Invalid cast error in latest nightly

2004-10-07 Thread Gert Driesen
Merrill, Behavior has indeed recently changed. Check out the nightly build online help, and let me know if you need more information. Gert - Original Message - From: "Merrill Cornish" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 07, 2004 8:26 PM Subject: [Nant-use

[Nant-users] Invalid cast error in latest nightly

2004-10-07 Thread Merrill Cornish
The first time I ran my build script (which has been working for months) with NAnt 0.85, 10/6/2004, I got the following error: Cannot convert argument 1 (assembly) of assembly::get-name() to 'System.Reflection.Assembly' (actual type was 'string'). Expression: Assembly= ${assembly::get-name(

RE: [Nant-users] IntelliSense for NAnt build files

2004-10-07 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Hi Curt,   That is odd. Here is what I do. I have Nant and NantContrib installed in different locations. I have a target that loads NantContrib (and any of my custom tasks/functions/etc) via . Then I use to output the schema to the VS.NET schema directory. This has been working fine for

RE: [Nant-users] cvs-checkout task problem

2004-10-07 Thread Kevin Dickover
I believe that the ant solution to this was to include a task to create a .cvspass file in the cvs suite of tasks. Further ant does not give a cvs task other then CVSPAss a username / password option. All of the other cvs tasks then take a .cvspass file as a parameter. While I understand that

RE: [Nant-users] IntelliSense for NAnt build files

2004-10-07 Thread Bassham, Charles
Title: Message You need to regenerate you schema file (.xsd).  Run the nant build with deploy-schema as the target.  This will recreate the schema file and copy to the correct location. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Curtis

Re: [Nant-users] solution task and visual c++ project

2004-10-07 Thread Gert Driesen
Shirome, While support for Visual C++ projects is not nearly as stable as the support for C# or VB.NET projects, I'd be surprised if the output file would be missing. Can you provide a small repro for this ? Thanks ! Gert - Original Message - From: "Shirome Mahendranathan" <[EMAIL PROTE

RE: [Nant-users] cvs-checkout task problem

2004-10-07 Thread Clayton Harbour
Hi Merrill, Actually when you put it that way I agree. Would you be able to submit a bug report to make sure this does not get missed? Thanks, Clayton -Original Message- From: Merrill Cornish [mailto:[EMAIL PROTECTED] Sent: Thu 10/7/2004 8:36 AM To: Clayton Harbour; [EMAIL

[Nant-users] solution task and visual c++ project

2004-10-07 Thread Shirome Mahendranathan
Oops forget to add subject line, sending it again.   Hello I am new to Nant and using the latest build nightly build (0.85). I am trying to build a simple visual C++ application using solution task. It compiles fine with out any problem, but it is not creating the executables.   But if I us

RE: [Nant-users] cvs-checkout task problem

2004-10-07 Thread Merrill Cornish
Clayton, >>> What should happen if both of these fail is the cvs task should pass in the >>> password that was specified in the password attribute. That sound like the .cvspass file in the filesystem takes precedence over the password attribute of the NAnt task. Is that true? If so, then to

RE: [Nant-users] cvs-checkout task problem

2004-10-07 Thread Clayton Harbour
Hi Pierre, > Both bugs are corrected. Great, glad to hear the news. > However, by curiosity, I don't understand why sharpcvslib > needs a .cvspass file ... since cvsroot and password are > provided in the cvs-checkout task. It is just part of the command line's behavior. Cvsnt and traditiona

[Nant-users] (no subject)

2004-10-07 Thread Shirome Mahendranathan
Hello I am new to Nant and using the latest build nightly build (0.85). I am trying to build a simple visual C++ application using solution task. It compiles fine with out any problem, but it is not creating the executables.   But if I use IDE or calling through a command line argument such

RE: [Nant-users] IntelliSense for NAnt build files

2004-10-07 Thread Curtis Zarger
I successfully installed the IntelliSense as described, but I've lost my NAntContrib tasks in the process.  They are no longer recognized as valid tasks; VS.Net underlines the NAntContrib tasks and on mouseover indicates that the active schema does not support the element.    I've re-cop

RE: [Nant-users] cvs-checkout task problem

2004-10-07 Thread pierre . thorey
Hi, I have just downloaded nant's latest version. Both bugs are corrected. "-" in the cvsroot is now well understood. Not finding a .cvspass file doesn't throw an exception. However, by curiosity, I don't understand why sharpcvslib needs a .cvspass file ... since cvsroot and password are provid

Re: [SPAM] - Re: [Nant-users] having trouble with style task with a v2.0 stylesheet - Email found in subject

2004-10-07 Thread Thibaut Barrère
> >Thanks! Can I recommend adding this note (style task supporting only XSLT 1.0) to > >the style documentation? > However adding the note to the docs is probably a good idea. I think it's a good idea as well (as Felice is not the first person to ask this to me). Adding this http://blogs.msdn.c

Re: [SPAM] - Re: [Nant-users] having trouble with style task with a v2.0 stylesheet - Email found in subject

2004-10-07 Thread Ian MacLean
Felice Vittoria wrote: Thanks! Can I recommend adding this note (style task supporting only XSLT 1.0) to the style documentation? well the limitation is with System.Xml.Xsl rather than the style task itself. And from what I've heard will still be a limitation even in the whitbey release of

RE: [Nant-users] Document Comments

2004-10-07 Thread Bill.Martin
Found it! It's another Sourceforge project called VB.Doc. It's targeted at the 1.1 framework, but if you miss out the UI project, it will compile for 1.0 without any problem. It comes with a NAnt task to invoke it, but it's targeted at 0.84, so I've re-compiled it against the nightly build to use