;
> Thanks
> Michael
>
>
> On Aug 31, 2011, at 12:05 PM, Brass Tilde 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> 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
wrote:
> http://www.apress.com/9781590594858 is a good book on NAnt and
> CruiseControl.NET with examples on how to actaully do it.
>
> ** **
>
> *Expert .NET Del
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 wrote:
> I got NAnt working this morning. The
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 wrote:
> I recently had a friend recommend NAnt to me. The project I am working on
> has 10 different solutions to it, and e
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 wrote:
> I am brand new to nant. I downloaded it and it runs fine on my windows XP
> box
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
worth
> 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 bu
>> For this specific task, we use a combination of a custom regex
>> function, and the loadfile, property and echo tasks.
>
> Thanks... yours is very close to what I did. I didn't bother with the
> regex's and stuff. Here is what I ended up with. It works well.
We had the regex function around, an
> 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:
> Scoured the documentation and discovered that 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 deployment di
>
> defaultexcludes="false" >
>
>
>
>
>
>
>
What happens if you use "**/_vti_cnf/" or "**/_vti_cnf/**" and
"Dashboard/" or "Dashboard/**" instead?
/bs
> 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 Apr
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
> 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
> 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, whic
> 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
> 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
d
> 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
> 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
sol
>
>
>
>
>
>
>
> What is wrong with this bat file? When I run it it just hangs
What does setup1.bat look like?
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR,
> 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 want
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 Ad
> 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?
> 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 "fi
> 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.
> 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 sh
> I ran into this issue *so* many times that I obtained the 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
---
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
Bob Archer <[EMAIL PROTECTED]> wrote:
> Yes, I have tried several different things on the exec tag...
Have you tried "verbose" on the to see what output, if
anything, Subversion is actually pumping out?
-
This SF.Net ema
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
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
--
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:
http://nant.sf.net/release/0.86-beta1/nant.xsd";>
With the NAnt.exe.config net-3.5 framework element's tool-paths element
set like this, un
Ken Parrish <[EMAIL PROTECTED]> wrote:
>> Eric,
>>
>> Good observation which I should have mentioned. The statement
>> in my example is not really necessary--it just suppresses the error
>> message generated by Nant. The code behaves correctly without the
>> statement as was in my original exa
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:
> http://download.microsoft.com/download/7/9/2/79268325-
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
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 task and just executing the 3.5
version of MSBuild.e
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 task, rather than
> using NAnt's task. However, even if NUnit returns with a
> non-zero error code, we don't allow this to immedi
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:
>
>
If I may make a suggestion: don't use devenv for VS 2005 projects, use
MSBuild instead
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!
Y
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*.
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
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 m
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
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 absen
> 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
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
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
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. Infl
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
runn
>> Geez, where have I been? Does this task support the .NET
>> 2.0 version of the program?
>
> Yes.
>
> Note: it currently is only part of NAntContrib.
Cool. Since I already use NAntContrib, that makes it easy.
Thanks,
Brad
>
> ...
>
>
Geez, where have I been? Does this task support the .NET
2.0 version of the program?
Brad
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get
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 there
> Is there a way to do this? I don't see a switch that will allow me to tell
copy to
> do this no matter what? Ideas?
Using Subversion, you will need to delete the existing tag and copy a new
one.
---
Using Tomcat but need to do more? Need to
[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 manually.
> 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 task
does not understand VS 2005 solution files.
I am building a solution that puts the output into the following
directory structure:
\src\bin\Release\
How can I change this behaviour? I've tried changing the output=
parameter, but to no avail.
I want it to be placed right in: \bin
Is this just a function of the solution itself or my lac
NAntContrib (nantcontrib.sf.net) has the task. We use it to
increment the build numbers in our builds and then check the
build.number file into the source repository (SVN).
FWIW, we use CruiseControl.NET to do our nightly builds, and it has the
capability to keep track of version numbers, and
> > I'm trying to remove spaces from a string and use it
> > as a property. Any clue why the following won't work:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> Eric-
> property is immutable by definition so you cannot 'reset' it
> as you are attempting to do here
> 2 choices:
>
Try this instead:
The single quotation mark tells NAnt that the value is literal, rather
than a property.
---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification
> I have to admit a real lack of knowledge on Cruise Control (is there a
> CC list?)
Yes, at https://lists.sourceforge.net/lists/listinfo/ccnet-user.
> Do you install from a network share? If you have the tools in
> a revision control system, then you need revision control installed to
> get goin
> I'd be interested to hear what issues you have with the vb6 task so
that
> we can look at fixing them. Thanks
Just to clarify, it was the original poster, Mr. Schneider, who was
having the problem, not me. For me, it works splendidly.
Brad
---
> 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?
> 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 actuall
> 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 scri
> 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
65 matches
Mail list logo