[NAnt-users] task running x86 tests

2015-04-29 Thread Mike Alekseev
Hello! Im trying to run some tests using NAnt task, but it fails with next error: ---"Could not load file or assembly '-assembly info-' or one of its dependencies. An attempt was made to load a program with an incorrect format." I tried to configure "appconfig" but it gave no result. Then i

Re: [NAnt-users] xmlpeek and multiple nodes

2012-04-20 Thread mike
r/archive/2006/12/01/nant-xmllist-command-updated.aspx--Mike Frederick -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it F

[NAnt-users] CCnet progress reporting from NAnt

2009-09-30 Thread Mike Frederick
I have implemented a custom script task for NAnt which makes progress reporting back to CCNet much easier. Progress reporting is accomplished by inserting XML into a file which is read by CCNet to display progress information. See http://confluence.public.thoughtworks.org/display/CCNETCOMM/Vi

Re: [NAnt-users] Using JScript.NET to implement a function

2009-08-28 Thread Mike Frederick
;>> C:\hp\Scripts\a.build(4,4): >>>> Unknown function 'script::testfunc'. >>>> Expression: ${script::testfunc()} >>>> >>>> >>> I'm not sure but you may have to annotate the function name: >>> &g

Re: [NAnt-users] Using JScript.NET to implement a function

2009-08-27 Thread Mike Frederick
;> Expression: ${script::testfunc()} >> > > I'm not sure but you may have to annotate the function name: > > [Function("testfunc")] > > at the top of your script. > > BOb > > > Yes, that's what I thought. When I add that line, I g

[NAnt-users] Using JScript.NET to implement a function

2009-08-26 Thread Mike Frederick
Hello, I am very familiar with JScript, but not with JScript.NET or C#. I want to write a function in JScript.NET that I can use in my NAnt script. I currently have: ${script::testfunc()}

[NAnt-users] Navigating XML documents ...

It is a little painful, but it is possible. The idea is to be able to address each FileItem node individually. If each Path property is unique across all of the FileItem nodes, then you can use that property to "pick-out" each FileItem node: File:

Re: [NAnt-users] NAnt-users Digest, Vol 32, Issue 6

Ken, Yes, I do this all the time with . I made a slight modification that I use a lot, but your particular case doesn't need my mod. Look at http://weblogs.asp.net/soever/archive/2006/12/01/nant-xmllist-command-updated.aspx. This is a blog entry, but it has a link to the code you want. > M

[NAnt-users] xmlpeek multinode and script parameters

I'm only addressing the XMLPEEK question; my answer makes the second question unnecessary. Don't use xmlpeek for this operation. I only use xmllist now...http://weblogs.asp.net/soever/archive/2006/12/01/nant-xmllist-command-updated.aspx XMLLIST allows for multi-attribute/multi-node reads. It

[NAnt-users] Bug found - interaction of NAnt and NAntContrib

All, I stumbled into this one today. If you use a task by itself in a target, all is ok; but if you put that task inside of a it fails. Example script: In the OT

[NAnt-users] xmlpeek - Multiple nodes found with the XPath expression

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 and modified the code so that if the final nodename specified is "*", all nodenames are returned in a comma-separated list. Then I

Re: [NAnt-users] Web deployment questions

Ob > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Mike > Frederick > Sent: Wednesday, August 13, 2008 5:09 PM > To: nant-users@lists.sourceforge.net > Subject: [NAnt-users] Web deployment questions > > All, > > I a

[NAnt-users] Web deployment questions

All, I am in charge of the build/deployment of a web-based product and I have scripted the builds and deployments in NAnt. Now I am being asked to also script the complete tear-down/build-up of the underlying IIS web sites. This is to be done in order to guarantee that the final deployment w

[NAnt-users] short-circuiting a task

Is there a way to short-circuit a task? For example if I'm looking for a specific line within a file and I find that line, can I force the task to exit without continuing through the rest of the lines in the file?

[NAnt-users] Using the task

project from the command line. Is there something else I need to do? Does anyone know how I can get this working? TIA. -- Mike Frederick [EMAIL PROTECTED] - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference

[NAnt-users] Using NAnt 0.86 beta1 on 64-bit Windows

stallRoot, 'bin')} Property 'sdkInstallRoot' has not been set. Is there something I have done incorrectly? Please help me if you have any ideas. TIA Oh, yea, my command line was: nant -f:dnet.build go

Re: [NAnt-users] Using 0.86 beta 1 for .NET 3.5

ault framework issue. Gert Driesen wrote: > Mike, > > Please try using the latest nightly build. > I recently fixed a bug related to support for .NET Framework 3.5: > http://nant.sourceforge.net/nightly/latest/releasenotes.html > > Let me know if that fixes the problem for

Re: [NAnt-users] Using 0.86 beta 1 for .NET 3.5

what do I try now? Paul LeBlanc wrote: > Mike, I'm a newbie at this but it seems fine to me since the CLR version > has not changed for 3.0 or 3.5. The "net-3.5" should tell you which > framework, and the rest is CLR related. > > Paul > > -Original Mess

[NAnt-users] Using 0.86 beta 1 for .NET 3.5

other .NET version, this number matches the version of .NET. Shouldn't this be version="3.5" ? 2) frameworkassemblydirectory="${path::combine(installRoot, 'v2.0.50727')}" ... again; shouldn't this match the 3.5 value? 3) clrversion="2.0.50727&q

[NAnt-users] Further XML node processing

an XML file and be able to pick up the nodename and attributes? TIA! -- Mike Frederick [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http

[NAnt-users] Invalid framework 'netcf-1.0' specified.

Trying to build a netcf-1.0 app but I'm getting errors like: Framework 'netcf-1.0' is invalid and has not been loaded : Registry Value Not Found! - key='SOFTWARE\Microsoft\.NETCompactFramework\\sdkInstallRoot';hive='LocalMachine';. Target framework could not be changed. "netcf-1.0" is not a

Re: [NAnt-users] NAnt-users Digest, Vol 17, Issue 20

ers, where as > the system max path size is much larger! On top of that, I do not see a way > to retrieve the standard out or standard error from the program. What a pain! > > > -- Mike Frederick [EMAIL PROTECTED] -

[NAnt-users] Web project deploys

he virtual directory when someone has a web page open? I guess this would make sense if you consider the exact configuration of the IIS virtual directory a part of the deployment "packaging". Any advice welcome. TIA. -- Mike Freder

[NAnt-users] Dynamic ?

place? -- Mike Frederick [EMAIL PROTECTED] - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser

[NAnt-users] Using the task

FAILED INTERNAL ERROR System.Net.WebException: The remote server returned an error: (403) Forbidden. * Any help would be appreciated. -- Mike Frederick

[NAnt-users] Checking if a fileset exists

zipping them up. Thanks, -Mike Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=lis

Re: [NAnt-users] task support for Visual Studio 2005

Excellent news! Any idea when you'll have a new 'non nightly' release that this will be included in? Mike On 28/12/06, Gert Driesen <[EMAIL PROTECTED]> wrote: > Hi, > > Today marks the availability of long-awaited support for Visual Studio 2005 > solutions and

Re: [NAnt-users] running apache-ant through exec doesn't return fail status

mmand prompt window, so I actually copy ant.bat to another file ('and-and-exit.bat'), edit that one and then point CCNet (nant in your case) to that. HTH, Mike On 28/11/06, Moshe Hajaj <[EMAIL PROTECTED]> wrote: > > > > > I'm trying to combine a java build in

[Nant-users] Intermittent "Cannot copy..." errors

one that shows up most often. My suspicion is that the running web application is keeping these files open (log4net periodically checks the config file for modifications, for instance), so they can't be overwritten. Does this sound correct? And if so, is there anything I can do to prevent

[Nant-users] ing 'd targets

Hi all, OK, maybe I'm being really dumb, but I can't seem to targets from a project file I've 'd - is this supported? I'm using RC3. Cheers, Mike -- mike roberts | http://mikeroberts.thoughtworks.net/ | ht

Re: [Nant-users] .85 RC3 and Nunit 2.2

I agree with Richard here - I find the NUnit tasks in NAnt to cause problems and just use http://mikeroberts.thoughtworks.net/blog/archive/Tech/dotNet/Howtosetupa.NETDevelopmentTreePart7.html Mike On 7/26/05, Foster, Richard - PAL <[EMAIL PROTECTED]> wrote: > > Peter, &

Re: [Nant-users] How do i notify a specific developer?

Most CCNet users prefer that to email these days. Mike [1] http://lists.sourceforge.net/lists/listinfo/ccnet-user On 4 Jul 2005 12:38:11 -, Kirti Mali <[EMAIL PROTECTED]> wrote: > Hi Nant users, > I am a new user of cruisecontrol & also a new member of > th

Re: [Nant-users] NAnt running under CCNET having issue when generating VS.NET 2003 type documentation with NDoc

. Mike On 6/21/05, Sandeep <[EMAIL PROTECTED]> wrote: > Hi, > > This problem is related to integrating NDoc with NAnt/CCNET. I am > posting it here to see if someone has implemented it and faced similar > issue. > > I am getting the following error when trying to gener

Re: [Nant-users] [Fwd: Nightly build]

enarios (see http://confluence.public.thoughtworks.org/display/CCNET/Schedule+Trigger) Mike --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how y

Re: [Nant-users] Problem with nunit2

opmentTreePart7.html Mike On Apr 4, 2005 9:57 PM, Rick Busch <[EMAIL PROTECTED]> wrote: > > > > I am a new Nant user and have so far been unable to execute existing nunit > tests using the nunit2 task. > > I'm using the 0.85 rc version of Nant and

Re: [Nant-users] Solution task - Couldn't find Primary Interop Assembly "stdole"

e same location on your build machine (create the directory if necessary). You might have to do a "regasm /codebase envdte.dll" in that directory, but try without first. I don't know why MS didn't include these in the standard SDK... Mike ---

Re: [Nant-users] Nant and Nunit 2.2 problem

that's true, but its not the case if you use . http://confluence.public.thoughtworks.org/display/CCNET/Using+CruiseControl.NET+with+NUnit Probably best to move any further CCNet discussion onto its mailing lists... Mike --- SF email is

Re: [Nant-users] Nant and Nunit 2.2 problem

On Wed, 23 Feb 2005 21:42:49 -0600, Chris Taylor <[EMAIL PROTECTED]> wrote: > Jeez Mike do you just sit on all the lists? =) Not *all* of them. I leave Cobol.NET to themselves ;) > Using your method described in your blog, will cc.net still fail upon > failed unit tests? Yes

Re: [Nant-users] Nant and Nunit 2.2 problem

t the XML output > from Nunit so I can merge that with CC.NET 0.8. I'm not sure if you want to do this, but I use rather than to run my tests. I've written this up at http://mikeroberts.thoughtworks.net/blog/archive/Tech/dotNet/Howtosetup

Re: [Nant-users] Checking fileset contents?

in script tags on a project I was on last year. Most of our Data Migration, build configuration and IIS Automation was done in them. Of course, we will need a NantScriptUnit to test them all ;) I tried in September to do something similar in Ant with Beanshell - not nearly as

[Nant-users] Re: Multiple output dirs on VS.NET task

ject to something like '\build\projectName\' I wrote about this on my blog recently - you might want to check it out - http://mikeroberts.thoughtworks.net/blog/archive/Tech/dotNet/Howtosetupa.NETDevelopmentTreePart5.html Mike Hello Alexandre, > Hi all, > > I just got set

[Nant-users] Visual Studio.NET Add-In for NAnt

sphere.com - both source and a binary setup are available. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Donal McCarthy Sent: Wednesday, February 02, 2005 7:41 AM To: Bill Arnette Cc: Arnette, Bill; nant-users@lists.sourceforge.net Subject: RE: [Nant

[Nant-users] #import supported by Nant?

I'm trying to build a c++ project that uses #import. I've made sure that in the project settings, that all the directories of where the library files were and I'm getting an error saying that the file I'm importing could not be found. Any ideas? ---

[Nant-users] Skipping solution build in Nant..WHY?

I'm trying to build a solution file with a configuration of Release MinDependency and Nant seems to skip the build. Here is my build script: -- -- --

[Nant-users] Skipping solution build in Nant..WHY?

I'm trying to build a solution file with a configuration of Release MinDependency and Nant seems to skip the build. Here is my build script: -- -- ---

[Nant-users] Conditional execution of a

I seem to be having some problems with the "if" attribute on a . I would like to execute the if a specific property evaluates to "true". I have the following: I then receive the following error message: D:\Development\Projects\Library\Build\library.build(22,3): Function

[Nant-users] RE: problem

Never mind. . . . Figured it out. -Original Message- From: Collier, Mike Sent: Friday, December 03, 2004 1:42 PM To: '[EMAIL PROTECTED]' Subject: problem I am using Nant 0.85-rc1. I'm having a problem with the task. It seems to be hanging when performing the log i

[Nant-users] problem

I am using Nant 0.85-rc1. I'm having a problem with the task. It seems to be hanging when performing the log in. Here is the output of the task: [echo] Checking out module Library from CVS . . . [cvs-checkout] Using ssh binary: [cvs-checkout] Using .cvspass file:

[Nant-users] running Custom Build Setup

When compiling a solution file, nant doesnt seem to execute anything written in the custom build setup portion of the project. What can I do? --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Pr

[Nant-users] Funky Filenames and

I want my "clean" target to delete a bunch of intermediate files that are created by emacs, JBuilder, and CVS. I have tried the following, but it doesn't work. The fileset does not appear to match any files. I'm guessing this is caused by the f

[Nant-users] Error with script tags

I am having trouble upgrading Nant and would like to see if anyone has suggestions. I was previously using Nant .84 and had it checked into SourceSafe. Upgraded to .85 and everything still builds fine. Now I check it into SourceSafe and blow away all of my directories. Do a get latest on my projec

RE: [Nant-users] .NET Framework Version

Title: Message I believe NAnt uses version 1.0 of the .NET framework by default.  You can change to use a specific version by setting the "nant.settings.currentframework" property.  For example, will cause .NET framework version 1.1 to be used. -Original Message-From: [EMAI

[Nant-users] Error with task

I'm having a problem with the task in NAnt (version 0.84). My target looks as follows: The error I'm receiving is: Failed to open database ---> System.Runtime.InteropServices.COMException (0x80004005): Unspecified error at SourceS

[Nant-users] Error with task

I'm having a problem with the task in NAnt (version 0.84). My target looks as follows: The error I'm receiving is: Failed to open database ---> System.Runtime.InteropServices.COMException (0x80004005): Unspecified error at SourceS

Re: [Nant-users] relative paths are not correct.

set in the parent build file It also appears that i can't use the "../../" syntax anymore to move up a subdirectory it was if it was just being interpreted as a command and not a operator to move up subdirectories. Any help you could provide

RE: [Nant-users] relative paths are not correct.

Is anyone else having this problem or am I doing something incorrectly? Thanks, Mike Original Message Follows From: "Mike Stephens" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [Nant-users] relative paths are not correct. Date: Wed, 28 Apr 2004 13:21:10 + I&

[Nant-users] relative paths are not correct.

;. I am not rewriting the value of ${portlets.dir} in my portlet build file, this value is only set in the parent directory. Any help would be appreciated, Thanks, Mike _ FREE pop-up blocking with the new MSN Toolbar – get it now!

RE: [Nant-users] Need capability from

Mike, I havn't tried it but there is a task. There is help in the documents folder of nantcontrib. " Manipulates the contents of the global assembly cache. This tasks provides some of the same functionality as the gacutil tool provided in the .NET Framework SDK. Specifically,

[Nant-users] inside

I'm new to NAnt, so perhaps this is a FAQ, but I couldn't find any references to it: It would be nice to have an element that could immediately follow an element. ... ... The rule would be that an block is only allowed to immediately follow an block. I know about "ifnot"

Re: [Nant-users] Bug when using XmlLogger and build exceptions

ctly 1 tag type that identifies that there's been a problem (I'm thinking that would make parsing the xml log slightly easier). Apart from that though, everything else looks great. Cheers, Mike Gert Driesen wrote: Mike, I've modified the XmlLogger locally, to use the following

Re: [Nant-users] Bug when using XmlLogger and build exceptions

rget to show how long each target takes. What do you think? Cheers, Mike Gert Driesen wrote: Mike, This is a known issue (http://sourceforge.net/tracker/index.php?func=detail&aid=788650&group_id=31 650&atid=402868), which is probably very easy to fix. But I was actually waiting for a

Re: [Nant-users] Bug when using XmlLogger and build exceptions

Gert Driesen wrote: - Original Message - From: "Mike Roberts" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]> Should we only output the message of an exception, or also the stacktrace ? How should we represent nested exceptions in the xml lo

[Nant-users] Bug when using XmlLogger and build exceptions

be on standard error, and we just weren't capturing it properly, but it appears that there's actually a bug, which I can reproduce. Attached are some details - are there any plans to fix this? Cheers, Mike -- C:\tools\eclipse\workspace\ccnet>type temp.build

[Nant-users] delete element within target

?   Thanks.   -Mike Gage  

[Nant-users] Using NAnt 0.8.3's NAntContrib with CVS version of NAnt?

Hi there, I'd like to use and in my build. So I have a recentish build of NAnt head. And I copied the NAnt.Contrib.Tasks.dll from NAnt 0.8.3 final into my compiled NAnt bin folder. But If I try to use I get 'Unknown task ' Am I being dumb? Thanks, Mike -- Mi

Re: [Nant-users] Com dll metadata?

Reading the list's suggestions I was able to solve the problem. Indeed by just tlbimp-ing my com dlls first, then referring to those wrapper-ed versions, I was able to build no problem. Thanks to all that replied, it really helped us on our deadline. --Mike Duncan - Original Me

[Nant-users] Com dll metadata?

pened -- 'There isn't metadata in the memory or stream'   This all compiles fine from VStudio.   My references look like this:                         And i have unsafe = "true" on my csc line.   Not sure what what I'm up against he

Re: [Nant-users] Generating BUILD files for Nant

your nant script building against a Visual Studio solution. (I don't develop either of these btw - I just saw your request and thought I'd give an answer :) ) Mike Robert Freas wrote: Hi, I was wondering what happened to the SLiNgshoT utility for generating build files. I was abl

[Nant-users] Question about reference resolution behaviour

irs having significantly more content in them when I use as opposed to when I use VS's compiler. Is there a reason for this behaviour? Cheers, Mike --- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultan

[Nant-users] CSC and resource embedding

ource my.project.namespace.class2.resource Has anyone else encountered anything like this ? I've looked at the resx files and there doesnt seem to be any difference in the headers etc. Any pointers appreciated. Th

[Nant-users] Using NUnit Task

the NUnit task, I get:   BUILD FAILED C:\Impact\impact.build(-1,-1): Error running unit test. Object reference not set to an instance of an object. Try `NAnt -help' for more information.   Any light on this error or if I am thinking about the problem from the correct angle would help.   Mike    

[Nant-users] Emacs mode?

Hi- Hey, just discovered nant yesterday - very cool! One question: Is there any plan to implement an equivalent to ant's --emacs mode in nant? That would really help for compiling. Thanks, -Mike --- This sf.net email is sponsor