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
---
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
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
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
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
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
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
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
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
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
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
11 matches
Mail list logo