[nant-dev] [FYI] sysinfo task changed
Hi Folks, with Win7-64bit sysinfo task got a problem with env variables named ProgramFiles(x86). This is wihtin nant an illegal variable name and thus caused sysinfo to fail. The only way was to set 'failonerror=false' for sysinfo task to get at least the other variables. After some discussions https://github.com/nant/nant/pull/83 we changed the sysinfo task and now ProgramFiles(x86) will become sys.env.ProgramFiles.x86 For all other env variables which might contain illegal chars (from nant's point of view) the chars are replaced by an underscore. (see below taken from sysinfo docu) sysinfo docu When the name of an environment variable contains characters that are not allowed in a property name, the task will use a property name where each of such characters is replaced with an underscore (_). Moreover when the name of an environment variable ends with the string (x86) the name of the property that is defined by this task will end with .x86 instead. For example the environment variable ProgramFiles(x86) will become sys.env.ProgramFiles.x86 but an environment variable named Program(x86)Files would become sys.env.Program_x86_Files. - end sysinfo docu So far Dominik -- Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Adding an update parameter to the zip task
Hi, my understanding is that the use of Dotnetzip should be possible as long as we provide it in binary form. This should be ok with Gpl2, but our license also includes any later GPL which means that we also need to take Gpl3 into account. And therefore I don't have any glue if MS-PL fits or not. But if I remember correctly we had some discussions regarding source of nunit and ndoc and why we don't provide it in out repository. @Ryan Do you remember? Maybe we should ask Cheeso for clarification http://www.codeplex.com/site/users/view/Cheeso just my 2 ct. Dominik Am 14.12.2012 13:28, schrieb Leszek Ciesielski: Oh my, I've missed that can of worms when I can suggesting DotNetZip. Reading https://www.gnu.org/licenses/license-list.html#ms-pl , https://en.wikipedia.org/wiki/MS-PL#Microsoft_Public_License_.28Ms-PL.29 , https://dotnetzip.codeplex.com/wikipage?title=Getting-Started and a couple of discussions on licenses.open-source.general , my understanding is that NAnt can redistribute DotNetZip on two conditions: - DotNetZip is distributed as an unchanged binary - it's marked as covered by MS-PL, not GPLv2 If my understanding is wrong, then NAnt is already in a legal problem, since the distribution contains binary versions of NDoc and NUnit ( http://nant.sourceforge.net/license.html ) which are not provided under the GPLv2 license (they use a GPLv2 compatible license, but the interpretation of GPL that would prevent NAnt from using DotNetZip requires all components to be re-licensed as GPLv2(3), which is in conflict with the current situation). On Thu, Dec 13, 2012 at 11:48 PM, Ryan Boggs rmbo...@gmail.com wrote: Hi, Before anything is done with dotnetzip, can someone with better license knowledge than me chime in regarding compatibility between gplv2 and ms-pl? I don't mind upgrading libs when applicable but I don't want to get into issues regarding lib licenses. Hope that makes sense. Thanks, Ryan On Dec 13, 2012, at 3:04 PM, Leszek Ciesielski skol...@gmail.com wrote: Jerome, I don't suppose you could also re-write the code to use DotNetZip instead of SharpZipLib? :-) The reason I'm mentioning this is because 1) DotNetZip is maintained, and SharpZipLib no longer seems to be 2) DotNetZip supports multithreaded zip compression, which is a huge gain for practically any machine now Binary reference .dll size is 200k (Reduced, i.e. no self-extracting archive creation support), so the same as SharpZipLib that NAnt currently ships with. On Thu, Dec 13, 2012 at 3:06 PM, Ryan Boggs rmbo...@gmail.com wrote: Sorry, forgot to CC list. Thanks, Ryan -- Forwarded message -- From: Ryan Boggs rmbo...@gmail.com Date: Thu, Dec 13, 2012 at 7:04 AM Subject: Re: [nant-dev] Adding an update parameter to the zip task To: jerome.duc...@solog.net Hi Jerome, If you don't mind, could you please open up a pull request via github with this change? It's easier for us (me at least) to review contributions this way. NAnt/NAntContrib Dev Guide: https://github.com/nant/nant/wiki/Development-Guide Github Pull Request Guide: https://help.github.com/articles/using-pull-requests Thanks, Ryan On Thu, Dec 13, 2012 at 5:32 AM, jerome.duc...@solog.net wrote: Attached is a first draft of a https://github.com/nant/nant/tree/master/src/NAnt.Compression/Tasks/ZipTask.cs version allowing to append files to an existing zip archive (see http://ant.apache.org/manual/Tasks/zip.html). Is it worth writing a unit test for it? What do you think? /J -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Force use of original .Net 4.0 when .Net 4.5 is installed
Hi, the develelopers are taking a look. From my point of view I want to check the proper usage of Referenced Assemblies folder. Maybe someone can point me to some detail information in MSDN or some where else. So far Dominik Am 27.10.2012 19:57, schrieb Oskar Berggren: Hi, .Net 4.5 is an inplace upgrade for .Net 4.0. If you want to ensure that your software runs on a machine with only the original .Net 4.0 installed, you need to take care when building, so that you don't cause dependencies on .Net 4.5 versions of the assemblies. This thread discuss the issue and there is a proposed solution that involves editing nant.exe.config to avoid referencing updated assemblies found under C:\Windows\...: http://stackoverflow.com/questions/11991383/nant-build-using-net-4-5-beta-assembly-references-despite-specifying-net-4-0 What are the nant developers' take on this? Is the solution on stack overflow the way to go? If so, should this be regarded as a bug in nant? It doesn't seem proper to edit nant.exe.config in a runtime installation. /Oskar -- WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Next NAnt/NAntContrib TODO Tasks
Hi, I have another request which is high priority for me: Review of nant's unit testing concept. Currently I would like to use test first for implementing and fixing. But as far as I can see it is not possible to run nant's test from within IDE. I have a basic unterdstanding why this is done this way (started nearly 10 Years ago), but now these tests looks more like integration tests than unit tests in TDD thinking. Maybe we can add another test project where we can run tests within IDE and on build server too. So far Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World#153; now supports Android#153; Apps for the BlackBerryreg; PlayBook#153;. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Next NAnt/NAntContrib TODO Tasks
Am 26.10.2011 23:54, schrieb Ryan Boggs: Hey Dominik, On Wed, Oct 26, 2011 at 2:35 PM, Dominik Gudero...@guder.org wrote: Hi Ryan, +1 for github. How many responses should we collect before we make an official decision on this? :) Just count :) I don't expect many votes for others like bitbucket. Other proposals: - Color output. Red for errors, yellow for warning and green for sucessfull build. I added this to my own net_2.0 build and I'm addicted to this easily identifying Green successfull build message. Hehehe, That's a good idea. I actually like that. This would be good for Windows but we should take care in *nix systems as some terminal emulators do not support color. A short look at mono's BCL implementation showed that Console.ForeGround is basically is implemented. But this must be checked for sure. Maybe we can check this with Log4Net team since they are providing the ColoredConsoleAppender. (not for Mono currently) - fix/polish commandline handling: - remove anoying : as separator, this prevents you from using tab completion in cmd window (even WiX did this with 3.5 release) - add double dash as parameter prefix (as used at gnu tools) at least for --help and --version One thing I would like to investigate is implementing something like Mono.Options instead of the home grown command args parser. I've used it in personal projects and it was pretty cool. That may address your concern here. This would be fine. But we also check how we can provide backwards compatibility. So far Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Next NAnt/NAntContrib TODO Tasks
Hi Ryan, +1 for github. And we should define/discus a contribution process to ensure that nant core will stay as stable as it is currently. Other proposals: - Color output. Red for errors, yellow for warning and green for sucessfull build. I added this to my own net_2.0 build and I'm addicted to this easily identifying Green successfull build message. - solution task/msbuild polishing since there still issues with our projects. SourceControl: - move CVS to nantcontrib - integrate git - polish svn - add tfs (see ci-factory) http://ci-factory.googlecode.com/svn/Current/Product/Production/Nant/TF.Tasks/ lower priority: - review nant.exe.config: maybe separate net-x and mono-x definitions or one for each target. It is very large and hardly to maintain. - fix/polish commandline handling: - remove anoying : as separator, this prevents you from using tab completion in cmd window (even WiX did this with 3.5 release) - add double dash as parameter prefix (as used at gnu tools) at least for --help and --version Check other ci-factory tasks to add them to nantcontrib. Hint: I found macrodef at ci-factory: http://ci-factory.googlecode.com/svn/Current/Product/Production/Nant/CIFactory.NAnt.Tasks/Tasks/ It was getting longer and longer. So far Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] Default excludes for hg and git
Hi foks, I need your input: As you might know nant fileset has a bunch of default excludes. I want to name mainly cvs and svn administrative folders **/CVS/** and **/.svn/** as well as cvs ignore file **/.cvsignore. I want to add some more to this list. Especially for Git and Mercurial. These are: **/.git and **/.git/** for git admin folder **/.hg and **/.hg/** for hg admin folder So what to do with git and hg ignore/config files There the two ignore files .gitignore and .hgignore should they are excluded by default too? Or the other ones which are starting with .hg* or .git* like .hgsvnexternals or .hgeol should they be excluded by default too? If there are some other files/folders which should be excluded by default? So far and many thanks in advance. 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-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] SDK docs in nant zipfile
Hi folks, I started to setup a teamcity build task to automatically create nightlies. Everything went ok, but I struggled over ndoc and HtmlHelp generation for NAnt-SDK.chm. Ndoc's MSDN documentor has a readonly property for hhc.exe. It search in %PROGRAMFILES% but this is the wrong location on x64 machines where it will be %PROGRAMFILES(x86)%. Now there are some possible solutions: 1) I found a working way to use reflection to set this internal property on MSDN documentor. 2) Remove the NAnt-SDK.chm from bin (or nightlies) zip. IMHO NAnt-SDK.chm not needed for bin zip. I think a better place could be in src zip. So what do you think? Do someone out there need sdk-doc on a regular basis? Any other ideas? So far Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- 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-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Repository maintenance folder deletion
Hi Leszek, Am 19.08.2011 10:14, schrieb Leszek Ciesielski: I am curating https://github.com/skolima/NAnt git mirror and this is problematic. Git 'cvsimport' command does not handle file deletions (due to the broken way cvs itself records them), so nmake is still present in the (automatically updated) mirror. I will push a commit deleting the file, but I'm not willing to rewrite history to remove it, as this would break any existing clones. Is this an acceptable solution? I see you point. But I'm no sure if removing the file is enough. I think that your mirror is out of sync and I have some doubts that updates are working. Maybe you can try to wipe out the last commit (IMHO rebase might can do this) or do a fresh 'cvsimport'. Im really sorry for this trouble and I'm wiling to assist you to get your mirror up and running again. BTW: We are on the way to github too. But we want to get out next nant version first. So far Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Updates to MSBuild VSNet Tasks
Hi Ryan, these changes are good rom my point of view. I have ony one minor thing what I can't test since I have difficulties to debug nant at the moment. MSBuildProject.cs within DetermineProductVersion line 279 if (_productVerNode != null) { Version _ver = new Version(_productVerNode.InnerText); _productVerNode.InnerText might be empty especially in vb.net projects. Which results in an exception since is not valid vor Version constuctor. You might use following: if (_productVerNode != null !StringUtils.IsNullOrEmpty(_productVerNode.InnerText)) Well done Dominik Am 06.08.2011 21:12, schrieb Ryan Boggs: Hi, I'm thinking that at this point, since I believe I fixed the one or two things from the comments I received some months ago, I will commit these changes by end of day Monday unless I hear any objections before then. From there, I will perform some nightlys with these changes for public testing. Sound good? Thanks, Ryan -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos much more. Register early save! http://p.sf.net/sfu/rim-blackberry-1 ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Back to atlassian code review?
Am 02.06.2011 18:28, schrieb Ryan Boggs: Hi, Has anyone taken a look at the msbuild/vsnet changes that was posted here last week? Please advise. Thanks, Ryan Hi, I'm trying to compile this but I have still some issues getting it done in net 2.0++ So far Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Back to atlassian code review?
Hi Ryan, yes of course go ahead. I might try to put my CreateInstance proposal to fisheye too. So far Dominik Am 25.05.2011 02:52, schrieb Ryan Boggs: Hi, Any thoughts on this? I have a handful of diffs from Martin Aliger that I would like you guys to review soon. Thanks, Ryan On Sun, May 22, 2011 at 1:38 PM, Ryan Boggsrmbo...@gmail.com wrote: Hi, Since we are a group of more than 2, should we consider going back to using the atlassian code review that Charles setup awhile ago? I know Gert had issues with it in the past but I do still see value to having something like this. Thoughts? https://fisheye1.atlassian.com/ -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] reference assemblies and net-4.0
Am 18.05.2011 22:27, schrieb Martin Aliger: I do not see problem _targeting_ net-4.0-client Framework. No real need to be hosted in that, imho. Martin Hi, +1. IMHO we could require full .net 4.0 install for runtime since we need SDK anyways. Besides of this it is easy to build your own log4net and remove web related Appenders. I did this as a proof of concept. And I'm wondering why nobody is going to fix this. So far Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Updates
Am 04.05.2011 07:19, schrieb Ryan Boggs: Hi, Just checking in real quick. I just merged the branch I was working on into HEAD this evening. If everything goes well, I should start kicking out more nightly releases by this weekend, if not before. From there, I'll need to decide the future release schedule. Once it is decided, it will be posted here. Anyone have any thoughts or want to pitch in? :) Thanks, Ryan So basically I'm willing to help. I have some ideas and some special needs. I also have a patch for nantcontrib vb6 task ready. Maybe I find some the next day to look at latest roadmap. So far Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Issues with Visual Studio 2005 Solution not working with Nant 0.91 alpha 2 release in solution task
Am 17.01.2011 15:28, schrieb Kalantri, Jeebitesh: Hi, As I was testing the latest alpha release for visual studio 2005 projects/solution files. It is not able to recognize the Solution files for VS2005 and fails the project. I am putting the log files related the problem please have a look at it. I have all the required directory structure in NANT_HOME Directory *18:41:01*NAnt 0.91 (Build 0.91.3948.0; nightly; 10/23/2010) *18:41:01*Buildfile: file:///C:/hudson/jobs/PayAtWork.Net/workspace/Pay@Work4_17/eProducts.build *18:41:01*Target framework: Microsoft .NET Framework 4.0 *18:41:01*Target(s) specified: compile-all *18:41:01* [property] Target framework changed toMicrosoft .NET Framework 2.0. *18:41:01*compile-all: *18:41:01* [solution] Starting solution build. *18:41:01*BUILD FAILED *18:41:01*Solution format of file 'C:\hudson\jobs\PayAtWork.Net\workspace\Pay@Work4_17\All.sln' is not supported. Hi, unfortunately using solution file is not supported for VS2005 and above. You need to specify your projects one by one: solution configuration=release projects include name=A\A.csproj / include name=B\b.vbproj / include name=C\c.csproj / /projects /solution This should work without any major hassle for VS2005. hth Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- 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-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Nant .Net 4.0 and VS2010
Am 09.09.2010 11:17, schrieb Gert Kello: Sorry if this is double post, but my first one sent 4 hours ago is still not in archives. The first post was sent only to me I found the files and check it out. Thanks so far Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] Nant .Net 4.0 and VS2010
Hi, is anybody out there who figured out how to build VS2010 projects with nant? Or started to get it working? Currently we are using solution task with each project defined (not using sln file) which is working very well for VS2005 projects. Now we decided to move to VS2010 and I need to find a suitable way to build it with nant. Any hints besides of using exec task to fire up the projects files with msbuild.exe? Thanks Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] sysinfo task
Hi, IMHO there is still the minor changes pending in cvs: 1) fix docu issue 2) display properties sorted in verbose mode maybe some comitter could take a look. Thanks Dominik Original-Nachricht Betreff: Re: [nant-dev] sysinfo task Datum: Thu, 25 Mar 2010 11:34:20 +0100 Von: Dominik Guder o...@guder.org An: nant-developers@lists.sourceforge.net On 64bit systems there are some environment variables which contains parentheses like *ProgramFiles(x86)* or *CommonProgramFiles(x86)*. This are invalid property names which cause the sysinfo tasks to fail. b) replace any parentheses in env.name with underscores and put this into docu. So I would like to go with b) since the properties could be used. In addition docu states that function *environment::get-variable()* should be used to retrieve env variables. So I think this won't affect a lot of users. Ok, I did some checks and will add some patches for discussion. (text in [[[ ]]] might be used for commit message as seen at svn mailing list) [[[ fix incorrect definition of failonerror in sysinfo docu. ]]] sysinfo-task-docu-error.patch sysinfo-replace-propname.patch: this is a first implementation to replace sys.env.ProgramFiles(x86) with sys.env.ProgramFiles_x86_ There is still the docu change missing. But I will provide this when we are going this way. Result: --- snip --- [sysinfo] sys.env.ProgramFiles = C:\Programme [sysinfo] sys.env.ProgramFiles_x86_ = C:\Programme --- snap --- [[[ sort sysinfo properties when using verbose=true ]]] sysinfo-verbose-sorted.patch: This patch will output properties on sorted order in verbose. I found that I need to search more than I like to find my replaced property without this sorting So far Dominik Index: SysInfo.cs === RCS file: /cvsroot/nant/nant/src/NAnt.Core/Tasks/SysInfo.cs,v retrieving revision 1.18 diff -u -r1.18 SysInfo.cs --- SysInfo.cs 24 May 2005 18:20:22 - 1.18 +++ SysInfo.cs 25 Mar 2010 09:56:00 - @@ -89,7 +89,7 @@ /// para /// When the name of an environment variable is not a valid property name, /// the task will fail. In that case, set see cref=Task.FailOnError / to -/// see langword=true / to allow that environment variable to be +/// see langword=false / to allow that environment variable to be /// skipped. /// /para /// note Index: SysInfo.cs === RCS file: /cvsroot/nant/nant/src/NAnt.Core/Tasks/SysInfo.cs,v retrieving revision 1.18 diff -u -r1.18 SysInfo.cs --- SysInfo.cs 24 May 2005 18:20:22 - 1.18 +++ SysInfo.cs 25 Mar 2010 09:58:07 - @@ -189,8 +189,10 @@ IDictionary variables = Environment.GetEnvironmentVariables(); foreach (string name in variables.Keys) { try { -Properties[Prefix + env. + name] = (string) variables[name]; -} catch (Exception ex) { +string envName = name.Replace('(', '_').Replace(')', '_'); +Properties[Prefix + env. + envName] = (string)variables[name]; +} +catch (Exception ex) { if (!FailOnError) { Log(Level.Warning, Property could not be created for + environment variable '{0}' : {1}, name, -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] SDK chm file in zip package
Am 06.08.2010 14:58, schrieb David Sheeks: Dominik, I haven't written any custom nant tasks recently but have written quite a few in the past and having some documentation on the SDK is certainly helpful. I'm not too picky about .chm vs .html, although .chm is somewhat easier to search through. What error are you getting during the build? I've certainly seen issues in the past with bad content in summary comments in various projects. I don't get an error during build if html help workshop is installed with its installer. But I'm not the admin of teamcity.codebetter.com. So I tried to copy just the HHW files to a local dir aside of nant, but then hhc.exe is not working fully since one dll must be registered by regsvr32. I tried to create a manifest, but this did not work for me. Maybe I used the wrong tools So building the chm is not an issue, but requires install of HHW. And before asking admin of codebetter.com I wanted to check if chm is really needed. I have some other ideas, which I'm willing to discuss, but I think I want to wait some other time to get some more response. So far Dominik PS: If there is someone out there who figuered out to use HHW without install should drop me a note. -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] SDK chm file
Hi, I'm trying to build the nightlies on teamcity.codebetter.com The breaking point right is now the SDK CHM file. First of all I'm wondering if anybody out there is reading this chm file. Basically I want to suggest that we either put the html part of sdk into zip files or drop the SDK doc completely. So far Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] SDK chm file in zip package
Hi, sorry for resending, but users didn't work I'm trying to build the nightlies on teamcity.codebetter.com The breaking point right is now the SDK CHM file. First of all I'm wondering if anybody out there is reading/needing this chm file. Could you please just drop an answer whether you need the sdk-chm or not. Basically I want to suggest that we either drop the SDK.chm and put the html part of sdk into zip files or drop the SDK doc completely. So far Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Bug tracker tag for 0.9
The bug which I was unable to enter is that when I use Nant-Contrib's MSBuild task, all output from the task is concatenated onto a single line with no carriage returns. Hi Richard, are you sure you are using Nant-Contrib's msbuild task? msbuild is part of nant itself. so far Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Bug tracker tag for 0.9
Am 03.04.2010 15:30, schrieb Richard Birkby: An MSBuild task isn't listed on: http://nant.sourceforge.net/release/latest/help/tasks/ Is this new in 0.9a1? Richard I'm sorry, since I always compile nant and nantcontrib together I thought it was part of nant since 86 beta. Since then the solution task was able to build vs2005 projects. But it look like I'm wrong. Sorry for confusion Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] sysinfo task
On 64bit systems there are some environment variables which contains parentheses like *ProgramFiles(x86)* or *CommonProgramFiles(x86)*. This are invalid property names which cause the sysinfo tasks to fail. b) replace any parentheses in env.name with underscores and put this into docu. So I would like to go with b) since the properties could be used. In addition docu states that function *environment::get-variable()* should be used to retrieve env variables. So I think this won't affect a lot of users. Ok, I did some checks and will add some patches for discussion. (text in [[[ ]]] might be used for commit message as seen at svn mailing list) [[[ fix incorrect definition of failonerror in sysinfo docu. ]]] sysinfo-task-docu-error.patch sysinfo-replace-propname.patch: this is a first implementation to replace sys.env.ProgramFiles(x86) with sys.env.ProgramFiles_x86_ There is still the docu change missing. But I will provide this when we are going this way. Result: --- snip --- [sysinfo] sys.env.ProgramFiles = C:\Programme [sysinfo] sys.env.ProgramFiles_x86_ = C:\Programme --- snap --- [[[ sort sysinfo properties when using verbose=true ]]] sysinfo-verbose-sorted.patch: This patch will output properties on sorted order in verbose. I found that I need to search more than I like to find my replaced property without this sorting So far Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) Index: SysInfo.cs === RCS file: /cvsroot/nant/nant/src/NAnt.Core/Tasks/SysInfo.cs,v retrieving revision 1.18 diff -u -r1.18 SysInfo.cs --- SysInfo.cs 24 May 2005 18:20:22 - 1.18 +++ SysInfo.cs 25 Mar 2010 09:56:00 - @@ -89,7 +89,7 @@ /// para /// When the name of an environment variable is not a valid property name, /// the task will fail. In that case, set see cref=Task.FailOnError / to -/// see langword=true / to allow that environment variable to be +/// see langword=false / to allow that environment variable to be /// skipped. /// /para /// note Index: SysInfo.cs === RCS file: /cvsroot/nant/nant/src/NAnt.Core/Tasks/SysInfo.cs,v retrieving revision 1.18 diff -u -r1.18 SysInfo.cs --- SysInfo.cs 24 May 2005 18:20:22 - 1.18 +++ SysInfo.cs 25 Mar 2010 09:58:07 - @@ -189,8 +189,10 @@ IDictionary variables = Environment.GetEnvironmentVariables(); foreach (string name in variables.Keys) { try { -Properties[Prefix + env. + name] = (string) variables[name]; -} catch (Exception ex) { +string envName = name.Replace('(', '_').Replace(')', '_'); +Properties[Prefix + env. + envName] = (string)variables[name]; +} +catch (Exception ex) { if (!FailOnError) { Log(Level.Warning, Property could not be created for + environment variable '{0}' : {1}, name, -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] sysinfo task
Hi Folks, while setting up the CI for Nant we discovered an issue with sysinfo task on 64bit systems. On 64bit systems there are some environment variables which contains parentheses like *ProgramFiles(x86)* or *CommonProgramFiles(x86)*. This are invalid property names which cause the sysinfo tasks to fail. What to do now: For a short slution we could a) add *failonerror=false* to all sysinfo test so all test will be green again. (error in docu) b) replace any parentheses in env.name with underscores and put this into docu. With a) any env.property with parentheses will be droped and could not be used. So I would like to go with b) since the properties could be used. In addition docu states that function *environment::get-variable()* should be used to retrieve env variables. So I think this won't affect a lot of users. For a later solution we should check whether the property name validation should be moved to property task itself and not done in propertylist. Since someone could create an invalid property name without using any propertylist like sysinfo task. -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] NAnt delay on Mono/Linux Update (Aka: NDoc Discussion)
Am 10.03.2010 05:45, schrieb Ryan Boggs: Hey guys, I've been poking around the internals of NAnt for the past few days trying to understand why it's been taking between 1600-1700 seconds to build on my Mono/Linux system. Which is why I sent that small patch last week. It wasn't to fix the problem but to allow others who are working on other aspects of NAnt a faster building time for them to test while this gets sorted out. Anyway, during my tests, I noticed that the hang up seems to occur during the Generating Task Documents.. phase of the NDoc task. I believe that this is around line 254 of src/NDoc.Documenter.NAnt/NAntDocumenter.cs. The problem I am having is that I can't seem to get any additional information to print during this process. I've tried using simple Console.WriteLine commands but that doesn't seem to work and the -v+/-debug+ command line arguments don't print out additional information either. Can anyone give me some additional pointers/advice of how I should proceed next? I'm kinda stuck. Basically I think it is not required for upcomming 0.87 release to build doc on Windows and on Linux. I did't look into doc gen in detail but if we keep ndoc html pages this could be used for mono docs too. As a first solution could be to drop building doc on linux. Besides of this to get more information out of documentor you can use OnDocBuildingStep(buildStepProgress, some other info); within NAntDocumenter.cs to display more information. You also might try to use ndoc verbose=true for doc tasks in nant.build file. hth Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Task/planning for 0.87 release
Am 06.03.2010 22:38, schrieb Ryan Boggs: Hey Gert, Question regarding the NAnt.build file, in particular the userdoc target. Could you help me understand why the self-userdoc target is being called via the exec program task rather than calling it internally? I know there must be a reason for this approach but I am having difficulty understanding. Thanks in advance, Ryan Hi Ryan, you should look who is calling Nant.build file. Basically it is bootstrap\nant.exe or any other nant.exe to build the new nant.exe. And self-doc should use the newly generated nant.exe If it was called internally then the bootstrap\nant.exe will be documented not the new one. hth Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] Moving away from CVS
Hi, since we are in an early stage of getting drive on nant again, I want to ask if we could moving away from CVS. My first proposal is to switch to subversion. First of all I'm primarily use svn and in addition I have a local script to convert nant cvs repository into my local svn repository. If someone wants to take a look I might provide a temporarily readonly access to my local svn repository on my own server. There might be some other guys to use another scm like git or mercurial. So let me know what you think. So far Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Preliminary roadmap is now available on Wiki
Am 28.02.2010 00:38, schrieb Charles Chan: I have posted a preliminary roadmap for NAnt up on MediaWiki. You can find it on: http://sourceforge.net/apps/mediawiki/nant/index.php?title=Roadmap This is by no means final -- I prefer look at it as a starting point for further planning and discussion. Does it make sense? What would you like to add/subtract/change? Regards, Charles Hi Charles, if time goes by and nant is moving forward again, maybe there could be some time to integrate external nant extensions back into nant or even nantcontrib. First project I know where a bunch of extensions were developed is CiFactory http://code.google.com/p/ci-factory/ I don't have any idea where to put this into roadmap, but it might be useful to keep an eye on when someone sees a lager nant extension project. So far Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Preliminary roadmap is now available on Wiki
Am 28.02.2010 00:38, schrieb Charles Chan: I have posted a preliminary roadmap for NAnt up on MediaWiki. You can find it on: http://sourceforge.net/apps/mediawiki/nant/index.php?title=Roadmap This is by no means final -- I prefer look at it as a starting point for further planning and discussion. Does it make sense? What would you like to add/subtract/change? Hi Charles, first of all I would like to thank you for driving nant again. I saw that you stopped trying to use codebetter teamcity for CI. I would like to assist you to get nant running on teamcity. I'm responsible for our companies build server (CC.Net) which uses nant a lot and I'm building our own release of nant with some .Net 2.0 extensions. Since codebetter installed mono recently we should be able to build a windows mono nant too. So far Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Building NAnt without userdoc
Am 02.03.2010 07:30, schrieb Ryan Boggs: Hey, I'm building NAnt from source on my Mac and it keeps dragging during the userdoc target and was wondering if there was a way to get around that? It's the longest part of the build and it eats up alot of time when someone is trying to test. Thanks in advance Hi, what is your command line? using bootstrap\NAnt.exe build in main folder will use Nant.build to build the assemblies only without any docs... Unfortunately the official beta version won't work due to missing scan-probing-paths() function. But the latest nightly contains this and can be used instead of nmake and bootstrap\nant.exe . http://nant.sourceforge.net/nightly/latest/nant-bin.zip hth Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Re: Continuing work on msbuild-solution
Hi, As Brass wrote, there usually is not a problem even with execing msbuild.exe. Despite it's not much elegant, there are some caveats. From my point of view execing is not very handy and results in confusing build scripts. Thats why I created msbuild-solution. There is also simple msbuild task, which is not much more that exec above msbuild.exe. I tried msbuild-solution, but I couldn't get it working until I tried it again now. So I'll give either msbuild-solution or msbuild a try in our build environment Currently we are building our VS2003 projects through solution solutionfile=foo.sln . The dependencies are resolved manually due the order in the main build file. exec is only used where necessary, e.g. Installer I hope to get a working solution for our environment. So far Dominik Guder -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers