RE: [Nant-users] nant.onsuccess going into a loop?

2004-07-21 Thread Noel Gifford
The reason that "nant.onsuccess" repeats itself is because you are manually calling it. "nant.onsuccess" and "nant.onfailure" will be called automatically at the end of script processing based on the status of the script run. Change your script as follows:

Re: [Nant-users] AXIMP task: how to handle spaces in a path?

2004-07-21 Thread Gert Driesen
- Original Message - From: "Noel Gifford" <[EMAIL PROTECTED]> To: "'Bert Jan Lappenschaar'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, July 22, 2004 7:11 AM Subject: RE: [Nant-users] AXIMP task: how to handle spaces in a path? > You're on the right track. You do need to do

RE: [Nant-users] AXIMP task: how to handle spaces in a path?

2004-07-21 Thread Noel Gifford
You're on the right track. You do need to double quote a path with spaces in it. Try this: (single quotes enclosing the double quotes on the ocx attribute) Noel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bert Jan Lappenschaar Sent: Wednesday, J

Re: [Nant-users] Possible solution for the VSS project work folder in the Nant project

2004-07-21 Thread Gert Driesen
Alexander, An even better solution would be to turn this into a function. Gert - Original Message - From: "Alexander Korchemny" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Alexander Korchemny" <[EMAIL PROTECTED]> Sent: Wednesday, July 21, 2004 9:06 AM Subject: [Nant-users] Possible s

Re: [Nant-users] NAnt and Compact Framework

2004-07-21 Thread Gert Driesen
Steve, You can just use the normal compiler tasks in order to build .NET Compact Framework 1.0 application (we currently don't support netcf 2.0, but I'll look into that soon). You only need to ensure that you're targeting the "netcf-1.0" framework. See http://nant.sourceforge.net/faq.html#change

RE: [Nant-users] Re: [nant-dev] Typed properties

2004-07-21 Thread Troy Laurin
> -Original Message- > From: Gert Driesen [mailto:[EMAIL PROTECTED] > > - Original Message - > From: "Jaroslaw Kowalski" <[EMAIL PROTECTED]> > > > On Wed, 21 Jul 2004, Troy Laurin wrote: > > > > The destination type is "string" > > unless overriden by "type" attribute. This is

RE: [Nant-users] nant.onsuccess going into a loop?

2004-07-21 Thread Troy Laurin
Try rewriting your OnSuccess task as: The 'call' task doesn't support the 'run-only-once' model of make, whereas 'depends' does. I'm not sure that's a particularly good reason why onsuccess is firing more than once, however. -- Troy > -Original Message- > From: [EMAIL PROTECTED]

Re: [Nant-users] Re: [nant-dev] Typed properties

2004-07-21 Thread Ian MacLean
Gert Driesen wrote: - Original Message - From: "Malcolm MacLucas" <[EMAIL PROTECTED]> To: "Jaroslaw Kowalski" <[EMAIL PROTECTED]>; "Troy Laurin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, July 21, 2004 9:02 PM Subject: Re: [Nant-users] Re: [nant-dev] Type

[Nant-users] nant.onsuccess going into a loop?

2004-07-21 Thread Brian Yeo
Hi everyone, I tried with "nant.onsuccess" and it seems that it repeats itself in a loop when it is successful. Is anyone able to help? NAnt 085 nighlightly build version is used. *** script

[Nant-users] AXIMP task: how to handle spaces in a path?

2004-07-21 Thread Bert Jan Lappenschaar
Hi,   I am using the AXIMP task to create wrapper dll’s for Active X controls. Example:        The above aximp task doesn’t work, the error message is: AxImp Error: Unable to locate input ActiveX library: 'C:\Program'   So I think the task doesn’t interprete the full path includi

[Nant-users] Possible solution for the VSS project work folder in the Nant project

2004-07-21 Thread Alexander Korchemny
Hi all,   Here's below the possible solution i've made for the problem mentioned in my previously sent question (http://www.mail-archive.com/nant-users%40lists.sourceforge.net/msg03839.html) :   I have a nant build file with a couple of targets. One of them needs the certain VSS project work f

[Nant-users] NAnt and Compact Framework

2004-07-21 Thread Steve Inkpen
I’ve seen various references regarding NAnt having the capability to compile CF applications yet I’ve not been able to do it myself. Could someone please submit an example build file which would compile a CF application?   Thanks,   Stephen Inkpen --- Outgoing mail is certified

Re: [Nant-users] Re: [nant-dev] Typed properties

2004-07-21 Thread Malcolm MacLucas
--- Gert Driesen <[EMAIL PROTECTED]> wrote: > From: "Malcolm MacLucas" <[EMAIL PROTECTED]> > > After thinking about it for a bit, I'll repeat what I said earlier, Typed > > properties would be cool. > > > > That being said, I think that it should be looked at and placed on the > road map > > somewh

Re: [Nant-users] Re: [nant-dev] Typed properties

2004-07-21 Thread Gert Driesen
- Original Message - From: "Malcolm MacLucas" <[EMAIL PROTECTED]> To: "Jaroslaw Kowalski" <[EMAIL PROTECTED]>; "Troy Laurin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, July 21, 2004 9:02 PM Subject: Re: [Nant-users] Re: [nant-dev] Typed properties > Af

RE: [Nant-users] using property values w/in functions

2004-07-21 Thread Felice Vittoria
Thanks! -Original Message- From: Jaroslaw Kowalski [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 21, 2004 2:32 PM To: Felice Vittoria; Nant-Users (E-mail) Subject: Re: [Nant-users] using property values w/in functions if="${directory::exists(src.dir + '/ac')}" or even better: if="${d

Re: [Nant-users] using property values w/in functions

2004-07-21 Thread Jaroslaw Kowalski
if="${directory::exists(src.dir + '/ac')}" or even better: if="${directory::exists(path::combine(src.dir, 'ac'))}" Property names are unquoted within expressions. Jarek - Original Message - From: "Felice Vittoria" <[EMAIL PROTECTED]> To: "Nant-Users (E-mail)" <[EMAIL PROTECTED]> Sent:

[Nant-users] using property values w/in functions

2004-07-21 Thread Felice Vittoria
Hello, I am trying to use property values within functions. For example, if I have this line: This will result in this: Unexpected token 'Dollar'. Expression: ${directory::exists(${src.dir}\ac)} ^ I also tried the following w/out any success: What am I do

Re: [Nant-users] Re: [nant-dev] Typed properties

2004-07-21 Thread Malcolm MacLucas
After thinking about it for a bit, I'll repeat what I said earlier, Typed properties would be cool. That being said, I think that it should be looked at and placed on the road map somewhere down the road. Around .87 or .88. We have been 7 months without a "release". We can't keep adding new fea

Re: [Nant-users] Typed properties

2004-07-21 Thread Gary Feldman
>From: "Ryan Cromwell" <[EMAIL PROTECTED]> >Sent: Tuesday, July 20, 2004 9:38 PM > I'm a little confused as to your use of scripting languages as a >argument against type safety. Scripting language types are >resolved at runtime. Depending on the scripting language, >there are different exten

Re: [Nant-users] Call Nant source code functions

2004-07-21 Thread Ian MacLean
Hamza Zeen-Aldin wrote: Is there anyway that I can call the methods that Nant uses directly. For example, how can I call the methods that are in the Project class (i,e GetFullPath() ) form my C# code that resides inside a script task. sure, just use the project instance that gets passed to your

[Nant-users] foreach node

2004-07-21 Thread McCullough, Gary
Here’s a couple of simple enhancements that I would find very very useful, and I’m wondering if anybody else would.   Request #1: I wish the foreach task could loop over a nodeset extracted via an xpath query. Proposed syntax would be something like this:     Most of the N-apps we ty

[Nant-users] Call Nant source code functions

2004-07-21 Thread Hamza Zeen-Aldin
Is there anyway that I can call the methods that Nant uses directly. For example, how can I call the methods that are in the Project class (i,e GetFullPath() ) form my C# code that resides inside a script task. Thanks, Z --- This SF.Net email i

Re: [Nant-users] Re: [nant-dev] Typed properties

2004-07-21 Thread Gert Driesen
- Original Message - From: "Jaroslaw Kowalski" <[EMAIL PROTECTED]> To: "Troy Laurin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, July 21, 2004 9:57 AM Subject: [Nant-users] Re: [nant-dev] Typed properties > On Wed, 21 Jul 2004, Troy Laurin wrote: > > >

[Nant-users] Re: [nant-dev] Typed properties

2004-07-21 Thread Jaroslaw Kowalski
On Wed, 21 Jul 2004, Troy Laurin wrote: > Jarek, others, > > I kind of like the idea of a property having a type, but I have a few > questions regarding implementation... > > In the following... > > > > > If the default type for properties if none is specified is 'string', > then what is the typ