RE: [Nant-users] Transactionality in NAnt

2005-01-25 Thread Bevan Arps
I agree that a build is not a deployment, but I do believe a build can be a component of a deployment. I am also looking to use NAnt as both a build tool and a deployment tool. (Haven't got there yet, still setting up infrastructure). I disagree, however, with the premise that NAnt should

RE: [Nant-users] Conditions on a property value?

2005-02-09 Thread Bevan Arps
Well, I'm a NAnt newbie myself, but I can give you some pointers. The ${...} construct is used to evaluate an expression, not just get the value of a property. So, you want something like this: if test=${ property::exists('ccnet.buildcondition') and ccnet.buildcondition='ForceBuild'} ...

RE: [Nant-users] newbie first post

2005-02-21 Thread Bevan Arps
Hi Clive. I'm unsure of the scope of NANT in terms of how appropriate it is to a mixed environment with some .NET apps and older legacy VB6 apps - most apps with SQL Server as a back-end. For what it is worth ... ... I have been using Ant (NAnt's Java oriented cousin) for years to do

RE: [Nant-users] NAnt script and Xml command file integration

2005-05-05 Thread Bevan Arps
Hi Sandeep. I've done something similar to what you describe - but entirely in NAnt. No external configuration file. I can't post my .build file, but it worked something like this: First, create targets that set properties to describe your target environments. In my case, I had these targets:

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

RE: [Nant-users] If, then, else construct

2005-05-22 Thread Bevan Arps
Gert Driesen wrote: For those of you that have been begging for an if, then, else construct in NAnt ... Looks great - using the same construct as XSLT makes a lot of sense. Just one comment though - the documentation page does indicate that the when clauses are evaluated from top to bottom,

RE: [Nant-users] xmlpeek returns multiple node values

2005-05-25 Thread Bevan Arps
Shelly Midha asked: I'm using xmlpeek to read xml configuration file. I want to retreive the 'value' for given value of name Well, I've never used xmlpeek - but I do develop XSLT stylesheets, so I understand XPATH expressions. xmlpeek verbose=false file=${DB.DBFilePath}

RE: [Nant-users] FTP Uploads - what are you people using as solution?

2005-06-26 Thread Bevan Arps
Hi Thomas. What are you people using as solution for automating FTP uploads? I have the situation that in a publishing step I need to automatically upload stuff to an FTP location. The Nant ftp task is still coming. So, what are the alternatives that are popular? I make extensive use

RE: [Nant-users] Non .Net automated Build Tools

2005-08-03 Thread Bevan Arps
Hi Hal. We are currently looking at tools to perform automated build with. We currently use C++ and Visual Basic, however they are pre - .Net versions. Can you tell me if NAnt supports pre .Net versions of C++ or VB? I always see references to the CLR and .Net versions 1.0 and later ...

RE: [Nant-users] Choices Choices Choices!!!!

2005-08-11 Thread Bevan Arps
Hi Hal. I am in the process of setting up an environment to do Continuous Integration ... I am looking at NAnt, NUnit, CruiseControl.Net, BuildRobot, and a couple others such as gump but can't seem to distinguish on which products are best. I'm not sure, but you might be getting some of

RE: [Nant-users] if attribute on mkdir ignored

2005-08-23 Thread Bevan Arps
Marrill Cornish wrote: We could add a new stmt attribute whose string value is an entire XML element whose whole execution is to be conditionalized on test attribute ... The down side of this is that the parsing of the XML within the statement attribute would need to be handled by the code

RE: [Nant-users] Build target from command line without dependencies

2005-09-15 Thread Bevan Arps
Kelly Anderson wrote: All of the marketing for NAnt seems to indicate that it is a replacement for make. ... Sure, you CAN write a make system with a shell script, but the beauty of make was that the dependency checking was implicit and built in. It seems with NAnt that you have to add the

RE: [Nant-users] Build target from command line without dependencies

2005-09-21 Thread Bevan Arps
Kelly Anderson wrote: Why wouldn't you use NAnt to do backups? For what it's worth ... And depending on what kind of backup you mean ... I do. If you mean keeping a copy of the results of a build ... ... In all my software build scripts, I have a release target that does the whole build and

RE: [Nant-users] Scripting deletes of old builds

2005-09-28 Thread Bevan Arps
Si wrote: Although this can be achieved in NAnt, i'm wondering why you wouldn't just use a version control tool (e.g. Subversion) to achieve this? At a previous employer (around 7 years ago), we kept a limited history of our builds on the network in a folder structure, much like the original

Re: [NAnt-users] Fwd: Nightly NAnt+NAntContrib + Windows Scheduled Task = hang

2006-08-21 Thread Bevan Arps
I haven't run into your problem myself, but one thing that comes to mind ... ... is it NAnt that's hanging, or java? Try using Task Manager to see if the NAnt process is still in memory at the time of the hang. ... The reason I ask, is that I seem to recall (although I can't find a

Re: [NAnt-users] SQL task and file encoding

2006-10-05 Thread Bevan Arps
Hi Anders. Just a thought ... Is your SQL script stored as a Unicode file, or an ASCII one? I've seen problems before when an ASCII file containing high-ascii characters (with codes over 127) is processed by a .NET program. Changing the file to a Unicode UTF-8 format fixed the issues.

Re: [NAnt-users] FW: Licensing Issues with third party Win controls

2007-02-20 Thread Bevan Arps
I haven't had your exact issue - but hopefully this will help. I've had some issues with running MSBuild from within NAnt that were resolved by setting the workingdir property on the exec task. Good luck! Bevan. From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [NAnt-users] Info Required ...

2007-03-08 Thread Bevan Arps
Hi Deepak. I had a quick look at your script and you are trying to run every script with a single invocation of SQLCMD.exe. You may be running into a limitation on the maximum length of a command line, or into some other limitation of SQLCMD.exe. I've always used a foreach to run my database

Re: [NAnt-users] Syncing two folders

2007-05-24 Thread Bevan Arps
/downloads/details.aspx?FamilyID=9d467a69-57ff-4 ae7-96ee-b18c4790cffddisplaylang=en If you have other tasks that NAnt is automating, then you could invoke Robocopy with an exec task ... Hope this helps, Bevan. Bevan Arps | Senior Analyst/Programmer | Knowledge Services Group | Reserve Bank

Re: [NAnt-users] Builds suddenly failing: runtime framework 'net-2.0'is not correctly configured

2008-02-12 Thread Bevan Arps
Hi Chris. FWIW, I've seen similar problems in the past and found them to be environmental. Some things to check ... ... Look at the environment variable TEMP. Does the directory exist? Can you create files there? [Why? If applications can't create temporary files they can fail in strange ways]

Re: [NAnt-users] Cannot delete file '...\Temp\tmp12F.tmp\ResGen.exe'

2008-07-22 Thread Bevan Arps
Two thoughts come to mind - both long shots. (i) How long is the path that you quote as ...\Temp\tmp12F.tmp\ResGen.exe - if your build folder is nested really really deep, so deep the path exceeds 200 odd characters, you could have a problem. (ii) You've turned off your AntiVirus - what

Re: [NAnt-users] cc.net and nant and msbuild

2008-08-17 Thread Bevan Arps
Hi Bob. We've recently adopted TeamCity, and I've found the whole point/click interface to be a real bonus because *other people* will be able to look after the builds, not just me. CruiseControl.NET is capable and reliable, but the knowledge barrier to entry is pretty high - and I didn't

Re: [NAnt-users] Why NAnt over VS Studio builds?

2008-09-11 Thread Bevan Arps
Hi Tero. I use NAnt because it does so much more than just build assemblies – my build scripts have included generation of documentation, rebuilds of databases, compilation of MSI packages, archival of builds to network directories and more. FWIW, I use exec to invoke MSBuild to do the

Re: [NAnt-users] Introducing StyleCopCmd (with NAnt Task Goodness!)

2008-10-29 Thread Bevan Arps
Here's fun ... ... StyleCopCmd is also the name I used for my own commandline driver for StyleCop, available here: http://www.nichesoftware.co.nz/content/stylecop-cmd Commandline only (no NAnt integration). Cheers, Bevan. -Original Message- From: Schley Andrew Kutz [mailto:[EMAIL

Re: [NAnt-users] Introducing StyleCopCmd (with NAnt Task Goodness!)

2008-10-30 Thread Bevan Arps
Hi! Oops :( Well, it seems yours is technically StyleCop.cmd, and mine is pure Pascal at StyleCopCmd :) So at least we still have that... I will add a disclaimer to the top of my page instructing users that they be searching for yours, and if so, where to get it. Good idea - I'll put a

[NAnt-users] NAntGraph

2008-12-02 Thread Bevan Arps
Hi everyone. I've created a free tool - NAntGraph - that generates documentation images showing targets and dependencies from a NAnt file. Why? Most of my NAnt scripts end up being used by other developers - smart people who aren't NAnt experts, or even regular users. Having an image that

Re: [NAnt-users] Subversion Copy command throws an error

2009-01-15 Thread Bevan Arps
One thought ... ... given that ${ } doesn't mean insert macro value but instead evaluate this expression ... ... is ${Release-.version} actually a subtraction involving the two properties Release and .version ? Cheers, Bevan. From: Bob Archer [mailto:bob.arc...@amsi.com] Sent:

Re: [NAnt-users] Thoughts on moving NAnt to git

2010-10-17 Thread Bevan Arps
On 17/10/2010 2:21 p.m., Ryan Boggs wrote: How do you all feel about moving NAnt to git? Do you guys think that it would be a welcome change? What would this achieve? What problem are you trying to solve? Taking an open source project that targets the .NET framework and moving it to a

Re: [NAnt-users] Solution format of file is not supported.

2011-05-27 Thread Bevan Arps
On 27/05/2011 8:00 a.m., Jed Padilla wrote: Now I am getting a better error message (I think) build.FACCBase: [msbuild] Build started 5/26/2011 3:57:55 PM. [msbuild] Project C:\TESTTFS\FACCBase\FACCBase.sln on node 0 (default target s). [msbuild]

Re: [NAnt-users] Getting errors after upgrading to NAnt .90 - Any ideas?

2011-09-17 Thread Bevan Arps
On 18/09/2011 3:03 a.m., Macdiarmid, James D. wrote: I don't believe XP has an Unblock feature. Yes, it does - both XP Professional and XP Home have this feature. IIRC, it was introduced in SP3 - the big security patch for XP. Keep Smiling, Bevan.

Re: [NAnt-users] nant multitarget support?

2012-09-09 Thread Bevan Arps
Fwiw, I've found the csc task too limiting. Instead I use exec to run msbuild for either the whole solution or a specific project. This approach handles your scenario of using the C# 4.0 compiler to target .Net 3.5. Keep smiling Bevan. -Original Message- From: Stefan Arn Sent:

Re: [NAnt-users] VS2010 devenv command from NAnt fails

2013-05-24 Thread bevan . arps
Two suggestions. Firstly, are you executing devenv.com or devenv.exe ? When I have needed to use the last resort of executing VS directly, using devenv.com has been far more reliable than devenv.exe. Secondly, have you considered using MSBuild? Unless you’re doing something not supported by

Re: [NAnt-users] VS2010 devenv command from NAnt fails

2013-05-24 Thread bevan . arps
and reliability. Cheers, Bevan. Sent from Windows Mail From: Bhavani Kapparmath Sent: ‎Saturday‎, ‎25‎ ‎May‎ ‎2013 ‎3‎:‎38‎ ‎a.m. To: Bevan Arps; nant-users@lists.sourceforge.net Hi Bevan, Looks like devenv.com resolved thee issue. Befor i posted this issue, i used this devenv.com as a last try

Re: [NAnt-users] VS2010 devenv command from NAnt fails

2013-06-11 Thread Bevan Arps
. To: Bevan Arps; nant-users@lists.sourceforge.net Hi Bevan, Looks like devenv.com resolved thee issue. Befor i posted this issue, i used this devenv.com as a last try to resolv the issue. Your reply on the same confirmed it more n gave me more confidence on the fix. What i m not sure is devenv failed