I can see the point behind this, and to an extent I agree: if a feature is
broken and there's no intention of fixing it then it
should simply be removed, because otherwise people (like me - see my
earlier post) are going to waste a lot of time trying to
get something to work that just won't.
Is there any tool out there that is open source or free that is an
alternative to nant pad? Bascially looking for a nant editor.
There used to be some instructions somewhere in the NAnt docs for using
Visual Studio 2003 for this. That way, you could use the same editor
for your build script
From: Marc Holmes
My book does include a chapter on task creation amongst other stuff.
And I'll chime in with kudos on that chapter (and the book in general).
I've successfully written several tasks now using Marc's book as a
guide. Clear explanations and illustrative examples that actually
I would like to start the Visual Basic 6 compiler (vb6.exe) which
works
in the background unfortunately. I know there is the vb6-task. But it
does not work as I expect. Besides, since it also just make an exec
call
it is has the same effect.
Are you talking about the NAntContrib VB6 task? If
property name=Project.Name
value=${environment::get-variable(PROJECTS)} /
Try this instead:
property name=Project.Name
value=${environment::get-variable('PROJECTS')} /
The single quotation mark tells NAnt that the value is literal, rather
than a property.
I'm trying to remove spaces from a string and use it
as a property. Any clue why the following won't work:
project name=test default=default
property name=myString value=String With Spaces/
target name=default
property name=stringNoSpace value=${string::trim(myString)}/
My understanding was that this release supported VS 2005. Am I missing
something here?
[solution] Starting solution build.
Microsoft Visual Studio.NET 2005 solutions are not supported.
While NAnt itself will run under the 2.0 platform, the solution / task
does not understand VS 2005 solution
[solution] Starting solution build.
[solution] GUID corruption detected for project
'XX.Presentation.Views.Summary'. GUID
values in project file and solution file do not match
(
'{9277ABB6-8305-480F-828F-92C99DD42999}' and
'{9277ABB6-8305-480F-828F-92C99DD42899}'
). Please correct this
I could have sworn that I saw a task in either NAnt or NAntContrib that
would load a set of properties from a separate file. Since I can't find it
in either NAnt's or NAntContrib's current documentation, I presume that I
was halucinating. If I'm not, would someone please point me to it?
If
msbuild ...
...
property name=Configuration value=${build.config} /
/msbuild
Geez, where have I been? Does this msbuild / task support the .NET
2.0 version of the program?
Brad
-
Take Surveys. Earn Cash.
Is there a request to provide the /include and /exclude switches on the
GUI command line as well as the console app? Is this a reasonable
request?
I use the NUnit-GUI app from within VS 2005, using the Debug tab from
within the project properties for my test project, and I have some long
Gert Driesen [EMAIL PROTECTED] wrote:
Wrong list; please post this message to one of the NUnit lists
instead.
Arg. My apologies to the list. I chose...poorly from my address
book.
-
Take Surveys. Earn Cash. Influence
Phil Sayers [EMAIL PROTECTED] wrote:
ok,
I'm using the msbuild task from nantContrib, but i'm sure the same
principles apply to nant, it's just a syntax issue.
so my msbuild task looks like this
msbuild project='${core.source}\Solution 1.sln'
I've never had to include single quotation
Phil Sayers [EMAIL PROTECTED] wrote:
with MSBuild you must delimit the project or solution path/name with
quotes otherwise you get
MSBUILD : error MSB1008
I've never gotten that error from using the MSBuild task.
But you used single quotation marks. Should you be using double
quotation
Is there anyone who has had experience creating custom Nant tasks? I
am trying to hook in mcc, a matlab
compiler, into Nant, but I am running into issues when I try to parse
nested elements. What I want to be
able to parse looks something like this:
FWIW, I've seldom found an application
Using NAnt 0.85, the xmlpeek task reports the absence of a particular
XPath as an error. It doesn't cause my build to fail, since I've
specified 'failonerror=false', but CC.NET reports it as an error in
it's errors section.
In my particular case is *not* an error, since the presence or
Ashish Mittal [EMAIL PROTECTED] wrote:
Hello friends,
I am getting error in compilation of VB6 projects.
Problem:-I want to compile VB6 project from NAnt and also want
to provide reference to some dll during project compilation time.
Generally speaking, references in a VB6 program
Let's keep this on the list, so others who might be stuck in COMville
can benefit as well.
Ashish Mittal [EMAIL PROTECTED] wrote:
Hi,
Thanks for your response
As you mentioned that If the DLLs you are referencing are registered,
then the VB6 compiler should be able to find them no matter
Alan Guedeney [EMAIL PROTECTED] wrote:
NANT solution task documentation does not include support for VS2005?
Does this work in version 0.85? -Alan
Not that I've seen, though there is allegedly a version somewhere that
does.
However, the MSBuild task works quite well for building solution
Bob Archer [EMAIL PROTECTED] wrote:
I am trying to use the svn task. Basically, I want to commit a file
to the repository. The file may or may not have been in the repo
before. I don't think that matters comminting the file should
implicitly add it.
Well, it matters to *Subversion*. The
Dix, John [EMAIL PROTECTED] wrote:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\Setup\Microsoft
Visual Basic]
ProductDir=C:\\Program Files\\Microsoft Visual Studio\\VB98
I changed this to be the path of my tools/SDK/VB98 directory under my
enlistment and it works!
You can also
Wayne Hartell [EMAIL PROTECTED] wrote:
Hi All,
We have beem using NAnt-0.85-rc3 for quite some time with Visual
Studio 2003.NET. In our build files we have been executing builds
like this:
property name=devenvPath value=c:\program files\microsoft
visual studio .net
Chris Lambrou [EMAIL PROTECTED] wrote:
Craig,
We use a slightly modified version of NUnit, and often we wrap it in
NCover.Console.exe, so we run it using an exec/ task, rather than
using NAnt's nunit/ task. However, even if NUnit returns with a
non-zero error code, we don't allow this to
Bob Archer [EMAIL PROTECTED] wrote:
I'm using the latest nightly build, VS2008 prof trial and .NET 3.5 and
I'm getting this error
Solution format of file 'C:\test\Project\src\project.sln' is not
supported.
Have you tried using the exec / task and just executing the 3.5
version of
Bob Archer [EMAIL PROTECTED] wrote:
So, I have a build tool which comes with a batch file to call it. The
batch file calls the build tool which sets the errorlevel. It actually
sets it to 1 for success. Is it possible it doesn't get back to
nant... I would expect nant to see the one and think
Bob Archer [EMAIL PROTECTED] wrote:
MY understanding is that this was only an issue with projects created
with the beta releases. If you create the projects with the RTM
release it is fine. There is a batch file that fixes this here:
Ken Parrish [EMAIL PROTECTED] wrote:
Eric,
Good observation which I should have mentioned. The if statement
in my example is not really necessary--it just suppresses the error
message generated by Nant. The code behaves correctly without the
if statement as was in my original example.
Using NAnt 0.86 (Build 0.86.2898.0; beta1; 12/8/2007), and the nant/bin
directory in my path, and this build file:
?xml version=1.0 encoding=utf-8?
project name=test basedir=.
xmlns=http://nant.sf.net/release/0.86-beta1/nant.xsd;
echo message=Runtime Framework:
Gert Driesen [EMAIL PROTECTED] wrote:
Brad,
This issue was fixed since the beta 1 release.
Can you try using the lastest nightly build (from 10th of Februari),
and let me know if that fixes it for you?
It does indeed, thanks very much.
Brad
Bob Archer [EMAIL PROTECTED] wrote:
Sorry, I'm really stuck here. Does anyone else have any ideas why I
would be getting a fail to start message with the exec tag. (BTW: The
SVN tag works, I just can't seem to get it to do what I want it to
do.)
Have you tried using the fully qualified path
Bob Archer [EMAIL PROTECTED] wrote:
Yes, I have tried several different things on the exec tag...
Have you tried verbose on the exec / to see what output, if
anything, Subversion is actually pumping out?
-
This SF.Net
Bob Archer [EMAIL PROTECTED] wrote:
I looks to be like this task deletes any files in the project with an
svn status of Unversioned or Ignored. Digging future it seems to use
another open source project from Softect, subversionsharp and AprSharp
that are actuall linked to subversion 1.4
I ran into this issue *so* many times that I obtained the xmllist task
and source from:
http://weblogs.asp.net/soever/archive/2006/12/01/nant-xmllist-command-updated.aspx
Snap! Thanks so much for that. That should go a long way towards
solving my current PITA.
Brad
I am using Nant on two separate workstations. I installed Nant Version 0.86
on both machines. In both cases, I edited the Nant configuration file and
set:
Did you compare the two config files to make absolutely certain that
they are the same?
If so, it sounds like either something that
the installer directly. I'm launching the process remotely, which
requires my nant exec task to call a vbs script locally, and the vb code
starts the process on the remote machine. The vbs script does not wait
for the remote process started to complete before the vbs itself
completes.
Any
IF this a consistent directory tree? If so, just exclude the directories
from the delete. If not I think you should be able to use a foreach to loop
over a fileset and delete each individual files. But, I don't know how good
the performance on this will be.
Would the effort of adding a
that I want to build with nant. The problem is that our project has a number
of errors that I need to ignore. I know that these errors should be fixed,
but for some silly political reason they need to be ignored and my Mgr is
over ruling me.
Just out of curiosity, how do you ignore errors? A
Config files for specifically what purpose? Pointing to different
databases or other resources? Options that should only appear in one
environment?
/bs
--
Create and Deploy Rich Internet Apps outside the browser with
environment config files. In my case I have a lot of the individual task
doing what they are suppose to do. However, if my supervisor puts in
Nant -D:tag=/src/Test/tags/Star1_1.0 env=prod then he wants it to point to
the production environment and run my existing task, env=dev then he wants
target name=mapdrive
exec program=cmd.exe failonerror=false verbose=true
arg value=c:\zdownload\setup1.bat/arg
/exec
What is wrong with this bat file? When I run it it just hangs
What does setup1.bat look like?
I am using nant to build a project vs2008 but on a 2.0 framework and I keep
running in to the following error:
File format version is unrecognized: MSBUILD can only read solution files
between versions 7 and 9 inclusive
The error indicates that MSBuild 2.0.whatever is trying to read a
I was able to use psexec to start and stop IIS on a remote machine however,
I was not able to unregister and unregister a .dll on that same remote
machine. So my target ran a bat file that
You need to make sure the user logged into the local machine has
rights to make the modifications you
2. Unregister – dlls – here it just hangs
Regsvr32 –u x:\dlls\aspDlls.dll
If this is the exact command line you used, add the /s (silent) switch
to it, and see what happens. If you don't do that, the remote machine
is trying to display a modal dialog box. Whether or not that succeeds
Sorry added the switch but there appears to be some type of error with the
bat file
That's something that you're going to need to work out. Use
regsvr32.exe /? for specific help with that command. Many DOS
commands have such a switch which will show you the parameters.
/bs
I have created a windows application that has a reference to the word
interop and performs certain automation of MS Word.
The build Process is fine inside visual studio, However i am having
difficulty building it with Nant, mainly with respect to building it with
the MS Word interop, which
I am trying to use the path combine operation to launch an exec task with
the correct executable. I was hoping that path combine would correctly
combine for the correct OS A/B/C for mac and A\B\C for windows.
path::combine ( A, B/C) would correctly give A/B/C for mac and A\B\C for
Depending on exactly what you mean by validate a folder of xml
files, Saxon may fill the bill.
--
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
Brass,
One option that you might pursue
Just to clarify, this is Alon Amsalem's question, not mine.
/bs
--
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April
delete verbose=true includeemptydirs=true
fileset basedir=${PurgeDeployDirectory_dir}
defaultexcludes=false
include name=**/_vti_cnf /
include name=**/XX* /
include name=Dashboard /
Scoured the documentation and discovered that delete will not act
on ReadOnly files and directories. Marked the entire directory tree as
Read/Write. Now everything is working as expected.
Ah. Good to know.
Now the question that comes to my mind is: Do you really need to make
your
Or, any other quick and dirty ways to modify a vbp file. I want to set the
MajorVer, MinorVer and RevisionVer values.
For this specific task, we use a combination of a custom regex
function, and the loadfile, property and echo tasks.
The script:
script language=C# prefix=regex
code
I am trying to build a WPF project having xaml file using csc task in nant
and it gives me several error like this :-
error CS0103: The name 'InitializeComponent' does not exist in the current
context
I have checked all build and assembly refrence but the error remains
same.Can I build a
I'm not a developer on the project, so my opinion doesn't really count, nor
frankly do I have an opinion either way anyway, but why would you suggest a
change? Aside from any personal preferences you may have, what would the
*project* gain from such a switch, and why would that make changing
If you're running NAnt fro a network share, you may have to set that share as
trusted to the Framework. By default almost anything except the local box is
untrusted.
On Nov 3, 2010, at 12:32, Troy Bull troy.b...@gmail.com wrote:
I am brand new to nant. I downloaded it and it runs fine on my
We've found that it's easiest to just use the MSBuild task, rather than the
solution task, which calls out to MSBuild itself.
On Thu, May 26, 2011 at 2:22 PM, Jed Padilla jpadi...@flclerks.com wrote:
I recently had a friend recommend NAnt to me. The project I am working on
has 10 different
I don't remember if MS Build can suppress them from the command line or not,
but there is a section in the Build section of the Project properties page
where you can suppress specific warnings by number.
On Fri, May 27, 2011 at 8:09 AM, Jed Padilla jpadi...@flclerks.com wrote:
I got NAnt
+1 on these recommendations. I have this book, and it was just what we
needed.
On Wed, Aug 31, 2011 at 12:30 PM, Scott Pennington
spenning...@prosper.comwrote:
http://www.apress.com/9781590594858 is a good book on NAnt and
CruiseControl.NET with examples on how to actaully do it.
** **
On Aug 31, 2011, at 12:05 PM, Brass Tilde brassti...@gmail.com wrote:
+1 on these recommendations. I have this book, and it was just what we
needed.
On Wed, Aug 31, 2011 at 12:30 PM, Scott Pennington spenning...@prosper.com
spenning...@prosper.com wrote:
http://www.apress.com/9781590594858http
58 matches
Mail list logo