RE: [Nant-users] grep.exe problems...

2004-06-21 Thread Jean Rajotte
Title: Message jean-michel,   in v 0.8.3 of nant, has an output=  attribute where you name the output file of interest. however, in v 0.8.3, that feature doesn't work well (you have to also say append="true" or you only get the last line of the output. but you still don't get line breaks be

RE: [Nant-users] nant tasks from with c# project

2004-02-03 Thread Jean Rajotte
look at the source for the nant.console.exe. that'll show you how to start up a job. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Gerold Kathan > Sent: Tuesday, February 03, 2004 10:27 > To: [EMAIL PROTECTED] > Subject: [Nant-users] nant task

RE: [Nant-users] move task

2004-01-05 Thread Jean Rajotte
Title: Message mark, in the following example, the whole tree below test1 ends up in testmoved.  the files dissapear from under test1, but not the directories.  hence the delete dir task.                         hth   -Original Message-From: [EMAIL PROTECTED] [mailt

RE: [Nant-users] Problem with

2003-12-18 Thread Jean Rajotte
8, 2003 3:48 PM > To: 'Nant (E-mail)' > Subject: RE: [Nant-users] Problem with > > > What is this configuration? I don't have to specify any > configuration when I build with Visual Studio. What are my options? > > -Dan > > -Original Message-

RE: [Nant-users] Problem with

2003-12-18 Thread Jean Rajotte
the solution task expects you to name the target configuration for your compilation (eg. debug or release). i don't know whether there's a default configuration and you don't happen to have it defined in your solution. be specific, like: > -Original Message- > From: [EMAIL PROTECTE

RE: [Nant-users] Call a target like a function?

2003-12-15 Thread Jean Rajotte
i do the same all the time, except i prefix the property name w/ the function name. there isn't an alternative in nant at present. for my money, if there were, i'd prefer the following syntax: with a mechanism to keep the param properties local to the "function" (i.e. don't collide

RE: [Nant-users] Conditional execution

2003-12-12 Thread Jean Rajotte
daniel, do you mean target or task? for task, i don't know... for target, i'd to this: ... ... ... jean > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Daniel Bron > Sent: Friday, December 12, 2003 14:30 > To: Nant (E-mail) > Subj

RE: [Nant-users] enabling/disabling targets on task availability

2003-12-12 Thread Jean Rajotte
the original question wasn't whether target/task are conditional (they are). it was whether there's a way to test the availability of tasks. there is. it's documented as: built-in properties: nant.task.* Each task available to nant has a "true" value, e.g., nant.task.copy however, the DOC

RE: [Nant-users] Including external properties files

2003-12-12 Thread Jean Rajotte
be called but they > never actually do anything. Is this behavior a bug or by > design? If it is by design that should be documented... > > > Kevin Dickover > > -----Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Jean Rajot

RE: [Nant-users] Including external properties files

2003-12-12 Thread Jean Rajotte
it's not a property file per se, but a project file that defines properties, like so: c:\_myprops.build --8<-- --8<-- then you just include this file like so (note the task can't be inside a target ): HTH > -Original Message- > From: [EMAIL PROTECTED] >

RE: [Nant-users] Property Value Indirection?

2003-12-08 Thread Jean Rajotte
i've tried different approaches also but they all fail because the PropertyDictionary.ExpandProperties uses regex to find ${prop} in strings, and regex is intrinsically lazy. i wouldn't dare change nant.core directly (!), but indirectly... pls. find attached replacement code for PropertyDictionary

RE: [Nant-users] Trying to auto increment my build number

2003-12-08 Thread Jean Rajotte
Title: Message i would say yes, it's a perfect use of

RE: [Nant-users] equivalent of ?

2003-12-05 Thread Jean Rajotte
here's an undocumented aspect of filesets that may be what you want (i don't know ant...) here's how i used it and what it does: for c:\lala.txt that contains: c:\bobo.exe c:\lala.exe d:\kiki.exe c:\temp\**.exe i nant this: and nant

[Nant-users] docs bug

2003-12-04 Thread Jean Rajotte
ist. you need to do this to get results: it looks like the docs come from Ant and the feature wasn't implemented in NAnt... Jean Rajotte +1 416-574-1767 --- This SF.net email is sponsored by: SF.net Giveback P

RE: [Nant-users] Incorrect dependency evaluation?

2003-11-20 Thread Jean Rajotte
patrick, i understand and i thought of that, but it means the caller can't control whether common-build-init can run again. it's become common-build-init-run-once-only-ever-amen and that's a loss. now, if we could disappear existing props... is this in place? jean > From: [EMAIL PROTECTED]

RE: [Nant-users] Incorrect dependency evaluation?

2003-11-20 Thread Jean Rajotte
william sez: > I think Jean's point was that since we can't know how our targets are > going to get used (i.e. depend'd or call'd), we have to > assume they will > be called (i.e. their dependencies will be run more than once). >... > not being > able to say that a call task doesn't rerun depe

RE: [Nant-users] Incorrect dependency evaluation?

2003-11-20 Thread Jean Rajotte
gert, thanks for sticking w/ me on this. > > your build example could be done using call+force just as > readily in > > the past as you have it now. > > feel free to provide a sample to convince me, but I don't > think we will be change the new behaviour :-) here's your example:

RE: [Nant-users] Incorrect dependency evaluation?

2003-11-20 Thread Jean Rajotte
re yet HOW to fix it). boohoohoo poor little ol' me. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Jean Rajotte > Sent: Thursday, November 20, 2003 11:08 > To: [EMAIL PROTECTED] > Subject: RE: [Nant-users] Incorrect d

RE: [Nant-users] Incorrect dependency evaluation?

2003-11-20 Thread Jean Rajotte
so, you're saying : CALLing a target forces to execute its dependencies. does this cascade to the dependencies' dependencies (etc) ? --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more product

RE: [Nant-users] Incorrect dependency evaluation?

2003-11-20 Thread Jean Rajotte
invested in the previous behaviour. jean > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Jean Rajotte > Sent: Thursday, November 20, 2003 09:55 > To: 'Breen, Patrick'; [EMAIL PROTECTED] > Subject: RE: [Nant-users] I

RE: [Nant-users] Incorrect dependency evaluation?

2003-11-20 Thread Jean Rajotte
why, oh why? what was broken w/ force= ? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Gert Driesen > Sent: Thursday, November 20, 2003 10:00 > To: Breen, Patrick; [EMAIL PROTECTED] > Subject: Re: [Nant-users] Incorrect dependency evaluation?

RE: [Nant-users] Incorrect dependency evaluation?

2003-11-20 Thread Jean Rajotte
please let it be that 0.8.4 behaviour is a bug, and that <0.8.4 behaviour is the right one. there's a force= attribute to change that. i'm heavily invested in only-run-once for depends= (e.g. every target calls the global init-props target to afford each target granularity). > -Original Mes

RE: [Nant-users] Perforce Tasks?

2003-11-19 Thread Jean Rajotte
here's something i've been using. i haven't felt it's good enuf to be sourceforge'd, but it's worked for me. it works w/ nant 0.8.2 (i.e. before the namespace revamp), so it might need some refactoring. it's invoked like so: sync: add files to a changelist for edit/add: submit them

RE: [Nant-users] How to set and get a value from a system environment variable during a build

2003-11-13 Thread Jean Rajotte
Title: Message you can get using to load the env into sys.env.* you can't set from within .net, or using the shell from nant.   -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sean PerkinSent: Thursday, November 13, 2003 17:09To: [E

RE: [Nant-users] How to compare two property values

2003-11-13 Thread Jean Rajotte
the only way that comes to mind is to write a script (my standard cheat :)

RE: [Nant-users] Any good NANT build file generators for a .NET project or .NET So lution out there?

les I have a lot of dependcies and files.   I will give the slingshot task a shot  Any good samples of this anywhere?   Thanks :)   Eric -Original Message-From: Jean Rajotte [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 11:49 AMTo

RE: [Nant-users] Any good NANT build file generators for a .NET project or .NET So lution out there?

Title: Message do you mean from a .sln file and/or .csproj files?   - there's the task that does all the work but doesn't generate an output .build - there's the slingshot task which wraps the slingshot utility which generates a .build from a sln.  it's fallen behind in terms of supporting

RE: [Nant-users] To set a nant property value from within a script ran with

Title: Message what's a "script ran with "  ?   a script runs using .  in there, you can set a property like so: