RE: [Nant-users] Double expansion of property names?
That sounds ideal! Cheers! -Original Message- From: Scott Hernandez [mailto:[EMAIL PROTECTED] Sent: 05 March 2004 18:55 To: [EMAIL PROTECTED] Subject: Re: [Nant-users] Double expansion of property names? Pete, Using the new expression support that is the nightly builds, and will be in .85, you can do this... project property name=var value=val/ property name=val.var value=hi/ echo message=${property::get-value(var + '.var')}/ /project C:\src\sf.net\nantbin\nant -f:expand.xml NAnt 0.85 (Build 0.85.1518.0; net-1.0.win32; nightly; 2/27/2004) Copyright (C) 2001-2004 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///expand.xml [echo] hi BUILD SUCCEEDED Total time: 0.1 seconds. But other than that, I don't believe we decided to allow nested expression like this. I remember the discussion, and I think the decision was made to use functions rather than nested expressions. :) Does this work for you? - Original Message - From: Peter McEvoy [EMAIL PROTECTED] Subject: [Nant-users] Double expansion of property names? Hi all, I am trying to build a library of reusable targets that I can include into my build files. In order to do this, I'd really like to be able to be able to evaluate properties like the following: ${$nant.project.name}.dist.dir} in my reusable target, which would then expand to the value of (say) ${myproj.dist.dir} I get an error if I try this (which I kinda expected). Is there any way I could workaround this? Pete --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/n ant-users --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [Nant-users] ASP.NET Projects with references to Infragistics
Title: Message Peter, Can you please try using the solution task again with the latest nightly build ? I made a lot of improvements over the weekend, but please send me a zip file containing a repro if its still not working. I'm really committed to fixing this ! Gert - Original Message - From: Peter McEvoy To: Dave Bost ; [EMAIL PROTECTED] Sent: Monday, March 08, 2004 9:55 AM Subject: RE: [Nant-users] ASP.NET Projects with references to Infragistics We are using infragistics as well (in fact the two components that you specify). I found we could not use the solution task at all when a licensed component was being used (the exact same error as you - this was visible even in version 0.852004026). We believe that the solution task when using the license task references the wrong outputdir. We needed to break the building of the web app into several smaller steps: Use the license task to create a .licensefile from the license.licx Use resgen to generate resources from **.resx use the csc task to compile **.cs - the csc must use a nested resources element, referencing the .resources and .licenses files. Not ideal, but I could not create a test case that demonstrated the problem for nant-devel (as I am not entitled to sendon the infragistics component) (if there is a way that I can submit a test case using license stubs, I would be happy to try to build one...) Pete -Original Message-From: Dave Bost [mailto:[EMAIL PROTECTED] Sent: 05 March 2004 21:12To: [EMAIL PROTECTED]Subject: [Nant-users] ASP.NET Projects with references to Infragistics Is anyone else using NAnt to build their ASP.NET projects that reference the Infragistics components? I'm trying to get my client converted over to using NAnt. They are using two components from Infragistics, UltraWebMenu and UltraWebChart. When you drop the Infragistics component on a form, the environment automatically generates the licenses.licx file within your project. When I use NAnt to build my project, I get the following error: [license] Creating licenses ... [license] Infragistics.WebUI.UltraWebNavigator.UltraWebMenu, Infragistics.WebUI.UltraWebNavigator.v2, Version=2.0.50 00.118, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb: [license] file:///C:/Inetpub/wwwroot/LicProject/Lib/Infragistics.WebUI.UltraWebNavigator.v2.dll BUILD FAILED Failed to create license for type 'Infragistics.WebUI.UltraWebNavigator.UltraWebMenu'.: NAnt.Core.BuildException: Failed to create license for type 'Infragistics.WebUI.UltraWebNavigator.UltraWebMenu'. --- System.Exception: License attribute not found --- End of inner exception stack trace --- Server stack trace: at NAnt.DotNet.Tasks.LicenseGatherer.CreateLicenseFile(LicenseTask licenseTask, String licenseFile) in c:\Documents and Settings\Administrator\Local Settings\Temp\tmp279.tmp\src\NAnt.DotNet\Tasks\LicenseTask.cs:line 386 From what I can tell, Infragistics keeps it's licensing info in another dll, Infragistics.WebUI.Shared.dll. Might that be the problem? Is NAnt not compatible with projects referencing Infragistics? If you have an ASP.NET application that references the Infragistics components, how did you get yours to work? What version of NAnt are you running? Thanks for the help. dave bost | director of technology | solution partners, inc. | o: 630.416.1335 x12 | c: 630.650.9012| [EMAIL PROTECTED]
[Nant-users] Deployment Issue
Hi, Thanks Jason the Copy task worked a treat. Although I am not there yet I am interested to know how you guys are doing your final deployment builds, Nant or VS? Although slightly off topic for this form I think, I am interested to hear about yor experiences for say For example, client only apps, client / server deployments and web based deployments. TIA Steve
[Nant-users] Problem with NDoc task (internals)
Hello, Within our project, we rely heavily on the use of the NDoc task to keep our project (source code) documentation up-to-date. When we apply this within our build cycle while being online (logged user runs the NAnt project/task tree), it all works just fine with the expected results. On the other hand, when the same NAnt project/task tree is run during the night (from a scheduled command-file entry), we run into the following problem : Event Type: Error Event Source: Application Error Event Category: (100) Event ID: 1000 Date: 3/03/2004 Time: 17:44:01 User: N/A Computer: BENT18KE Description: Faulting application hhc.exe, version 4.74.8702.0, faulting module hha.dll, version 4.74.8702.0, fault address 0x000217d8. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. Data: : 41 70 70 6c 69 63 61 74 Applicat 0008: 69 6f 6e 20 46 61 69 6c ion Fail 0010: 75 72 65 20 20 68 68 63 ure hhc 0018: 2e 65 78 65 20 34 2e 37 .exe 4.7 0020: 34 2e 38 37 30 32 2e 30 4.8702.0 0028: 20 69 6e 20 68 68 61 2ein hha. 0030: 64 6c 6c 20 34 2e 37 34 dll 4.74 0038: 2e 38 37 30 32 2e 30 20 .8702.0 0040: 61 74 20 6f 66 66 73 65 at offse 0048: 74 20 30 30 30 32 31 37 t 000217 0050: 64 38 d8 Did anyone ever see this kind of behavior before ? I suspect it to be a problem due to the lack of a visual context ... the HTML Help compiler (hhc.exe) is trying to write/log something to a file handle which is not initialized (or something). Any suggestions ? Greetings, Frank _ Hotmail: your free e-mail ! http://www.msn.be/hotmail --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
[Nant-users] Remove support for WebDAV from solution task ?
Hi, I'm just asking to get an idea of how many people actually use it, but how would you feel if we would remove WebDAV support from the solution task ? We've noticed that lots of people have problems configuring their webserver, in order to get the solution task working, so it might be better to remove support for WebDAV altogether. This would also allow us to simplify some of the code, and make the code easier to maintain. What do you think ? Gert --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
[Nant-users] RE: [nant-dev] Remove support for WebDAV from solution task ?
I haven't used WebDAV, but if I could use it to distribute a website to a final server, it would be very very useful to me. At the moment, I have a manual FTP step is required to move a web project to the production server. Erick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gert Driesen Sent: Monday, March 08, 2004 2:36 PM To: NAnt Users Mailing List; Nant-Developers (E-Mail) Subject: [nant-dev] Remove support for WebDAV from solution task ? Hi, I'm just asking to get an idea of how many people actually use it, but how would you feel if we would remove WebDAV support from the solution task ? We've noticed that lots of people have problems configuring their webserver, in order to get the solution task working, so it might be better to remove support for WebDAV altogether. This would also allow us to simplify some of the code, and make the code easier to maintain. What do you think ? Gert --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638op=click ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
[Nant-users] Re: [nant-dev] Remove support for WebDAV from solution task ?
Perhaps we could have a webdav-copy task instead that would be similar to copy but accept WebDAV sources/targets. +1 for the idea of removing WebDAV from the solution task. Jarek - Original Message - From: Erick Thompson [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED]; NAnt Users Mailing List [EMAIL PROTECTED]; Nant-Developers (E-Mail) [EMAIL PROTECTED] Sent: Monday, March 08, 2004 11:47 PM Subject: RE: [nant-dev] Remove support for WebDAV from solution task ? I haven't used WebDAV, but if I could use it to distribute a website to a final server, it would be very very useful to me. At the moment, I have a manual FTP step is required to move a web project to the production server. Erick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gert Driesen Sent: Monday, March 08, 2004 2:36 PM To: NAnt Users Mailing List; Nant-Developers (E-Mail) Subject: [nant-dev] Remove support for WebDAV from solution task ? Hi, I'm just asking to get an idea of how many people actually use it, but how would you feel if we would remove WebDAV support from the solution task ? We've noticed that lots of people have problems configuring their webserver, in order to get the solution task working, so it might be better to remove support for WebDAV altogether. This would also allow us to simplify some of the code, and make the code easier to maintain. What do you think ? Gert --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638opÌk ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
[Nant-users] Re: Remove support for WebDAV from solution task ?
The latest stuff has the EnableWebDAV stuff to prevent it being used by default. It's been in there for a month or so and tells the user to either provide a webmap or set EnableWebDAV = true to make it work. -1 for removing it - if people want it, they can be pointed at documentation to set up the server properly. /// summary /// Allow the task to use WebDAV for retrieving/compiling the projects within solution. Use of /// see cref=WebMap / is preferred over WebDAV. The default is see langword=false /. /// /summary /// remarks /// paraWebDAV support requires permission changes to be made on your project server. These changes may affect /// the security of the server and should not be applied to a public installation./para /// paraConsult your web server or the NAnt Wiki documentation for more information./para /// /remarks [TaskAttribute(enablewebdav, Required = false)] [BooleanValidator()] public bool EnableWebDAV { get { return _enableWebDAV; } set { _enableWebDAV = value; } } Jaroslaw Kowalski wrote: Perhaps we could have a webdav-copy task instead that would be similar to copy but accept WebDAV sources/targets. +1 for the idea of removing WebDAV from the solution task. Jarek - Original Message - From: Erick Thompson [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED]; NAnt Users Mailing List [EMAIL PROTECTED]; Nant-Developers (E-Mail) [EMAIL PROTECTED] Sent: Monday, March 08, 2004 11:47 PM Subject: RE: [nant-dev] Remove support for WebDAV from solution task ? I haven't used WebDAV, but if I could use it to distribute a website to a final server, it would be very very useful to me. At the moment, I have a manual FTP step is required to move a web project to the production server. Erick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gert Driesen Sent: Monday, March 08, 2004 2:36 PM To: NAnt Users Mailing List; Nant-Developers (E-Mail) Subject: [nant-dev] Remove support for WebDAV from solution task ? Hi, I'm just asking to get an idea of how many people actually use it, but how would you feel if we would remove WebDAV support from the solution task ? We've noticed that lots of people have problems configuring their webserver, in order to get the solution task working, so it might be better to remove support for WebDAV altogether. This would also allow us to simplify some of the code, and make the code easier to maintain. What do you think ? Gert --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638opÌk ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638op=click ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
[Nant-users] Re: Remove support for WebDAV from solution task ?
On second thought, it may be beneficial to break out the WebDAV stuff into a separate webdav-* task. I'm not sure if people are relying on being able to build code via WebDAV shares, however. Perhaps the solution task could use WebDAV via the alternate task, rather than the internal WebDAV stuff? Anyways, I'll say 0 instead of -1 for removal of WebDAV. I'm not personally convinced either way, but I do agree it's a huge pain in the butt to get it configured (besides being a security hole). Matt. Matthew Mastracci wrote: The latest stuff has the EnableWebDAV stuff to prevent it being used by default. It's been in there for a month or so and tells the user to either provide a webmap or set EnableWebDAV = true to make it work. -1 for removing it - if people want it, they can be pointed at documentation to set up the server properly. /// summary /// Allow the task to use WebDAV for retrieving/compiling the projects within solution. Use of /// see cref=WebMap / is preferred over WebDAV. The default is see langword=false /. /// /summary /// remarks /// paraWebDAV support requires permission changes to be made on your project server. These changes may affect /// the security of the server and should not be applied to a public installation./para /// paraConsult your web server or the NAnt Wiki documentation for more information./para /// /remarks [TaskAttribute(enablewebdav, Required = false)] [BooleanValidator()] public bool EnableWebDAV { get { return _enableWebDAV; } set { _enableWebDAV = value; } } Jaroslaw Kowalski wrote: Perhaps we could have a webdav-copy task instead that would be similar to copy but accept WebDAV sources/targets. +1 for the idea of removing WebDAV from the solution task. Jarek - Original Message - From: Erick Thompson [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED]; NAnt Users Mailing List [EMAIL PROTECTED]; Nant-Developers (E-Mail) [EMAIL PROTECTED] Sent: Monday, March 08, 2004 11:47 PM Subject: RE: [nant-dev] Remove support for WebDAV from solution task ? I haven't used WebDAV, but if I could use it to distribute a website to a final server, it would be very very useful to me. At the moment, I have a manual FTP step is required to move a web project to the production server. Erick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gert Driesen Sent: Monday, March 08, 2004 2:36 PM To: NAnt Users Mailing List; Nant-Developers (E-Mail) Subject: [nant-dev] Remove support for WebDAV from solution task ? Hi, I'm just asking to get an idea of how many people actually use it, but how would you feel if we would remove WebDAV support from the solution task ? We've noticed that lots of people have problems configuring their webserver, in order to get the solution task working, so it might be better to remove support for WebDAV altogether. This would also allow us to simplify some of the code, and make the code easier to maintain. What do you think ? Gert --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638opÌk ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
[Nant-users] Re: [nant-dev] Remove support for WebDAV from solution task ?
+1 on WebDAV tasks. This is something that will be more and more useful in the future. It sounds like a lot of new server projects are providing webdav file access. In fact, I believe one of the deployment options for Subversion is via webdav. This would really simplify the requirements to do a get, update, or commit. :) Maybe with a set of WebDAV tasks it would be possible to do better testing and integration into the solution/project tasks at a later time, if it is pulled now. - Original Message - From: Jaroslaw Kowalski [EMAIL PROTECTED] Perhaps we could have a webdav-copy task instead that would be similar to copy but accept WebDAV sources/targets. +1 for the idea of removing WebDAV from the solution task. --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users