You'd use conditional property assignment.
First set the default property value, then conditionally re-assign it if
your condition is met. So:
---
X
Continuous improvement is better than delayed perfection. - Mark Twain
On Wed, Nov 2, 2011 at 1:51 PM, Chris Fouts wrote:
> Sorry, CCNetBuild
I went through a similar process a few years ago and decided to switch from
Token Replace to XML Poke. I think you've done a good job of documenting the
strengths and weaknesses of each approach. in general I think XML Poke is
cleaner. The only real problem I found was that XML Poke wouldn't work w
We have set up an environment where we can conditionally rebuild components,
if they've changed without having to rebuild the entire system. Doing so
requires careful management of dependencies. If an interface or common
datatype changes, then you pretty much need to rebuild everything. But if
the
older
>>
>> hth
>> Dominik
>>
>> Am 21.06.2011 07:29, schrieb Heintz, Aleksander:
>>
>>> That works, but I would like to be able to maintain some hierarchy of
>>> the files. Isn't that possible?
>>>
>>> On Tue, Jun 21,
Have you tried moving all of the dependencies (ie, Should.Fluent.dll ) into
the same directory as the executable?
---
Chris.
Continuous improvement is better than delayed perfection. - Mark Twain
On Mon, Jun 20, 2011 at 12:13 PM, Heintz, Aleksander wrote:
> I'm having trouble by trying to write
We rely heavily on NAnt and I fear it would be a major under-taking to move
away from it.
We've had no problems with it until .Net 4.0. Luckily, we can build on our
build server, but I get the mysterious security exceptions when trying to
build on my local machine. That problem does need to be add
I'm stumped on how to get a mono build of a C# project with NAnt. I'm using
the 0.90 build.
The problem seems to be that NAnt isn't passing the reference assemblies
through to gmcs.
Attempting to building the following file with NAnt results in the error:
[csc] C:\Temp\HelloMono\hello.cs(3,14): e
To clarify, by "regular cruisecontrol" do you mean you're not using
CruiseControl.Net?
---
Chris
Continuous improvement is better than delayed perfection. - Mark Twain
On Tue, Nov 16, 2010 at 8:00 AM, Adam Bruss wrote:
> Thanks but I’m trying to use nant from regular cruisecontrol. There is n
Is there a better way to bundle or package non-core, user contributions? I
understand the need to separately encapsulate the core Nant functionality.
But I'm not sure if I understand the need to have a project that tries to
build all the extra bits into one thing (NAnt.Contrib.Tasks.dll). Seems lik
Simon,
I wouldn't turn to CCNet just for it's built in ability to work with SVN.
It's not at all difficult to run commands against SVN from NAnt. As a matter
of principle, all of our build files have the ability to update the local
copy of the source code they are building. This ensures that I can
I think you might want to cut the CCNet part out of that solution. CCNet
gives you a nice interface to start the build, but it sounds like you want
it to prompt the DBA for credentials which you are unlikely to achieve. I
would recommend having the DBA simply run NAnt from a command line, then
your
Hi Simon,
CCNet is generally used for automated/unattended builds. What is the core
problem you are trying to solve with this solution, ie, why do you want user
input during a CCNet build?
---
Chris.
Continuous improvement is better than delayed perfection. - Mark Twain
On Tue, Apr 20, 2010 at
Same strategy here; ensure the property exists and then use the if attribute
to test its value. One place where you can use the if / unless attributes to
test existence is in setting the property itself, so giving it a default
value. We use the following to ensure that required properties are at le
I've found one more problem and solution to it but also have a puzzling
situation.
First the problem; on our build server we're running NAnt 0.86 and I'm
trying to get things working with the net-3.5 target framework. One build
was failing with an error:
Unexpected attribute "if" on element .
It
What's the rationale for inclusion in the list of reference assemblies for
each target framework? I'm looking at the NAnt.exe.config file again.
It appears to be a complete list of all the framework libraries. If it is
then the list is missing:
System.DirectoryServices.Protocols.dll
Which I beli
the latest nightly and it works ok. But, I explicity let the
> targetframework property in the scripts.
>
>
>
> I also use the msbuild task rather then the csc task.. but I assume it uses
> the same mechanism to determine which to use.
>
>
>
> BOb
>
This is related to my previous post on Windows 7 & VS2008.
After some help I realized that the target framework on my desktop was .Net
3.5 whereas on my build server (Windows 2003 Server) it was .Net 2.0. The
was causing some problems between the two environment in how csc.exe was
importing includ
, build server is using V2.0 and my desktop is
using V3.5?
Thanks
---
Chris.
Continuous improvement is better than delayed perfection. - Mark Twain
On Mon, Mar 22, 2010 at 8:29 PM, Christopher Brandt <
xtopher.bra...@gmail.com> wrote:
> Sorry, an important bit of info there: NAnt 0.8
Diddo here. We have a fairly complex build system implemented with NAnt. It
would be time consuming to change to another so I'm quite interested in
keeping it alive.
It would be good to know how many developers are actively working on it. I
can probably find some time to do my part, since we've ma
Ant uses the compilers located on the machine. It doesn't come
> with its own.
>
> On Mon, Mar 22, 2010 at 4:06 PM, Christopher Brandt
> wrote:
> >
> > I've recently upgraded my desktop to Windows 7 and have installed VS2008
> (no
> > other versions). Our bu
I've recently upgraded my desktop to Windows 7 and have installed VS2008 (no
other versions). Our build server is still running Windows Server 2003 with
MS .Net Framework 3.5 SP1.
Our software uses WCF and we've always had to to reference the
System.ServiceModel and System.Runtime.Serialization dl
21 matches
Mail list logo