[nant-dev] FTP task
Hey, Is anyone working on the FTP task? If so, give me a shout. If not, I'm going to put together some code. I'm planning on something like the copy or delete task, where it copies a fileset to a remote server. Some sort of sync might also be an option, I'll have to give it some thought. I don't have a CVS client, so I might need someone to patch in the code for me. Have a great weekend, Erick --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] FTP task
Erick, just send patches or complete code for the task to the list. Ian Hey, Is anyone working on the FTP task? If so, give me a shout. If not, I'm going to put together some code. I'm planning on something like the copy or delete task, where it copies a fileset to a remote server. Some sort of sync might also be an option, I'll have to give it some thought. I don't have a CVS client, so I might need someone to patch in the code for me. Have a great weekend, Erick --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] supportedRuntime in NAnt.exe.config
Sounds good to me Jarek. Anyone have any objections ? Ian Hi all! Recently I've posted a message regarding the ordering of supportedRuntime tags in NAnt.exe.config, which I believe to be incorrect and causing problems with .NET 1.1 and .NET 1.0 installed on the same machine. I've proposed a patch but I didn't get any reply from you guys. Could anybody please take a look at it and tell me what your thoughts are? Jarek --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] last suggestion - Solution task again
The fileset would work fine. It can handle directories as well as individual files. You'll just need to use the correct method when you get the items from the FileSet. As well, it can handle the nifty wildcarding that gives NAnt its real power. :) On Sat, 2003-08-30 at 05:52, Martin Aliger wrote: Good find. I like your assembly-folders idea. Unfortunately, I'm quite busy at work and don't have any time for solution task development. It should be pretty straight-forward to implement if someone has an hour or so to space. I could code it - no problem. Does others see any other ideas? Also I'm not quite sure about naming. is assembly-folders proper name for that tag? And how to internally implement it? As list of paths? Fileset is not appropriate here. Maybe I could handle it simmilary as arg in csc? (only list tag I'm aware of) Martin Martin Aliger wrote: I did some exploration in this field and found this: Visual Studio use HintPath to find reference assemblies. If not found it uses all paths listed under registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\AssemblyFolders Maybe we should implement similar mechanism? Use HintPath first and then some path list which could defaults to this regisry read. And be overrided (extended?) by e.g. solution _verbose=true configuration=Release output=${build.dir} projects includes name=**/*.csproj/ /projects assembly-folders includes name=c:\temp\build\dll/ /assembly-folders /solution Martin -- Matthew Mastracci [EMAIL PROTECTED] --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Re: Compiling from CVS (was Problems with solution task when solution has multiple projects)
Well,it looks to me like there have been some bugs introduced to the solution task since rc2. Using the binaries from the 8/21/03 build, I went to run the latest against a .build that uses the solution task and he has problems with references. Here's the output: D:\projects\procardnant -f:ProCardMaster.buildNAnt version 0.8.4 Copyright (C) 2001-2003 Gerry Shawhttp://nant.sourceforge.net Buildfile: file:///D:/projects/procard/ProCardMaster.build Release.RefDir: Build.Release: [solution] Starting solution build.[solution] Building ProCard.WebControls.Library [release]...[solution] Building ProCard.Logging.Library [release]...[solution] Building ProCard.ExecutableLaunching.Library [release]...[solution] Building ProCard.DataAccess.Library [release]...[solution] Building ProCard.Logging.Console [release]...[solution] Building ProCard.Xml.Library [release]...[solution] Building ProCard.Centre.Library [release]...[solution] Building ProCard.SessionState.Library [release]...[solution] Building ProCard.Centre.ReportParser.Library [release]...[solution] Building ProCard.JobProcessing.Service [release]... [compile] error CS1566: Error reading resource file 'C:\Documents and Settings\EFetzer\Local Settings\Temp\vyikv5up\ProCard.JobProcessing.Service.JobHandler.resources' -- 'The system cannot find the file specified. ' [compile] error CS1566: Error reading resource file 'C:\Documents and Settings\EFetzer\Local Settings\Temp\vyikv5up\ProCard.JobProcessing.Service.ProjectInstaller.resources' -- 'The system cannot find the file specified. ' [solution] Build failed.*** Project ProCard.JobProcessing.Service failed!*** Continuing build with non-dependent projects:[solution] Building ProCard.DirWatcher.Library [release]...[solution] Building ProCard.DirWatcher.Service [release]... [compile] error CS1566: Error reading resource file 'C:\Documents and Settings\EFetzer\Local Settings\Temp\vyikv5up\ProCard.DirWatcher.Service.DirWatcherService.resources' -- 'The system cannot find the file specified. ' [compile] error CS1566: Error reading resource file 'C:\Documents and Settings\EFetzer\Local Settings\Temp\vyikv5up\ProCard.DirWatcher.Service.ProjectInstaller.resources' -- 'The system cannot find the file specified. '[solution] Build failed.*** Project ProCard.DirWatcher.Service failed!*** Continuing build with non-dependent projects:[solution] Building ProCard.Centre.AccountUpload.Console [release]... [compile] error CS1566: Error reading resource file 'C:\Documents and Settings\EFetzer\Local Settings\Temp\vyikv5up\.resources' -- 'The system cannot find the file specified. '[solution] Build failed.*** Project ProCard.Centre.AccountUpload.Console failed!*** Continuing build with non-dependent projects:[solution] Building ProCard.Mail.Library [release]...[solution] Building ProCard.RealtimeClient.Library [release]...[solution] Building ProCard.Centre.PaymentProcessing.Library [release]...[solution] Building ProCard.Mail.UI [release]... [compile] error CS1566: Error reading resource file 'C:\Documents and Settings\EFetzer\Local Settings\Temp\vyikv5up\ProCard.Mail.UI.Form1.resources' -- 'The system cannot find the file specified. '[solution] Build failed.*** Project ProCard.Mail.UI failed!*** Continuing build with non-dependent projects:[solution] Building ProCard.Centre.PaymentProcessing.Console [release]...[solution] Building ProCard.Centre.ReportParser.Console [release]...[solution] Building ProCard.Centre.EventMonitor.Library [release]...[solution] Building ProCard.Centre.StatementIndexLoader.Library [release]... [solution] Building ProCard.AvailableStatementNotification.Components [release]... [compile] error CS1566: Error reading resource file 'C:\Documents and Settings\EFetzer\Local Settings\Temp\vyikv5up\ProCard.AvailableStatementNotification.Components.Resources.Strings.en-gb.resources' -- 'The system cannotfind the file specified. ' [compile] error CS1566: Error reading resource file 'C:\Documents and Settings\EFetzer\Local Settings\Temp\vyikv5up\ProCard.AvailableStatementNotification.Components.Resources.Strings.resources' -- 'The system cannot findthe file specified. '[solution] Build failed.*** Project ProCard.AvailableStatementNotification.Components failed!*** Continuing build with non-dependent projects:[solution] Building ProCard.Centre.EventMonitor.Service [release]... [compile] error CS1566: Error reading resource file 'C:\Documents and Settings\EFetzer\Local Settings\Temp\vyikv5up\ProCard.Centre.EventMonitor.Service.MonitorService.resources' -- 'The system cannot find the file specified. ' [compile] error CS1566: Error reading resource file 'C:\Documents and Settings\EFetzer\Local Settings\Temp\vyikv5up\ProCard.Centre.EventMonitor.Service.ProjectInstaller.resources' -- 'The system cannot find the file specified. '[solution] Build failed.*** Project ProCard.Centre.EventMonitor.Service failed!*** Continuing build with non-dependent projects:[solution] Building ProCard.Centre.StatementIndexLoader.Console
[nant-dev] How do I avoid property expansion?
Hi all, I've only started working with NAnt a couple of days ago, so please excuse me if this question is a FAQ. I'm working on a task that produces a NAnt build script (more specifically, it expands the directories and components sections in an msi task for ease of use). Doing that, I need to escape property expansion. So my question is: if I want to hand my task the string ${installsource.dir}\NAnt without NAnt trying to expand ${installsource.dir}, how do I go about it? Looking through PropertyDictionary.cs, it doesn't seem possible, and there's no handy pleasedonotexpandanypropertiesinthisvalue option for the property task, either :) What am I missing? Thanks in advance, Kræn Munck --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] solution task fixes
How about this. Index: Solution.cs === RCS file: /cvsroot/nant/nant/src/NAnt.VSNet/Solution.cs,v retrieving revision 1.8 diff -u -r1.8 Solution.cs --- Solution.cs 17 Aug 2003 08:46:53 - 1.8 +++ Solution.cs 23 Aug 2003 23:51:15 - @@ -61,6 +61,12 @@ string guid = m.Groups[guid].Value; string fullPath; +// only supports vb and cs projects +if (!project.ToLower().EndsWith(.csproj) !project.ToLower().EndsWith(.vbproj)) { +_solutionTask.Log(Level.Info, Currently only supports VB and CS projects. Skipping {0}., project); +continue; +} + try { // translate URLs to physical paths if using a webmap WebMap map = _webMaps[project]; -Original Message- From: Matthew Mastracci [mailto:[EMAIL PROTECTED] Sent: Saturday, 23 August 2003 1:11 AM To: Eddie Tse Cc: [EMAIL PROTECTED] Subject: Re: [nant-dev] solution task fixes Eddie - ignoring non-csproj and non-vbproj files looks good. We shouldn't do this without at least warning the user that we are ignoring their projects, however. Can you add a log message to this test? --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] Another solution task patch
Hi, If you call another build file in a sub directory using the nant task and the nested build file contains a solution task The path name used by the nested solution task is not correct. This patch fixes that problem. Cheers, Eddie Index: Solution.cs === RCS file: /cvsroot/nant/nant/src/NAnt.VSNet/Solution.cs,v retrieving revision 1.10 diff -u -r1.10 Solution.cs --- Solution.cs 24 Aug 2003 19:56:47 - 1.10 +++ Solution.cs 25 Aug 2003 12:04:47 - @@ -49,13 +49,13 @@ string fileContents; -using (StreamReader sr = new StreamReader(solutionFileName)) { +using (StreamReader sr = new StreamReader(_solutionTask.SolutionFile)) { fileContents = sr.ReadToEnd(); } Regex re = new Regex(@Project\(\(?package\{.*?\})\.*?\(?name.*?)\.*?\(?proj ect.*?)\.*?\(?guid.*?)\); MatchCollection mc = re.Matches(fileContents); -FileInfo fiSolution = new FileInfo(solutionFileName); +FileInfo fiSolution = new FileInfo(_solutionTask.SolutionFile); foreach (Match m in mc) { string project = m.Groups[project].Value; --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] supportedRuntime in NAnt.exe.config
I did some tests and found no negative effects of doing this, so I submitted this change this cvs. Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Jaroslaw Kowalski [EMAIL PROTECTED] Cc: NAnt Developers [EMAIL PROTECTED] Sent: Saturday, August 30, 2003 6:10 AM Subject: Re: [nant-dev] supportedRuntime in NAnt.exe.config Sounds good to me Jarek. Anyone have any objections ? Ian Hi all! Recently I've posted a message regarding the ordering of supportedRuntime tags in NAnt.exe.config, which I believe to be incorrect and causing problems with .NET 1.1 and .NET 1.0 installed on the same machine. I've proposed a patch but I didn't get any reply from you guys. Could anybody please take a look at it and tell me what your thoughts are? Jarek --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] Subversion
[EMAIL PROTECTED] wrote: I am writing a book that has a chapter devoted to nAnt. As an example of extending nAnt, I thought I would take Clayton's suggestion (http://sourceforge.net/mailarchive/forum.php?thread_id=2537223forum_id=863 ) and develop a Subversion Task. I have the checkout task building and somewhat working. My question is should I structure it similar to the CVS tasks? This would seem logical, but since I have never used the CVS task I was wondering if anyone out there found its features lacking or the design flawed in any way. I am assuming not so I am heading down the path of structuring the task just like CVS. PS - If you are interested in reviewing a chapter on nAnt send me an email off list and I will try to work it out with the publisher. Are you using the NSvn/AnkhSVN bindings, or are you wrapping the executable? If the former, feel free to send patches/suggestions etc to the NSvn bindings to [EMAIL PROTECTED] -- Arild AnkhSVN: http://ankhsvn.tigris.org Blog: http://ankhsvn.com/blog RSS: http://ankhsvn.com/blog/Rss.aspx --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] RE: [Nant-users] nant / nant-contrib issues
oh, and just because it might need re-repeating, i too am very grateful to this community. it's a great tool, i'm heavily invested in it, and want to continue to help grow it. /jean -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Foley, Cash Sent: Thursday, August 28, 2003 12:03 To: 'Nant-Developers (E-mail)'; [EMAIL PROTECTED] Subject: RE: [Nant-users] nant / nant-contrib issues Not wanting to turn this into a NAnt RAnt :) But I have never been able to download NAntContrib and just build it! Somehow I find it a little bit ironic that a tool to manage builds should be so difficult to build. I have the feeling that once they get their environment set up, the people putting together the download don't follow the instructions and do it from scratch to see how well it works. And yes... I really need it to work with 1.1 and sometimes 1.0. But even with all that said... I'm very grateful for the efforts that have produced NAnt and NAntContrib for basically free! Thanks, Cash -Original Message- From: Jean Rajotte [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 10:38 AM To: 'Nant-Developers (E-mail)'; [EMAIL PROTECTED] Subject: [Nant-users] nant / nant-contrib issues hi yall, IMHO since nant's namespace was restructured , the usability and extensibility via nant-contrib has suffered enormously, it seems to me. it's very hard to get a good binary image working across .NET 1.0 and 1.1. And it's hard to get a matching source image including nant-contrib and nant -- they're both important. it seems the current structure is as follows, which i believe is problematic: nant source produces daily nant bin, which is available w/ some arbitrary nant-contrib bin. nant-contrib source is available on its own. building it depends on some arbitrary nant bin. i may not have gotten the above exactly, but it seems to me nonetheless that the package visibility is backwards. what would make sense to me would be the following: nant-contrib depends on nant. nothing else. how to do this? when someone changes nant, they should somehow make sure they didn't break nant-contrib. when someone gets nant (source/bin), they only get nant (because they're not dependent on nant-contrib) when someone gets nant-contrib (source/bin), they get both the latest nant-contrib and the latest nant (source/bin) because they work together. ? /jean Jean Rajotte +1 416-574-1767 --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/n ant-users --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/n ant-users --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] nant / nant-contrib issues
hi yall, IMHO since nant's namespace was restructured , the usability and extensibility via nant-contrib has suffered enormously, it seems to me. it's very hard to get a good binary image working across .NET 1.0 and 1.1. And it's hard to get a matching source image including nant-contrib and nant -- they're both important. it seems the current structure is as follows, which i believe is problematic: nant source produces daily nant bin, which is available w/ some arbitrary nant-contrib bin. nant-contrib source is available on its own. building it depends on some arbitrary nant bin. i may not have gotten the above exactly, but it seems to me nonetheless that the package visibility is backwards. what would make sense to me would be the following: nant-contrib depends on nant. nothing else. how to do this? when someone changes nant, they should somehow make sure they didn't break nant-contrib. when someone gets nant (source/bin), they only get nant (because they're not dependent on nant-contrib) when someone gets nant-contrib (source/bin), they get both the latest nant-contrib and the latest nant (source/bin) because they work together. ? /jean Jean Rajotte +1 416-574-1767 --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers