Re: [Nant-users] Code conditional on whether a target is defined...

2005-05-10 Thread Gary Feldman
Sandeep wrote: Hi Gary, Does target::has-executed('someOtherTarget') return false if the target execution has failed (It executed though)? I want to execute a target only if the given target (someOtherTarget) has executed successfully. I doubt it. Why don't you try it and see? Gary ---

[Nant-users] Satellite assemblies of referenced projects in solution task

2005-05-10 Thread Sjaak Janssen (Checkit)
Hi, I'm using the Nant solution task to build a VS project with references to other projects. The other projects have satellite assemblies, with resources for different languages. The referenced project dll is copied to the output directory, but the xxx.resources.dll's are not. Example: ProjectA

RE: [Nant-users] Code conditional on whether a target is defined...

2005-05-10 Thread Sandeep
Hi Gary, Does target::has-executed('someOtherTarget') return false if the target execution has failed (It executed though)? I want to execute a target only if the given target (someOtherTarget) has executed successfully. Regards, Sandeep -Original Message- From: [EMAIL PROTECTED] [mailto

Re: [Nant-users] Code conditional on whether a target is defined...

2005-05-10 Thread Gary Feldman
Bevan Arps wrote: Depending on whether a target is defined or not I want to perform certain operations. I don't know of any way to check to see if a particular target *is going* to be called - but you can define a property to tell if it *has* been run. It's unnecessary to define a proper

RE: [Nant-users] Code conditional on whether a target is defined...

2005-05-10 Thread Bevan Arps
Hi Thomas. > Depending on whether a target is defined or not I > want to perform certain operations. I don't know of any way to check to see if a particular target *is going* to be called - but you can define a property to tell if it *has* been run. > The checkin target will ONLY run when the

[Nant-users] Property expansion in the refid attribute

2005-05-10 Thread Nau, Michael
Is there a way to force nant to expand a property in the filterchain refid. For example: The example above always fails: BUILD FAILED filterchain reference '${filterchain.refid}' not defined. -Mike --- This SF.Net

[Nant-users] NAntRunner 1.1 released!

2005-05-10 Thread Donal McCarthy
Hi All, Nicolas Puzin recently joined the NAntRunner sourceforge project and has released an updated version of the Visual Studio visual NAnt plugin. - several bugs have been fixed - user interface has been improved - new functionnalities have been added You can get the latest version here: http

[Nant-users] Code conditional on whether a target is defined...

2005-05-10 Thread Thomas Tomiczek
Title: Code conditional on whether a target is defined... Ok, here is my issue.. Depending on whether a target is defined or not I  want to perform certain operations. Like: * The checkin target will ONLY run when the checkout target has also been defined. * IF the checkout target

RE: [Nant-users] Version

2005-05-10 Thread Aaron Feng
The way to get around that is to build the logic in to your Nant file, so it only calls the version task when you want the version number to be incremented. For example, if you have a solution of many projects, and only want to increment the version number if a project has to be recompiled, so you

RE: [Nant-users] including files in a zipfile using task

2005-05-10 Thread Selke, Anthony
We haven't done this in a while (used the task), but when we did, I had this same problem and ended up doing a file copy where your test is and then calling the task once with the contents of the temporary subdirectory as the . Admittedly, there might have been a more elegant solution, but I wa

[Nant-users] including files in a zipfile using task

2005-05-10 Thread Shelly Midha
I want to include files in an existing zip file using task, based on a specific criterion.   If I include the condition with in the task, it is not supported. I’ve written a separate target that includes files in the zip.   Every time this target is called, it overwrites the zip file