RE: [Nant-users] mixing call and depends

2005-05-12 Thread Gert Driesen
Hi Troy,   I've clarified the task docs a bit (in cvs). I hope this will clear things up for you.   ---   To avoid dependent targets from being executed more than once, two options are available: Add an "unless" attribute with value "${target::has-executed('')}" to the dependent

Re: [Nant-users] mixing call and depends

2005-05-12 Thread Troy Laurin
On 5/13/05, Ian MacLean <[EMAIL PROTECTED]> wrote: Gary Feldman wrote:> Check out the cascade attribute of the task,> http://nant.sourceforge.net/nightly/latest/help/tasks/call.html .>Thats exactly right - maybe another doc fix is required. cascade="true"means execute dependencies and is the defa

Re: [Nant-users] Renaming files belonging to a pattern using Nant

2005-05-12 Thread Troy Laurin
Sandeep, You can use the task to rename files, as in original.name" tofile="new.name" /> http://nant.sourceforge.net/release/latest/help/tasks/move.html Unfortunately to use this renaming behaviour you can only specify a single file, not a fileset (see the documentation for details).  You can st

Re: [Nant-users] mixing call and depends

2005-05-12 Thread Ian MacLean
Gary Feldman wrote: Owen Rogers wrote: i was just doing some profiling of our build and i noticed that certain tasks were getting executed twice. we use a mixture of call tasks and depend attributes in our build file. it seems that if a target is *call*ed its *depend*encies are executed -- even

Re: [Nant-users] Dynamically execute a target when it exists....

2005-05-12 Thread Ian MacLean
Gary Feldman wrote: Ian MacLean wrote: Thomas Tomiczek wrote: Ok, now things get intersting. Is there any way to execute a target from within a task? you could if you write your own custom task. Tasks have complete access to the Project object and its list of Targets. That's unnecessary. Just u

[Nant-users] problems

2005-05-12 Thread Julian Suggate
Hi to the list! This is my first post to Nant-users. I'm a NAnt newbie. It is entirely possible that I am asking a foolish question ;-) I have searched the archives but couldn't find anything relevant to my particular problem. I am trying to write an auto-build script for our project. We have a v

[Nant-users]

2005-05-12 Thread Sandeep
The task does not execute if there is already a file with name specified in out parameter. I am running the following script and style task runs only for the first time. When I run the script again, style task remains silent (no log / output).


Re: [Nant-users] Syncing code with VSS?

2005-05-12 Thread Ian MacLean
Pierce wrote: Hmmm...I know I would have a very hard time talking our technical lead into switching over to CVS (it's been tried before). Is that affirmative then? No way to sync with VSS through NAnt? ah - the link previously posted is exactly what you need to sync VSS through NAnt. Install

[Nant-users] Renaming files belonging to a pattern using Nant

2005-05-12 Thread Sandeep
Hi,   We store configuration files for each environment within the project source code. Each file has an environment key in their file name, e.g. web.dev,config, web,qa.config etc. When I am building the project for a given environment (say QA) I need to do the following using NAnt:  

Re: [Nant-users] mixing call and depends

2005-05-12 Thread Gary Feldman
Owen Rogers wrote: i was just doing some profiling of our build and i noticed that certain tasks were getting executed twice. we use a mixture of call tasks and depend attributes in our build file. it seems that if a target is *call*ed its *depend*encies are executed -- even if they have been pre

[Nant-users] mixing call and depends

2005-05-12 Thread Owen Rogers
i was just doing some profiling of our build and i noticed that certain tasks were getting executed twice. we use a mixture of call tasks and depend attributes in our build file. it seems that if a target is *call*ed its *depend*encies are executed -- even if they have been previously executed on

Re: [Nant-users] Referenced Assembly ... could not be loaded

2005-05-12 Thread Eugene Ventimiglia
I love Open Source!!! I've grabbed the nightly, and now I get a much more detailed error... still doesn't make sense to me, though:    [solution] Referenced assembly "C:\temp\nant\source\MusiKube\obj\Release\MusiKube.dll" could not be loaded: Culture name 'neutral' is not supported.  [solution] Par

Re: [Nant-users] Syncing code with VSS?

2005-05-12 Thread Pierce
Hey, thanks everybody! Yeah, I didn't look closely enough at nantcontrib the first time around. Thought it was the same as the Nant stuff I had already looked at. I've since taken a closer look, added nantcontrib functionality, and performed a successful "vssget" from a nant build file. Very en

RE: [Nant-users] Creating a custom task in Jscript?

2005-05-12 Thread Gert Driesen
Hi Norman,   I'm not sure what's going on here, but any class that's defined in a script block is in fact compiled as a nested class and the jscript.net compiler seems to do some weird stuff for nested classes. It seems to expect a parameter referring to its parent class for all ctors (meani

Re: [Nant-users] Syncing code with VSS?

2005-05-12 Thread Pierce
Hmmm...I know I would have a very hard time talking our technical lead into switching over to CVS (it's been tried before). Is that affirmative then? No way to sync with VSS through NAnt? Pierce On 5/12/05, Melissa Kacher <[EMAIL PROTECTED]> wrote: > http://nantcontrib.sourceforge.net/ > > I w

Re: [Nant-users] Referenced Assembly ... could not be loaded

2005-05-12 Thread Eugene Ventimiglia
Excellent- I'll grab the nightly tomorrow   --w  On 5/12/05, Gert Driesen <[EMAIL PROTECTED]> wrote: Hi Eugene,   What I meant to say was: I've made a small fix in NAnt cvs that should result in a more meaningful error message for the issue you ran into.   I'll upload a new nightly build ( http:/

RE: [Nant-users] Referenced Assembly ... could not be loaded

2005-05-12 Thread Gert Driesen
Hi Eugene,   What I meant to say was: I've made a small fix in NAnt cvs that should result in a more meaningful error message for the issue you ran into.   I'll upload a new nightly build (http://nant.sourceforge.net/nightly/latest) of NAnt later today that might help you to troubleshoot your

Re: [Nant-users] Referenced Assembly ... could not be loaded

2005-05-12 Thread Eugene Ventimiglia
I can't say I really understand... this is a build I've done, and there are no nightly builds...     Here's the contents of my build file, if that'll help:  name="Build411SongProject"  basedir="."  default="build" xmlns=" http://nant.sf.net/schemas/nant-0.85.win32.net-1.0.xsd" >     \\mkdoms

RE: [Nant-users] Syncing code with VSS?

2005-05-12 Thread Bill Arnette
NAntContrib (nantcontrib.sourceforge.net), an add-on to Nant, has includes support for Visual SourceSafe. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Pierce > Sent: Thursday, May 12, 2005 12:36 PM > To: nant-users@lists.sourceforge.net > Subjec

RE: [Nant-users] Syncing code with VSS?

2005-05-12 Thread Melissa Kacher
http://nantcontrib.sourceforge.net/ I would ditch VSS if at all possible. Believe me, you will be making your life much easier. But if you can't, se the URL above. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierce Sent: Thursday, May 12, 2005 9:36 A

RE: [Nant-users] Referenced Assembly ... could not be loaded

2005-05-12 Thread Gert Driesen
Hi Eugene,   You should get more information on the cause of the error in the next nightly build.   Let me know if that helped you troubleshoot the issue.   Gert From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eugene VentimigliaSent: donderdag 12 mei 2005 18:19To

[Nant-users] Creating a custom task in Jscript?

2005-05-12 Thread Norman Morse
First, thanks to Ian MacLean for answering my initial question about using Jscript with a task!