[NAnt-users] NAnt and Microsoft Exchange Server
I'm trying to find an example of sending an email notification using Microsoft Exchange Server. Would it be the same as sending through SMTP? Thanks, Jim -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] NAnt and Microsoft Exchange Server
Very good. Thank you for the quick reply Mike. From: Pento, Michael [mailto:mpe...@metratech.com] Sent: Friday, October 01, 2010 10:09 AM To: Macdiarmid, James D.; NAnt-users@lists.sourceforge.net Subject: RE: NAnt and Microsoft Exchange Server Hi Jim, I believe it is. I use the mail task here at my company through exchange and it works great. Thanks, Mike From: Macdiarmid, James D. [mailto:james.d.macdiar...@saic.com] Sent: Friday, October 01, 2010 9:59 AM To: NAnt-users@lists.sourceforge.net Subject: [NAnt-users] NAnt and Microsoft Exchange Server I'm trying to find an example of sending an email notification using Microsoft Exchange Server. Would it be the same as sending through SMTP? Thanks, Jim -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] NAnt and Microsoft Exchange Server
Excellent! J Thank you again. From: Pento, Michael [mailto:mpe...@metratech.com] Sent: Friday, October 01, 2010 10:18 AM To: Macdiarmid, James D.; NAnt-users@lists.sourceforge.net Subject: RE: NAnt and Microsoft Exchange Server Sorry Jim, an example would have probably been helpful. J ?xml version=1.0 encoding=UTF-8? project name=Send SMTP Mail via Exchange default=build basedir=. target name=build depends=sendmail / target name=sendmail mail from=m...@mycompany.com tolist=y...@yourcompany.com subject=Exchange SMTP Email Test message=This is a test SMTP email sent through Microsoft Exchange Server. mailhost=MAILSERVER.MYCOMPANY.COM /mail /target /project I tested this with my local info a few minutes ago, worked perfectly from behind our firewall. Hope this helps, Mike From: Macdiarmid, James D. [mailto:james.d.macdiar...@saic.com] Sent: Friday, October 01, 2010 9:59 AM To: NAnt-users@lists.sourceforge.net Subject: [NAnt-users] NAnt and Microsoft Exchange Server I'm trying to find an example of sending an email notification using Microsoft Exchange Server. Would it be the same as sending through SMTP? Thanks, Jim -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] Error occurred when sending mail
I finally got this working 1 time yesterday and now I keep getting the following error. Would anyone know what would be causing this and some idea on how to isolate the issue? Thanks C:\Workspaces\AHLTA\3.3.5\BuildMgmt\BuildBox\Scriptsnant -buildfile:testmail.xml NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006) Copyright (C) 2001-2006 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/Workspaces/AHLTA/3.3.5/BuildMgmt/BuildBox/Scripts/testmail.xm l Target framework: Microsoft .NET Framework 2.0 Target(s) specified: sendmail sendmail: [mail] Sending mail to james.d.macdiar...@saic.com. BUILD FAILED C:\Workspaces\AHLTA\3.3.5\BuildMgmt\BuildBox\Scripts\testmail.xml(6,6): Error sending mail: Error enountered while sending mail message. Make sure that mailhost=0015-its-exmb14.us.saic.com is valid Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)) Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)) Total time: 0 seconds. Here is the script: MailHost address removed for security reasons. ?xml version=1.0 encoding=utf-8? project xmlns=http://nant.sf.net/release/0.85/nant.xsd; name=Build AHLTA default=sendmail target name=sendmail mail from=james.d.macdiar...@saic.com tolist=james.d.macdiar...@saic.com subject=Build Report mailhost=xxx.xxx.xxx.xxx message=Build Successful verbose=true /mail /target /project -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] On Task Failure
I'm working on some mods to my build process using nant.success and nant.failure, such as sending email notifications and cleanup. I was wondering if it's possible to determine which task failed using conditionals when using nant.failure? Would anyone know of any examples? Thanks -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] Target Failure Determination
Would anyone know if there is a way to determine what target or task failed when using nant.failure? What I was considering on do was setting a property based on what task the script is currently processing, then clear the property at the end of the task. If the property is not blank then have the script roll back everything up to and including the name of the task that was recorded in the property. Make sense? Would there be a better way of doing this? Thanks -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Using NAnt to build Windows Application
Sounds like a Windows Forms application. As far as inclusion of a custom library, we are using the loadtasks / task. Example: loadtasks assembly =${path::combine(BuildDir, 'nAnt\bin\customlib1.dll')}/ loadtasks assembly =${path::combine(BuildDir, 'nAnt\bin\customlib2.dll')}/ loadtasks assembly =${path::combine(BuildDir, 'nAnt\bin\customlib3.dll')}/ Hth, Jim -Original Message- From: nant-users-boun...@lists.sourceforge.net [mailto:nant-users-boun...@lists.sourceforge.net] On Behalf Of Wilson, Brian Sent: Friday, January 14, 2011 1:22 PM To: 'nant-users@lists.sourceforge.net' Subject: Re: [NAnt-users] Using NAnt to build Windows Application I have a .Net application that is a Windows application (.exe) that I need to automate the build. I want to use NAnt, but I have only ever used it to build ASP.Net applications. I have not started building the script yet, as I am not sure what needs to be done. I was wondering if there is something special that needs to be done. How do I handle the automatic inclusion of a custom library? VS2008 does this automatically for me, so I am not sure if there is something I need to do for a NAnt build. Thank you, Brian Wilson Department of Human Resources - Administrative Services Email: brian.wil...@dhr.alabama.gov -Original Message- From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, January 14, 2011 12:17 PM To: Wilson, Brian; 'nant-users@lists.sourceforge.net' Subject: RE: Using NAnt to build Windows Application Good Morning, Has anyone ever used NAnt to build a windows application? If so, is there any special steps to do? How do you handle the automatic inclusion of a library you developed? What do you mean by windows application? That's all I've ever used nant for. Or do you mean windows forms ??? What are you trying? What isn't working? Is this a .Net application? BOb -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Are people still using NAnt
Hi Bob, Yes, I'm heavily using Nant in our build projects, in addition to Ant. It's an awesome tool and I too wish more development could be done. Jim From: nant-users-boun...@lists.sourceforge.net [mailto:nant-users-boun...@lists.sourceforge.net] On Behalf Of Bob Archer Sent: Monday, March 14, 2011 11:54 AM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Are people still using NAnt Hi Folks... we rely heavily on NAnt for our builds. But, it seems that development and activity here has really slowed down. Have people moved to MS Build or is NAnt just at that stage where it is stable enough so people don't have problems with it and it doesn't need a lot of changes? BOb -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Are people still using NAnt
Ryan, I know how it is to get side-tracked and stuck in the roots of other priorities. Thanks for letting us know what’s going on, and thanks for making Nant! Keep up all the great work you and all the other developers have put into it. J Cheers, Jim From: Ryan Boggs [mailto:rmbo...@gmail.com] Sent: Monday, March 14, 2011 1:03 PM To: Macdiarmid, James D. Cc: Bob Archer; nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Are people still using NAnt Hi, I'm trying to pick up development again. I had a big project take up much of my time the last couple of months. Now that the project is wrapping up, I can shift back here. I setup a branch that I am currently working in to address the 4.0 fallout issues. I am avoid head commits at the moment because the changes I am currently working on are pretty chaotic and not really stable yet. In fact, I made a couple commits to that branch yesterday. Heres to hoping that we can get this off the ground again. ;) Thanks, Ryan On Mar 14, 2011, at 9:35 AM, Macdiarmid, James D. james.d.macdiar...@saic.com wrote: Hi Bob, Yes, I’m heavily using Nant in our build projects, in addition to Ant. It’s an awesome tool and I too wish more development could be done. Jim From: nant-users-boun...@lists.sourceforge.net [mailto:nant-users-boun...@lists.sourceforge.net] On Behalf Of Bob Archer Sent: Monday, March 14, 2011 11:54 AM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Are people still using NAnt Hi Folks... we rely heavily on NAnt for our builds. But, it seems that development and activity here has really slowed down. Have people moved to MS Build or is NAnt just at that stage where it is stable enough so people don't have problems with it and it doesn't need a lot of changes? BOb -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] Changesets included in the current build?
Can anyone tell me if there is a way to retrieve the changesets from tfs for the current build using Nant, or the nant references in a C# script? Thanks -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Changesets included in the current build?
Thanks. Actually what I'm looking to do is write something quick and dirty more or less. Something just to grab the change sets since our current build script has a bug. The way it's written now is that, if it fails, and we run the script again, we lose our changeset numbers since they are not written till the end of the script. Jim From: Nikhil Gupta [mailto:nikhil...@gmail.com] Sent: Thursday, May 12, 2011 1:06 AM To: Bob Archer Cc: Macdiarmid, James D.; nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Changesets included in the current build? You can use tf.exe get command which will update the workspace to latest. Along side, log everything in an xml while running nant using --xmllogger. In the end you may grep the log file to get the list of changes. Hope this helps. Nikhil http://taxingsalaried.blogspot.com On Thu, May 12, 2011 at 12:42 AM, Bob Archer bob.arc...@amsi.com wrote: I expect the easiest way would be to use a command line tfs client via the EXEC nant tag. From: Macdiarmid, James D. [mailto:james.d.macdiar...@saic.com] Sent: Wednesday, May 11, 2011 10:50 AM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Changesets included in the current build? Can anyone tell me if there is a way to retrieve the changesets from tfs for the current build using Nant, or the nant references in a C# script? Thanks -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] TryCatch
Is it necessary to wrap a TryCatch/TryCatchFinally/Finally around a copy/copy task? Thanks, Jim -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] sending SMS messages with NANT
Has anyone come across an SMS task for Nant? I'd like to be able to send text messages to my phone if an error occurs in my build script. Thanks -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] Connecting to TFS using Nant
Anyone have any suggestions for trapping when there is no network connection to TFS in a custom Nant task? -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] NAnt.Core.Project
Thanks for posting that, Keston! From: nant-users-boun...@lists.sourceforge.net [mailto:nant-users-boun...@lists.sourceforge.net] On Behalf Of Obendorf, Keston Sent: Monday, June 27, 2011 4:47 PM To: Wilson, Brian; nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] NAnt.Core.Project Hooray for open source. I checked out the 'nant' task source code and it appears that this is the proper way to use Project to run something: NAnt.Core.Project buildProject = new NAnt.Core.Project(...); buildProject.BuildTargets.Add(...); buildProject.Run(); Everything's working now. Thanks, Keston From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov] Sent: Monday, June 27, 2011 12:03 PM To: Obendorf, Keston; nant-users@lists.sourceforge.net Subject: RE: NAnt.Core.Project I have never used the C# references before, so I am not able to confirm if they work. For calling another Nant build, I use the nant task. http://nant.sourceforge.net/release/latest/help/tasks/nant.html I'll look and see if anyone has used this before. Brian Wilson Department of Human Resources Email: mailto:brian.wil...@dhr.alabama.gov brian.wil...@dhr.alabama.gov From: Obendorf, Keston [mailto:keston.obend...@intel.com] Sent: Monday, June 27, 2011 1:01 PM To: Wilson, Brian; nant-users@lists.sourceforge.net Subject: RE: NAnt.Core.Project The call is being made from a custom NAnt task I coded in C#. From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov] Sent: Monday, June 27, 2011 5:43 AM To: Obendorf, Keston; nant-users@lists.sourceforge.net Subject: RE: NAnt.Core.Project Are you making this call from a C# program? Or, do you have a task in your build file that is coded in C#? Brian Wilson Department of Human Resources Email: mailto:brian.wil...@dhr.alabama.gov brian.wil...@dhr.alabama.gov From: Obendorf, Keston [mailto:keston.obend...@intel.com] Sent: Friday, June 24, 2011 5:26 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] NAnt.Core.Project I'm trying to make a custom Nant task that may end up calling another Nant build file. I create the project like so: NAnt.Core.Project buildProject = new NAnt.Core.Project(BuildfilePath, NAnt.Core.Level.Info, 1); buildProject.Execute(BuildfileTarget); This will not execute the target, giving the error log message that the target was not found. foreach (string s in buildProject.BuildTargets) { this.Project.Log(NAnt.Core.Level.Info, BuildTarget: + s); } foreach (NAnt.Core.Target t in buildProject.Targets) { this.Project.Log(NAnt.Core.Level.Info, Target: + t.Name); } Yields no results for either property. I don't see a bug in for this, nor any documentation so I don't know if this is expected behavior. Does anyone have experience using the Project object? _Keston -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] Need help with returning values to a build script from a custom task.
I'm writing a custom task in C# to get all the associate changesets from TFS for a given workitem to be used in writing a build report. I'm trying to figure out how to return this data back to the build script. Can anyone point me to an example of doing this? Thanks, Jim -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Need help with returning values to a build script from a custom task.
I'd like to return an array of items so that I can send out a build report with all the ticket and changeset info that was included in the build. Jim From: Pento, Michael [mailto:mpe...@metratech.com] Sent: Thursday, July 07, 2011 4:26 PM To: Macdiarmid, James D.; nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] Need help with returning values to a build script from a custom task. Hi Jim, Is the value being returned an array of items, or just a single value? Thanks, Mike From: Macdiarmid, James D. [mailto:james.d.macdiar...@saic.com] Sent: Thursday, July 07, 2011 2:53 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Need help with returning values to a build script from a custom task. I'm writing a custom task in C# to get all the associate changesets from TFS for a given workitem to be used in writing a build report. I'm trying to figure out how to return this data back to the build script. Can anyone point me to an example of doing this? Thanks, Jim -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] Looking for a web interface for build runs
I'm looking for a web application similar to TeamCity that can be used with Nant and Team Foundation Server. Do most shops use these types of applications to monitor the status of builds or would it be necessary to do some type of custom web application? Thanks, Jim -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Looking for a web interface for build runs
Sure.. Build scheduling would be good. I was under the impression that CruiseControl.NET was only for continuous integration though. I'm using TeamCity for our CI builds. I'm looking for something that will monitor our daily/nightly build queue similar to Team City. Right now we are using Windows Task Scheduler to kick off builds with a batch file. Thanks, Jim From: Pento, Michael [mailto:mpe...@metratech.com] Sent: Tuesday, July 12, 2011 4:43 PM To: Macdiarmid, James D.; nant-users@lists.sourceforge.net Subject: RE: Looking for a web interface for build runs Hi Jim, Not sure if you are asking about some sort of build scheduler, I use CruiseControl.NET. It works well with NAnt, not sure about TFS since I don't use that. I hear good things about Hudson as well. Thanks, Mike From: Macdiarmid, James D. [mailto:james.d.macdiar...@saic.com] Sent: Tuesday, July 12, 2011 4:29 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Looking for a web interface for build runs I'm looking for a web application similar to TeamCity that can be used with Nant and Team Foundation Server. Do most shops use these types of applications to monitor the status of builds or would it be necessary to do some type of custom web application? Thanks, Jim -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] Using the Fail Task Conditionally
I'm using the if task in my build script to test a condition. If the condition is true, I want to send an email out then fail the build. Does it matter where I put the fail task? For example, should I put my Mail task first, then the fail task, or fail first then put the Mail task? If Mail /Mail fail message=/fail /if Or If fail message=/fail Mail /Mail /if Thanks, Jim -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] Trying to set Project Properties from custom task in C#
I'm working on a custom task dll trying to determine how to set the project properties. When I run a build script with my custom task it works fine using the following syntax: Properties[Color] = Red; However, when I run this in the VS2008 IDE while debugging the code, I keep getting a nullreferenceException on the Project object. Is there any way to create a project object based on a passed in name if the project object doesn't exist or is Null? Right now I have a class called ConnectionInformation which has methods for connecting to TFS and another class called BaseTask which inherits from the NAnt.Core.Task and has an instantiation of ConnectionInformation to pass on to other tasks in my DLL. I'm doing this so that in my Build script I can set my connection information once and refer back to it as an element in each task that needs it. I'm just not sure how to instantiate a test Project object for debugging purposes. Thanks in advance, Jim -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] Invalid Child Element 'ReplaceTokens warning
Is anyone else getting this warning? I started getting this when I updated my schema to use in VS2008 for intellisense. The element 'filterchain' in namespace 'http://nant.sf.net/release/0.85/nant.xsd' has invalid child element 'replacetokens' in namespace 'http://nant.sf.net/release/0.85/nant.xsd'. List of possible elements expected: 'filter' in namespace 'http://nant.sf.net/release/0.85/nant.xsd'. Thanks, Jim -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] Restarting a script conditionally
I'm still a bit green with Nant scripting. I have a build script that has one main target, and a ton of calls to other targets. During the build process, I'm building a client GUI, Mid Tier piece and a web service piece. At the start of the build process, there are calls to targets that pull tickets and change sets from TFS that are ready for a daily build process then writes them to a file to be included in a final report at the end of the build. There are a few other things that take place but my main concern is that if my build breaks anywhere thereafter it adds additional time to the build. Right now the whole build process takes roughly 2 hours to complete and builds both .NET and VB6 code. I'd like to be able to be able to set something in the script as a conditional and only rebuild or rerun a portion of the build process. Has anyone done anything such as this? Thank you for your time and I look forward to hearing your replies. Jim -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev ___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] Looking to upgrade our NAnt Install from 0.85 to 0.90
We've upgraded our development environment to .NET Framework 4 VS2010 and TFS 2010 and would like to know if anyone has experience upgrading NAnt from an older version to 0.90? Is it a drop in place type of thing other than updating the schema reference in the XML scripts? Any advice would be greatly appreciated. Thanks, Jim -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerryreg; mobile platform with sessions, labs more. See new tools and technologies. Register for BlackBerryreg; DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Looking to upgrade our NAnt Install from 0.85 to 0.90
Liam, Thank you for the info! Hopefully I won’t have more worries than that. Jim From: liam_ke...@acushnetgolf.com [mailto:liam_ke...@acushnetgolf.com] Sent: Wednesday, September 14, 2011 9:50 AM To: Macdiarmid, James D. Subject: Re: [NAnt-users] Looking to upgrade our NAnt Install from 0.85 to 0.90 We made this shift about 8-10 months ago -we actually went form .Net 1.1 top 2.0 and then onto 4.0 - and it went fairly smoothly. There were some minor changes to the build file, as some of the vars had changed, E.G.: property name=basedir value=${nant.project.basedir}/ It needs to be changed to: property name=basedir value=${project::get-base-directory()}/ Other then that a couple of similar small issues (we are also using nant-contrib), it went off without a hitch. Good luck, LK From:Macdiarmid, James D. james.d.macdiar...@saic.com To:nant-users@lists.sourceforge.net Date:09/14/2011 09:44 AM Subject:[NAnt-users] Looking to upgrade our NAnt Install from 0.85 to 0.90 _ We’ve upgraded our development environment to .NET Framework 4 VS2010 and TFS 2010 and would like to know if anyone has experience upgrading NAnt from an older version to 0.90? Is it a “drop in place” type of thing other than updating the schema reference in the XML scripts? Any advice would be greatly appreciated. Thanks, Jim -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerryreg; mobile platform with sessions, labs more. See new tools and technologies. Register for BlackBerryreg; DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 http://p.sf.net/sfu/rim-devcon-copy1 ___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users https://lists.sourceforge.net/lists/listinfo/nant-users The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please delete the material from any computer. -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerryreg; mobile platform with sessions, labs more. See new tools and technologies. Register for BlackBerryreg; DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] NAnt custom tasks connecting to TFS2010
In our upgrade we also went to TFS 2010. All of our custom tasks use a custom connectioninformation as a custom element in a task. Would anyone be able to point me in the direction of an example that connects to TFS using C Sharp (compiled DLL, not embedded code)? Thanks Jim -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerryreg; mobile platform with sessions, labs more. See new tools and technologies. Register for BlackBerryreg; DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] Getting errors after upgrading to NAnt .90 - Any ideas?
I upgraded to NAnt .90 and modified the NAnt.Exe.Config to support .NET Framework 4. Installed the latest Windows SDK. I don't understand why my script is calling the LoadTasks when they are not even in the script. Anyone know how to fix these errors? I'm running Nant on a simple script to send me a test email, but I'm getting the errors below: ?xml version=1.0 encoding=utf-8? project xmlns=http://nant.sf.net/release/0.90/nant.xsd; name=Main Build default=Test target name=Test mail from=james.d.macdiar...@saic.com tolist=james.d.macdiar...@saic.com; subject=Successful Email Test from Build machine using Nant 0.90 mailhost=my smtp server / /target /project = Errors === C:\Workspaces\AHLTA\3.7.0\Build\nAnt\binnant -buildfile:testmail.xml NAnt 0.90 (Build 0.90.3780.0; release; 5/8/2010) Copyright (C) 2001-2010 Gerry Shaw http://nant.sourceforge.net [loadtasks] Failure scanning C:\Workspaces\AHLTA\3.7.0\Build\nAnt\bin\NAnt.CompressionTasks.dll for extensions. Could not load file or assembly 'file:///C:\Workspa ces\AHLTA\3.7.0\Build\nAnt\bin\NAnt.CompressionTasks.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) [loadtasks] Failure scanning C:\Workspaces\AHLTA\3.7.0\Build\nAnt\bin\NAnt.DotNetTasks.dll for extensions. Could not load file or assembly 'file:///C:\Workspaces\A HLTA\3.7.0\Build\nAnt\bin\NAnt.DotNetTasks.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) [loadtasks] Failure scanning C:\Workspaces\AHLTA\3.7.0\Build\nAnt\bin\NAnt.NUnit1Tasks.dll for extensions. Could not load file or assembly 'file:///C:\Workspaces\A HLTA\3.7.0\Build\nAnt\bin\NAnt.NUnit1Tasks.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) [loadtasks] Failure scanning C:\Workspaces\AHLTA\3.7.0\Build\nAnt\bin\NAnt.NUnit2Tasks.dll for extensions. Could not load file or assembly 'file:///C:\Workspaces\A HLTA\3.7.0\Build\nAnt\bin\NAnt.NUnit2Tasks.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) [loadtasks] Failure scanning C:\Workspaces\AHLTA\3.7.0\Build\nAnt\bin\NAnt.VisualCppTasks.dll for extensions. Could not load file or assembly 'file:///C:\Workspace s\AHLTA\3.7.0\Build\nAnt\bin\NAnt.VisualCppTasks.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) [loadtasks] Failure scanning C:\Workspaces\AHLTA\3.7.0\Build\nAnt\bin\NAnt.VSNetTasks.dll for extensions. Could not load file or assembly 'file:///C:\Workspaces\AH LTA\3.7.0\Build\nAnt\bin\NAnt.VSNetTasks.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) [loadtasks] Failure scanning C:\Workspaces\AHLTA\3.7.0\Build\nAnt\bin\NAnt.Win32Tasks.dll for extensions. Could not load file or assembly 'file:///C:\Workspaces\AH LTA\3.7.0\Build\nAnt\bin\NAnt.Win32Tasks.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) BUILD FAILED Failed to initialize the 'Microsoft .NET Framework 4.0' (net-4.0) target framework. Invalid element readregistry. Unknown task or datatype. -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerryreg; mobile platform with sessions, labs more. See new tools and technologies. Register for BlackBerryreg; DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Getting errors after upgrading to NAnt .90 - Any ideas?
Dominik, Thanks for the suggestions. Right now we are using Nant on a Windows XP VMWare VM. I don't believe XP has an Unblock feature. Is there a way to disable the LoadTasks and only have it load when issuing the LoadTask calls in the script? Thanks Jim -Original Message- From: nant-users-boun...@lists.sourceforge.net [mailto:nant-users-boun...@lists.sourceforge.net] On Behalf Of Dominik Guder Sent: Friday, September 16, 2011 3:40 AM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Getting errors after upgrading to NAnt .90 - Any ideas? Hi James, calling LoadTasks is by design. For short: Nant.exe crawls all *Tasks.dll files in its folder and search for Tasks. One question: Did you unblock the downloaded zip file? From nant's issue tracker: I had this exact same problem. It comes from the assembly not being trusted. Windows 7 will put a flag on downloaded files that the .Net runtime uses to lower access. The fix for this is to open the properties dialog of the .zip file and next to the Security label, click Unblock. Then, when you extract the files, they wont be restricted. Hopefully this helps. You also can try to run nant in debug mode: nant -debug+ -buildfile:testmail.xml If this doesn't help you might check the assembly loading with fuslogvw.exe and try to find the reason why your assemblies are not loaded. So far Dominik Am 14.09.2011 20:06, schrieb Macdiarmid, James D.: I upgraded to NAnt .90 and modified the NAnt.Exe.Config to support .NET Framework 4. Installed the latest Windows SDK. I don ' t understand why my script is calling the LoadTasks when they are not even in the script. Anyone know how to fix these errors? I ' m running Nant on a simple script to send me a test email , but I ' m getting the errors below: ?xml version=1.0 encoding=utf-8? project xmlns=http://nant.sf.net/release/0.90/nant.xsd; name=Main Build default=Test target name=Test mail from=james.d.macdiar...@saic.com tolist=james.d.macdiar...@saic.com; subject=Successful Email Test from Build machine using Nant 0.90 mailhost= my smtp server / /target /project = Errors === C:\Workspaces\AHLTA\3.7.0\Build\nAnt\binnant -buildfile:testmail.xml NAnt 0.90 (Build 0.90.3780.0; release; 5/8/2010) Copyright (C) 2001-2010 Gerry Shaw http://nant.sourceforge.net [loadtasks] Failure scanning C:\Workspaces\AHLTA\3.7.0\Build\nAnt\bin\NAnt.CompressionTasks.dll for extensions. Could not load file or assembly 'file:///C:\Workspa ces\AHLTA\3.7.0\Build\nAnt\bin\NAnt.CompressionTasks.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) [loadtasks] Failure scanning C:\Workspaces\AHLTA\3.7.0\Build\nAnt\bin\NAnt.DotNetTasks.dll for extensions. Could not load file or assembly 'file:///C:\Workspaces\A HLTA\3.7.0\Build\nAnt\bin\NAnt.DotNetTasks.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) [loadtasks] Failure scanning C:\Workspaces\AHLTA\3.7.0\Build\nAnt\bin\NAnt.NUnit1Tasks.dll for extensions. Could not load file or assembly 'file:///C:\Workspaces\A HLTA\3.7.0\Build\nAnt\bin\NAnt.NUnit1Tasks.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) [loadtasks] Failure scanning C:\Workspaces\AHLTA\3.7.0\Build\nAnt\bin\NAnt.NUnit2Tasks.dll for extensions. Could not load file or assembly 'file:///C:\Workspaces\A HLTA\3.7.0\Build\nAnt\bin\NAnt.NUnit2Tasks.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) [loadtasks] Failure scanning C:\Workspaces\AHLTA\3.7.0\Build\nAnt\bin\NAnt.VisualCppTasks.dll for extensions. Could not load file or assembly 'file:///C:\Workspace s\AHLTA\3.7.0\Build\nAnt\bin\NAnt.VisualCppTasks.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) [loadtasks] Failure scanning C:\Workspaces\AHLTA\3.7.0\Build\nAnt\bin\NAnt.VSNetTasks.dll for extensions. Could not load file or assembly 'file:///C:\Workspaces\AH LTA\3.7.0\Build\nAnt\bin\NAnt.VSNetTasks.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) [loadtasks] Failure scanning C:\Workspaces\AHLTA\3.7.0\Build\nAnt\bin\NAnt.Win32Tasks.dll for extensions. Could not load file or assembly 'file:///C:\Workspaces\AH LTA\3.7.0\Build\nAnt\bin\NAnt.Win32Tasks.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) BUILD FAILED Failed to initialize the 'Microsoft .NET Framework 4.0' (net-4.0) target framework. Invalid element readregistry. Unknown task or datatype. -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerryreg; mobile
Re: [NAnt-users] Getting errors after upgrading to NAnt .90 - Any ideas?
Wow! Learn something new every day. I don't know how I missed that one. Thank you for pointing that out. Jim From: Bevan Arps [mailto:bevan.a...@clear.net.nz] Sent: Saturday, September 17, 2011 5:14 PM To: Macdiarmid, James D. Cc: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Getting errors after upgrading to NAnt .90 - Any ideas? 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. -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] UpdateAssemblyVersion Task error
Anyone ever see this error with the UpdateAssemblyVersion Task? Invalid element UpdateAssemblyVersion. Unknown task or datatype. Here is how I have it in the script. UpdateAssemblyVersion File=${ProjectInfoCS} VersionAttribute=AssemblyInformationalVersion Version=${FileVersion} if=${file::exists(ProjectInfoCS)}/ UpdateAssemblyVersion File=${ProjectInfoVB} VersionAttribute=AssemblyInformationalVersion Version=${FileVersion} if=${file::exists(ProjectInfoVB)}/ UpdateAssemblyVersion File=${ProjectInfoCS} VersionAttribute=AssemblyFileVersion Version=${FileVersion} if=${file::exists(ProjectInfoCS)}/ UpdateAssemblyVersion File=${ProjectInfoVB} VersionAttribute=AssemblyFileVersion Version=${FileVersion} if=${file::exists(ProjectInfoVB)}/ -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] UpdateAssemblyVersion Task error
asminfo doesn't appear to be in the alpha of .91 however. :) We upgraded to VS2010/TFS2010 and recompiled all of our source code to the .NET 4.0 Framework. We couldn't get NAnt .85 to build our code so we upgraded to Nant .91. Now we are finding that we can't use Nant Contrib either since it was built against the .85 version. Not sure what to do at this point. Jim -Original Message- From: nant-users-boun...@lists.sourceforge.net [mailto:nant-users-boun...@lists.sourceforge.net] On Behalf Of Dominik Guder Sent: Tuesday, September 20, 2011 6:36 AM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] UpdateAssemblyVersion Task error Am 20.09.2011 00:03, schrieb Macdiarmid, James D.: Anyone ever see this error with the UpdateAssemblyVersion Task? Invalid element UpdateAssemblyVersion. Unknown task or datatype. Here is how I have it in the script. Hi, I don't know UpdateAssemblyVersion task. The one in nant is called asminfo But if you refering to ci-factories UpdateAssemblyVersion task then you either need to copy CIFactory.NAnt.Tasks.dll into your nant\bin folder or use loadtasks to load the dll from your build script. You eventually might need to recompile it against your latest nant. But you can try to load/copy it first. hth Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] UpdateAssemblyVersion Task error
I've also posted this in Nant-Developers mailing list. Not sure if this is a bug or something I'm doing incorrectly. I seem to be running into an issue with the unzip task. TestBuild2.xml script contents: ?xml version=1.0 encoding=utf-8? project xmlns=http://nant.sf.net/release/0.91/nant.xsd; name=Build AHLTA default=Main target name=Main unzip zipfile=..\..\..\Third Party\CAC\CAC.zip todir=..\..\..\Third Party\CAC/ /target /project * Output: * Copyright (C) 2001-2011 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/Workspaces/AHLTA/3.7.0/BuildMgmt/BuildBox/Scripts/testbuild2.xml Target framework: Microsoft .NET Framework 4.0 Target(s) specified: Main Main: BUILD FAILED INTERNAL ERROR System.IO.FileLoadException: Could not load file or assembly 'ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' or one f its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File name: 'ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' at NAnt.Compression.Tasks.UnZipTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run() Assembly manager loaded from: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\clr.dll Running under executable C:\Workspaces\AHLTA\3.7.0\Build\nAnt\bin\NAnt.exe --- A detailed error log follows. === Pre-bind state information === LOG: User = AHBUILDINT4\Administrator LOG: DisplayName = ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, PublicKeyToken=1b03e6acf1164f73 (Fully-specified) LOG: Appbase = file:///C:/Workspaces/AHLTA/3.7.0/Build/nAnt/bin/ LOG: Initial PrivatePath = lib;lib\common\2.0;lib\common\neutral Calling assembly : NAnt.CompressionTasks, Version=0.91.4277.0, Culture=neutral, PublicKeyToken=null. === LOG: This bind starts in default load context. LOG: Using application configuration file: C:\Workspaces\AHLTA\3.7.0\Build\nAnt\bin\NAnt.exe.config LOG: Using host configuration file: LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\config\machine.config. LOG: Post-policy reference: ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, PublicKeyToken=1b03e6acf1164f73 LOG: Attempting download of new URL file:///C:/Workspaces/AHLTA/3.7.0/Build/nAnt/bin/ICSharpCode.SharpZipLib.DLL. WRN: Comparing the assembly name resulted in the mismatch: PUBLIC KEY TOKEN ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated. -Original Message- From: Ryan Boggs [mailto:rmbo...@gmail.com] Sent: Tuesday, September 20, 2011 8:04 PM To: Dominik Guder Cc: Macdiarmid, James D.; nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] UpdateAssemblyVersion Task error Hi, On Tue, Sep 20, 2011 at 1:56 PM, Dominik Guder o...@guder.org wrote: Hi Jim: asminfo should be there, it is part of NAnt.DotNetTasks.dll which should be in your bin folder. Help: http://nant.sourceforge.net/release/latest/help/tasks/asminfo.html Besides this loadtasks should load also latest Nant.Contrib.Tasks.dll What errors do you get? Please try following: loadtasks assembly=c:foo\NAnt.Contrib.Tasks.dll verbose=true / Do you get any errors? So far Dominik PS: We are on the way to a new release. Very soon, for both NAnt and NAntContrib. Am 20.09.2011 13:45, schrieb Macdiarmid, James D.: asminfo doesn't appear to be in the alpha of .91 however. :) We upgraded to VS2010/TFS2010 and recompiled all of our source code to the .NET 4.0 Framework. We couldn't get NAnt .85 to build our code so we upgraded to Nant .91. Now we are finding that we can't use Nant Contrib either since it was built against the .85 version. Not sure what to do at this point. -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application
[NAnt-users] Need help with a NAnt internal error
Hi all, I have a C# Win Forms application that we use to kick off our build process. This application launches a form which has several text fields which we use to pass file path information to properties in our script, and a run button. The run button starts a windows console process to call the Nant executable and pass the form data on the command-line. Whenever I kick off the build process this way I am getting a Nant Internal error in the console window however I can't read all of it. As soon as the script is done the console window closes. Is there any way I can keep this process open or log the errors? I know nant has a command-line parameter for sending information to a log file which I am passing already on the command-line however the internal error is happening before it can log anything. Please help - this is making me crazy and I think I'm on my last hair follicle. Lol Thanks, Jim -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Need help with a NAnt internal error
I was able to capture the error by setting the processinfo properties: UseShellExecute = false RedirectStandardOutput = true. Then after the proc.waitforexit() statement I can call proc.StandardOutput.ReadToEnd() and capture the return value into a string variable then write the contents to a file. Jim From: nant-users-boun...@lists.sourceforge.net [mailto:nant-users-boun...@lists.sourceforge.net] On Behalf Of Chris Fouts Sent: Thursday, November 03, 2011 4:19 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Need help with a NAnt internal error Can you mimic how your GUIs (run button) call the Nant processes, and start off Nant from a command line window the way they do? Or if you have the code that starts the console window, put a cin ; statement, which will freeze the window until you hit CR in it. -chris From: Macdiarmid, James D. [mailto:james.d.macdiar...@saic.com] Sent: Thursday, November 03, 2011 12:37 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Need help with a NAnt internal error Hi all, I have a C# Win Forms application that we use to kick off our build process. This application launches a form which has several text fields which we use to pass file path information to properties in our script, and a run button. The run button starts a windows console process to call the Nant executable and pass the form data on the command-line. Whenever I kick off the build process this way I am getting a Nant Internal error in the console window however I can't read all of it. As soon as the script is done the console window closes. Is there any way I can keep this process open or log the errors? I know nant has a command-line parameter for sending information to a log file which I am passing already on the command-line however the internal error is happening before it can log anything. Please help - this is making me crazy and I think I'm on my last hair follicle. Lol Thanks, Jim ***This e-mail message is intended only for the above named recipient(s) and may contain information that is sensitive or proprietary. If you have received this message in error or are not the named recipient(s), please immediately notify the sender, delete this e-mail message without making a copy and do not disclose or relay this e-mail message to anyone.*** -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] NAnt Intellisense in VS2010
Hi all, I have NAnt set up to use intellisense in VS2010. It works as expected however I'm getting a Blue Tilde (Something like this ~ ) appearing after the closing task bracket. It shows a warning as follows: 1. The element cannot contain white space. Content model is empty. I'm getting this: 1. After the closing bracket for the try element in the TryCatch task. 2. After the closing bracket for the finally element in the TryCatch task. 3. After the closing bracket of the comment syntax !-comment -- . 4. After the closing bracket for the when element in the choose task. 5. After the closing bracket for the otherwise element in the choose task. 6. I'm also getting warnings like the following. Any idea what would cause this and/or how to fix them, if it's on my end? The element 'http://nant.sf.net/release/0.92/nant.xsd:try' cannot contain child element 'http://nant.sf.net/release/0.92/nant.xsd:call' because the parent element's content model is empty. The element 'http://nant.sf.net/release/0.92/nant.xsd:when' cannot contain child element 'http://nant.sf.net/release/0.92/nant.xsd:property' because the parent element's content model is empty. The element 'http://nant.sf.net/release/0.92/nant.xsd:otherwise' cannot contain child element 'http://nant.sf.net/release/0.92/nant.xsd:fail' because the parent element's content model is empty. The element 'target' in namespace 'http://nant.sf.net/release/0.92/nant.xsd' has invalid child element 'UpdateAssemblyVersion' in namespace 'http://nant.sf.net/release/0.92/nant.xsd'. List of possible elements expected: 'gunzip, tar, untar, unzip, zip, testtask, elementTest1, test, asminfo, al, csc, delay-sign, ilasm, jsc, license, ndoc, regsvcs, resgen, script, vbc, vjc, nunit, nunit2, cvs-changelog, cvs-checkout, cvs-pass, cvs, cvs-export, cvs-rtag, cvs-tag, cvs-update, cl, lib, link, mc, midl, rc, solution, aximp, locatesdk, monoregistry, readregistry, regasm, tlbexp, tlbimp, attrib, available, call, choose, copy, delete, description, echo, exec, fail, get, if, ifnot, include, loadfile, loadtasks, foreach, mail, mkdir, move, nantschema, nant, property, regex, setenv, sleep, style, sysinfo, touch, trycatch, tstamp, uptodate, xmlpeek, xmlpoke, ildasm, servicecontroller, tarfileset, zipfileset, assemblyfileset, moduleset, namespaceimports, resourcefileset, warnaserror, categories, cvsfileset, filterchain, credential, fileset, dirset, path, patternset, proxy' in namespace 'http://nant.sf.net/release/0.92/nant.xsd' as well as any element in namespace '##other'. The element 'filterchain' in namespace 'http://nant.sf.net/release/0.92/nant.xsd' has invalid child element 'replacetokens' in namespace 'http://nant.sf.net/release/0.92/nant.xsd'. List of possible elements expected: 'filter' in namespace 'http://nant.sf.net/release/0.92/nant.xsd'. C:\Workspaces\AHLTA\3.8.0\Build\Packages\TFS\SourceControl.Target.xml -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] Difference between debug and verbose command-line switches?
Can anyone explain the difference between debug and verbose nant switches please? Thanks in advance, Jim -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Difference between debug and verbose command-line switches?
Thank you Martin. From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: Tuesday, July 16, 2013 9:09 PM To: MacDiarmid, James D. Subject: RE: [NAnt-users] Difference between debug and verbose command-line switches? Jim debug = script traverses each component and spills the stack and heap for each referenced component (White Box Testing) verbose = Script side verbosity ..does not reach into the components to see whats going on inside (Black Box Testing) HTH Martin __ illegal Alien interceptors..Altering this email will reward you with a permanent vacation (back to the Middle East!) Date: Tue, 16 Jul 2013 13:38:26 -0400 From: james.d.macdiar...@saic.com To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Difference between debug and verbose command-line switches? Can anyone explain the difference between debug and verbose nant switches please? Thanks in advance, Jim -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clk trk ___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] FileSystemWatcher Custom NAnt Task
There may be something already out there but I am working on one of my own to monitor a build folder. I'd like to pass in the Notify Type and was wondering what would be the best way. I was considering passing it in as a piped string of keywords. Is there a more elegant way of doing it? Thanks, Jim -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users