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 to resolv the
issue.
Your reply on the same confirmed it more n gave me more confidence on the fix
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 to
As I recall (it's been a while), devenv.exe is what you run for an interactive
session, devenv.com for batch processing.
Some background. If you don't specify an extension, the shell looks for
possible programs to run by trying various extensions. I #think# it uses this
order: bat, cmd, exe, co
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
Fwiw, I've found the task too limiting.
Instead I use 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: 9/5/2012 9:1
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.
---
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] C:\TESTTFS\FACCBase\FACCBase.sln.c
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 DVCS
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]
S
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 s
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 re
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 PROT
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 to invoke MSBuild to do the actual
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 w
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 a
Hi Joel.
A suggestion for a backup plan - in case you don't find any other
solution.
I use NAnt to drive all my builds, but use MSBuild to do the .NET
compilation step. Since Visual Studio maintains the MSBuild file
automatically, this reduces the amount of maintenance needed.
Here are
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]
/www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4
ae7-96ee-b18c4790cffd&displaylang=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 Gr
tasks/solution.html
For compiling with MS Build (Visual Studio 2005):
http://nant.sourceforge.net/release/latest/help/tasks/exec.html
If you want to bypass the Solution files:
http://nant.sourceforge.net/release/latest/help/tasks/csc.html
Keep Smiling,
Bevan.
Bevan Arps | Senior Analyst/Progr
Hello Deepak.
I've done exactly what you describe - check out the task and
use it to loop over your SQL files, running each in turn.
My scripts have to be run in proper sequence, so I've numbered them.
Hope this helps,
Bevan.
From: [EMAIL PROTECTED]
[mail
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 to run my database scripts
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 PROTECTED
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.
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
refere
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
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
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
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
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 so
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 .
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 us
Hi Todd.
> I have been using Nant for quite awhile now and am extremely happy
with it.
> I would not use anything else but my organization is questioning why
we
> hould be using Nant and not just use Visual Studio to do our builds. I
am
> having a hard time replying back to management in terms th
Shelly Midha asked:
> I'm using to read xml configuration file.
> I want to retreive the 'value' for given value of
Well, I've never used xmlpeek - but I do develop XSLT stylesheets, so I
understand XPATH expressions.
> xpath="/parameters/parameter/name"
> property="DB.Dat
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
clauses are evaluated from top to bottom, b
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
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:
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
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:
...
Hope this helps,
Bevan.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAI
> 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
39 matches
Mail list logo