Re: [NAnt-users] Help copying a folder structure
Thanks! From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Thursday, May 31, 2012 9:44 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: Help copying a folder structure If you want to go FROM src TO dest, it looks like you have your code backwards... shouldn't it be: copy todir=${destDir} fileset basedir=${srcDir} include name=** / /fileset /copy Also, you can (should be able to) simplify your include to ** which should match all files and folders. BOb From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Wednesday, May 30, 2012 3:39 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Help copying a folder structure This way... copy todir=${srcDir} fileset basedir=${destDir} include name=**\* / /fileset /copy From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Wednesday, May 30, 2012 3:13 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Help copying a folder structure I looked at this http://nant.sourceforge.net/nightly/latest/help/tasks/copy.html, and googled some. I want to copy files from ${srcDir} to ${destDir} and preserve the directory struncture. I tried this, but the directory structure is NOT preserved in ${destDir}. Any clues? copy todir=${srcDir} fileset include name=${destDir}\**\* / /fileset /copy -chris ***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.*** -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] Help copying a folder structure
I looked at this http://nant.sourceforge.net/nightly/latest/help/tasks/copy.html, and googled some. I want to copy files from ${srcDir} to ${destDir} and preserve the directory struncture. I tried this, but the directory structure is NOT preserved in ${destDir}. Any clues? copy todir=${srcDir} fileset include name=${destDir}\**\* / /fileset /copy -chris ***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.*** -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Help copying a folder structure
This way... copy todir=${srcDir} fileset basedir=${destDir} include name=**\* / /fileset /copy From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Wednesday, May 30, 2012 3:13 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Help copying a folder structure I looked at this http://nant.sourceforge.net/nightly/latest/help/tasks/copy.html, and googled some. I want to copy files from ${srcDir} to ${destDir} and preserve the directory struncture. I tried this, but the directory structure is NOT preserved in ${destDir}. Any clues? copy todir=${srcDir} fileset include name=${destDir}\**\* / /fileset /copy -chris ***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.*** -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] Coordinating file access
I'm trying to set up N test machines to read/modify/write a file on yet another machine (build machine). Any Nant tips and tricks to coordinate such file access so only one test machine accesses the file? For example, does Nant have file locks/unlock tasks? -chris ***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.*** -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Coordinating file access
I ended up copying the file to a file.lck (added a .lck file extension), and check for the existence of this file extension. -chris From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Tuesday, April 24, 2012 3:24 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Coordinating file access I'm trying to set up N test machines to read/modify/write a file on yet another machine (build machine). Any Nant tips and tricks to coordinate such file access so only one test machine accesses the file? For example, does Nant have file locks/unlock tasks? -chris ***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.*** -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] xmlpeek and multiple nodes
That's all I want to do, find a node and update it. From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, April 20, 2012 9:36 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: xmlpeek and multiple nodes For more than a simple find a node and update it I would recommend you write you own code using the script task. Or write your own task. BOb From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Friday, April 20, 2012 9:02 AM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] xmlpeek and multiple nodes How can I use xmlpeek/xmlpoke to recursively peruse all the similarly named nodes in a file, the the test node below. tests test.../test test.../test test.../test /tests This didn't help, http://nant.sourceforge.net/release/0.85/help/tasks/xmlpeek.html And I found this http://old.nabble.com/xmlpeek---Multiple-nodes-found-with-the-XPath-expression-td20017190.html Per that page, do I really have to do this, that is hard code the indices? So if I add a 16th node, I'll have to change the script to add a 16th index? foreach item=String in=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 delim=, property=index xmlpeek file=${somefile} nodeindex=${index} / /foreach So I found this http://www.mail-archive.com/nant-users@lists.sourceforge.net/msg11179.html But my nant version 0.91 complains about xmllist being an unknown task or data type. -chris ***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.*** -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] xmlpeek and multiple nodes
If I can find out how to loop through them all, I can do the rest. From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, April 20, 2012 9:54 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: xmlpeek and multiple nodes But, is there something unique in the node that you want to update? I assume no since you are looping through them all? BOb From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Friday, April 20, 2012 9:48 AM To: Bob Archer; nant-users@lists.sourceforge.net Subject: RE: xmlpeek and multiple nodes That's all I want to do, find a node and update it. From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, April 20, 2012 9:36 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: xmlpeek and multiple nodes For more than a simple find a node and update it I would recommend you write you own code using the script task. Or write your own task. BOb From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Friday, April 20, 2012 9:02 AM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] xmlpeek and multiple nodes How can I use xmlpeek/xmlpoke to recursively peruse all the similarly named nodes in a file, the the test node below. tests test.../test test.../test test.../test /tests This didn't help, http://nant.sourceforge.net/release/0.85/help/tasks/xmlpeek.html And I found this http://old.nabble.com/xmlpeek---Multiple-nodes-found-with-the-XPath-expression-td20017190.html Per that page, do I really have to do this, that is hard code the indices? So if I add a 16th node, I'll have to change the script to add a 16th index? foreach item=String in=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 delim=, property=index xmlpeek file=${somefile} nodeindex=${index} / /foreach So I found this http://www.mail-archive.com/nant-users@lists.sourceforge.net/msg11179.html But my nant version 0.91 complains about xmllist being an unknown task or data type. -chris ***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.*** -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] xmlpeek and multiple nodes
So no canned support for this? -chris From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, April 20, 2012 9:59 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: xmlpeek and multiple nodes In other words, if you can't get to a specific node with an XPath expression you really need to roll your own. That's really what it is designed for. You could do something like what you are doing, however, you probably still need your own script task to get the count of matching nodes. A quick google find this http://bgeek.net/2005/09/19/nant-xml-node-counting/ BOb From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Friday, April 20, 2012 9:48 AM To: Bob Archer; nant-users@lists.sourceforge.net Subject: RE: xmlpeek and multiple nodes That's all I want to do, find a node and update it. From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, April 20, 2012 9:36 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: xmlpeek and multiple nodes For more than a simple find a node and update it I would recommend you write you own code using the script task. Or write your own task. BOb From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Friday, April 20, 2012 9:02 AM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] xmlpeek and multiple nodes How can I use xmlpeek/xmlpoke to recursively peruse all the similarly named nodes in a file, the the test node below. tests test.../test test.../test test.../test /tests This didn't help, http://nant.sourceforge.net/release/0.85/help/tasks/xmlpeek.html And I found this http://old.nabble.com/xmlpeek---Multiple-nodes-found-with-the-XPath-expression-td20017190.html Per that page, do I really have to do this, that is hard code the indices? So if I add a 16th node, I'll have to change the script to add a 16th index? foreach item=String in=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 delim=, property=index xmlpeek file=${somefile} nodeindex=${index} / /foreach So I found this http://www.mail-archive.com/nant-users@lists.sourceforge.net/msg11179.html But my nant version 0.91 complains about xmllist being an unknown task or data type. -chris ***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.*** -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] String to int
I'm using the convert::to-int function to convert a string property into an int so I can increment it. However I get this (albeit just) warning. Function convert::to-int is deprecated. Use type-specific conversion functions instead. I don't see a string type-specific conversion here. http://nant.sourceforge.net/release/0.85/help/functions/index.html -Chris ***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.*** -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] String to int
Sorry, I see it now, it's int::parse(SomeString) From: Chris Fouts Sent: Friday, April 20, 2012 10:53 AM To: nant-users@lists.sourceforge.net Subject: String to int I'm using the convert::to-int function to convert a string property into an int so I can increment it. However I get this (albeit just) warning. Function convert::to-int is deprecated. Use type-specific conversion functions instead. I don't see a string type-specific conversion here. http://nant.sourceforge.net/release/0.85/help/functions/index.html -Chris ***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.*** -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] xmlpeek and multiple nodes
Silly me. This works for xmlpeek, but I can't xmlpoke on a nodeindex. Duh Backtrack -chris From: Chris Fouts Sent: Friday, April 20, 2012 11:18 AM To: nant-users@lists.sourceforge.net Subject: RE: xmlpeek and multiple nodes Ok, here's my workaround to parse this xml file, and it works! Essentially I just increment the node index and make a recursive target call. tests !-- testRunStatus = run this test?: yes, no, or skip -- test nameLesson1234/name testRunStatusskip/testRunStatus /test test nameLesson4567/name testRunStatusyes/testRunStatus /test test nameLesson5678/name testRunStatusno/testRunStatus /test !-- This has to be the last node! -- test name*/name testRunStatusno/testRunStatus /test /tests !-Initial xml idx value is 0 -- property name=xmlidx value=0 / target name=selectTestToRun xmlpeek file=C:\Sompath\teststoRun.xml xpath=/tests/test/name nodeindex=${xmlidx} property=name / if test=${name != '*'} echoname is ${name} /echo xmlpeek file=C:\Somepath\teststoRun.xml xpath=/tests/test/testRunStatus nodeindex=${xmlidx} property=testRunStatus / echotestRunStatus is ${testRunStatus} /echo if test=${testRunStatus == 'yes'} !-RUN THE TEST -- /if !-increment xml index -- property name=xmlidx value=${int::parse(xmlidx)+1} / !-Recursive call -- call target=selectTestToRun / /if /target From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, April 20, 2012 11:05 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: xmlpeek and multiple nodes Not really, no. From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Friday, April 20, 2012 10:03 AM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] xmlpeek and multiple nodes So no canned support for this? -chris From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, April 20, 2012 9:59 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: xmlpeek and multiple nodes In other words, if you can't get to a specific node with an XPath expression you really need to roll your own. That's really what it is designed for. You could do something like what you are doing, however, you probably still need your own script task to get the count of matching nodes. A quick google find this http://bgeek.net/2005/09/19/nant-xml-node-counting/ BOb From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Friday, April 20, 2012 9:48 AM To: Bob Archer; nant-users@lists.sourceforge.net Subject: RE: xmlpeek and multiple nodes That's all I want to do, find a node and update it. From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, April 20, 2012 9:36 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: xmlpeek and multiple nodes For more than a simple find a node and update it I would recommend you write you own code using the script task. Or write your own task. BOb From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Friday, April 20, 2012 9:02 AM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] xmlpeek and multiple nodes How can I use xmlpeek/xmlpoke to recursively peruse all the similarly named nodes in a file, the the test node below. tests test.../test test.../test test.../test /tests This didn't help, http://nant.sourceforge.net/release/0.85/help/tasks/xmlpeek.html And I found this http://old.nabble.com/xmlpeek---Multiple-nodes-found-with-the-XPath-expression-td20017190.html Per that page, do I really have to do this, that is hard code the indices? So if I add a 16th node, I'll have to change the script to add a 16th index? foreach item=String in=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 delim=, property=index xmlpeek file=${somefile} nodeindex=${index} / /foreach So I found this http://www.mail-archive.com/nant-users@lists.sourceforge.net/msg11179.html But my nant version 0.91 complains about xmllist being an unknown task or data type. -chris ***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.*** -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition?
I thought I had this figured out. I see that I'm calling my fail task in my Nant script. I see it in my ccnet console fail: [echo] BUILD FAILED! ** BUILD SUCCEEDED - 1 non-fatal error(s), 2 warning(s) Total time: 25.8 seconds. But how come ccnet still says BUILD SUCCEEDED? -chris From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Wednesday, February 29, 2012 3:15 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition? Thanks Adam and Bob. From: Adam Bruss [mailto:abr...@awrcorp.com] Sent: Wednesday, February 29, 2012 1:45 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition? Nant has an if task that can check the values of properties. Then you can use the fail task to fail the build if a property matches some value. Use resultproperty of the exec task to get the return value of your build. if: http://nant.sourceforge.net/release/0.85/help/tasks/if.html fail: http://nant.sourceforge.net/release/0.85/help/tasks/fail.html Adam Bruss Senior Development Engineer AWR Corporation 11520 N. Port Washington Rd., Suite 201 Mequon, WI 53092 USA P: 1.262.240.0291 x104 F: 1.262.240.0294 E: abr...@awrcorp.com W: http://www.awrcorp.comhttp://www.awrcorp.com/ From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Wednesday, February 29, 2012 11:05 AM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition? I build TWO projects in one nant.build project file, say project1 and project2, that share a LOT of common files; hence, for NOW, I want to keep it this way. I do this Set properties project1_ok=false and project2_ok=false Build project1 and project2 shared files If project1 and project2 shared files fail Stop the build and report failure Continue building project1-specific files If project1-specific files build project1_ok=true Continue building project2-specific files If project2-specific files build Project2_ok=true nant_pass_fail_property = project1_ok AND project2_ok So if either project1_ok or project2_ok is false, I want ccnet to report a failure. Make sense? -chris From: Bob Archer [mailto:bob.arc...@amsi.com]mailto:[mailto:bob.arc...@amsi.com] Sent: Wednesday, February 29, 2012 11:51 AM To: Chris Fouts; nant-users@lists.sourceforge.netmailto:nant-users@lists.sourceforge.net Subject: RE: Nant property passed to CC.NET for pass/fail condition? I expect it is the return value sent from nant.exe and that you can't modify it. What are you trying to do? BOb From: Chris Fouts [mailto:chris.fo...@caemilusa.com]mailto:[mailto:chris.fo...@caemilusa.com] Sent: Wednesday, February 29, 2012 11:40 AM To: nant-users@lists.sourceforge.netmailto:nant-users@lists.sourceforge.net Subject: [NAnt-users] Nant property passed to CC.NET for pass/fail condition? What is the nant property that is set for CC.NET to report a pass/fail condition? I assume I can modify this property? Is it nant.onfailure? Thanks! -chris ***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.*** -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition?
To further explain, here's how I call my evaluate and call my fail target target name=set_nant_failure call target=fail if=${(not project1_ok) or {not project2_ok)} / /target The project1_ok and project2_ok are bools that are set CORRECTLY by evaluating resultproperty values earlier in script. From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Monday, March 19, 2012 5:50 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition? I thought I had this figured out. I see that I'm calling my fail task in my Nant script. I see it in my ccnet console fail: [echo] BUILD FAILED! ** BUILD SUCCEEDED - 1 non-fatal error(s), 2 warning(s) Total time: 25.8 seconds. But how come ccnet still says BUILD SUCCEEDED? -chris From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Wednesday, February 29, 2012 3:15 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition? Thanks Adam and Bob. From: Adam Bruss [mailto:abr...@awrcorp.com] Sent: Wednesday, February 29, 2012 1:45 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition? Nant has an if task that can check the values of properties. Then you can use the fail task to fail the build if a property matches some value. Use resultproperty of the exec task to get the return value of your build. if: http://nant.sourceforge.net/release/0.85/help/tasks/if.html fail: http://nant.sourceforge.net/release/0.85/help/tasks/fail.html Adam Bruss Senior Development Engineer AWR Corporation 11520 N. Port Washington Rd., Suite 201 Mequon, WI 53092 USA P: 1.262.240.0291 x104 F: 1.262.240.0294 E: abr...@awrcorp.com W: http://www.awrcorp.comhttp://www.awrcorp.com/ From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Wednesday, February 29, 2012 11:05 AM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition? I build TWO projects in one nant.build project file, say project1 and project2, that share a LOT of common files; hence, for NOW, I want to keep it this way. I do this Set properties project1_ok=false and project2_ok=false Build project1 and project2 shared files If project1 and project2 shared files fail Stop the build and report failure Continue building project1-specific files If project1-specific files build project1_ok=true Continue building project2-specific files If project2-specific files build Project2_ok=true nant_pass_fail_property = project1_ok AND project2_ok So if either project1_ok or project2_ok is false, I want ccnet to report a failure. Make sense? -chris From: Bob Archer [mailto:bob.arc...@amsi.com]mailto:[mailto:bob.arc...@amsi.com] Sent: Wednesday, February 29, 2012 11:51 AM To: Chris Fouts; nant-users@lists.sourceforge.netmailto:nant-users@lists.sourceforge.net Subject: RE: Nant property passed to CC.NET for pass/fail condition? I expect it is the return value sent from nant.exe and that you can't modify it. What are you trying to do? BOb From: Chris Fouts [mailto:chris.fo...@caemilusa.com]mailto:[mailto:chris.fo...@caemilusa.com] Sent: Wednesday, February 29, 2012 11:40 AM To: nant-users@lists.sourceforge.netmailto:nant-users@lists.sourceforge.net Subject: [NAnt-users] Nant property passed to CC.NET for pass/fail condition? What is the nant property that is set for CC.NET to report a pass/fail condition? I assume I can modify this property? Is it nant.onfailure? Thanks! -chris ***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.*** -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] Nant property passed to CC.NET for pass/fail condition?
What is the nant property that is set for CC.NET to report a pass/fail condition? I assume I can modify this property? Is it nant.onfailure? Thanks! -chris ***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.*** -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition?
I build TWO projects in one nant.build project file, say project1 and project2, that share a LOT of common files; hence, for NOW, I want to keep it this way. I do this Set properties project1_ok=false and project2_ok=false Build project1 and project2 shared files If project1 and project2 shared files fail Stop the build and report failure Continue building project1-specific files If project1-specific files build project1_ok=true Continue building project2-specific files If project2-specific files build Project2_ok=true nant_pass_fail_property = project1_ok AND project2_ok So if either project1_ok or project2_ok is false, I want ccnet to report a failure. Make sense? -chris From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Wednesday, February 29, 2012 11:51 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: Nant property passed to CC.NET for pass/fail condition? I expect it is the return value sent from nant.exe and that you can't modify it. What are you trying to do? BOb From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Wednesday, February 29, 2012 11:40 AM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Nant property passed to CC.NET for pass/fail condition? What is the nant property that is set for CC.NET to report a pass/fail condition? I assume I can modify this property? Is it nant.onfailure? Thanks! -chris ***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.*** -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition?
Thanks Adam and Bob. From: Adam Bruss [mailto:abr...@awrcorp.com] Sent: Wednesday, February 29, 2012 1:45 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition? Nant has an if task that can check the values of properties. Then you can use the fail task to fail the build if a property matches some value. Use resultproperty of the exec task to get the return value of your build. if: http://nant.sourceforge.net/release/0.85/help/tasks/if.html fail: http://nant.sourceforge.net/release/0.85/help/tasks/fail.html Adam Bruss Senior Development Engineer AWR Corporation 11520 N. Port Washington Rd., Suite 201 Mequon, WI 53092 USA P: 1.262.240.0291 x104 F: 1.262.240.0294 E: abr...@awrcorp.com W: http://www.awrcorp.comhttp://www.awrcorp.com/ From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Wednesday, February 29, 2012 11:05 AM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition? I build TWO projects in one nant.build project file, say project1 and project2, that share a LOT of common files; hence, for NOW, I want to keep it this way. I do this Set properties project1_ok=false and project2_ok=false Build project1 and project2 shared files If project1 and project2 shared files fail Stop the build and report failure Continue building project1-specific files If project1-specific files build project1_ok=true Continue building project2-specific files If project2-specific files build Project2_ok=true nant_pass_fail_property = project1_ok AND project2_ok So if either project1_ok or project2_ok is false, I want ccnet to report a failure. Make sense? -chris From: Bob Archer [mailto:bob.arc...@amsi.com]mailto:[mailto:bob.arc...@amsi.com] Sent: Wednesday, February 29, 2012 11:51 AM To: Chris Fouts; nant-users@lists.sourceforge.netmailto:nant-users@lists.sourceforge.net Subject: RE: Nant property passed to CC.NET for pass/fail condition? I expect it is the return value sent from nant.exe and that you can't modify it. What are you trying to do? BOb From: Chris Fouts [mailto:chris.fo...@caemilusa.com]mailto:[mailto:chris.fo...@caemilusa.com] Sent: Wednesday, February 29, 2012 11:40 AM To: nant-users@lists.sourceforge.netmailto:nant-users@lists.sourceforge.net Subject: [NAnt-users] Nant property passed to CC.NET for pass/fail condition? What is the nant property that is set for CC.NET to report a pass/fail condition? I assume I can modify this property? Is it nant.onfailure? Thanks! -chris ***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.*** -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] How to suppress exec errors?
One of the things I do in my script is to disconnect a network drive, regardless is it's connected or not, and of course if it's not already connected I get an error. I ignore the error via failonerror=false, but I want to go one step further and suppress the error generated. ***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.*** -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] How to suppress exec errors?
Ok thanks! From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Thursday, February 23, 2012 9:46 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: How to suppress exec errors? I think the best/only way you can do this is to create a batch file to do the disconnect and have it always return a success return code. I have a similar issues with a command line app that doesn't return 0 for success and there is no way to tell Nant what return code signifies success/failure. BOb From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Thursday, February 23, 2012 9:42 AM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] How to suppress exec errors? One of the things I do in my script is to disconnect a network drive, regardless is it's connected or not, and of course if it's not already connected I get an error. I ignore the error via failonerror=false, but I want to go one step further and suppress the error generated. ***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.*** -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] non-readonly properties
I have the following properties defined in mynant.build file !-- Use these Bools for enable either Project1 and/or Project2 builds -- property name=enable_project1_build value=true readonly=false / property name=enable_project2_build value=true readonly=false / But when I run script where I override the defined properties, e.g., C:\ nant mynant.build -D:enable_project1_build=false I get... Read-only property enable_project1_build cannot be overwritten. I do echo the values for testing, I get the correct value, so should I just ignore the noise? -chris ***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.*** -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] non-readonly properties
Thanks, I was actually setting the arguments in CCNET, via buildArgs From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Wednesday, February 22, 2012 1:25 PM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: non-readonly properties Properties set on the command line are always read-only. If you want to not reset a property value if it was set from the command line you can use overwrite=false. Also, when you pass false from the command line you don't need to quote it. BOb From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Wednesday, February 22, 2012 1:04 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] non-readonly properties I have the following properties defined in mynant.build file !-- Use these Bools for enable either Project1 and/or Project2 builds -- property name=enable_project1_build value=true readonly=false / property name=enable_project2_build value=true readonly=false / But when I run script where I override the defined properties, e.g., C:\ nant mynant.build -D:enable_project1_build=false I get... Read-only property enable_project1_build cannot be overwritten. I do echo the values for testing, I get the correct value, so should I just ignore the noise? -chris ***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.*** -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] Help with resultproperty please
I'm aware of this feature target name=buildmodule exec commandline=buildmodule.bat Failonerror=false resultproperty=module_ok / /target However, I want to do this... target name=buildmodule1 exec commandline=buildmodule1.bat Failonerror=false resultproperty=module_ok / /target target name=buildmodule2 exec commandline=buildmodule2.bat Failonerror=false resultproperty=module_ok / /target target name=buildmodule call target=buildmodule1 call target=buildmodule2 /target That is, buildmodule needs a lot of buildmoduleN's (two in the example, but can be more). I do NOT want the build to stop if one of the buildmoduleN's fails (hence, failonerror=false) but I want module_ok to evaluate false if at least one of them fails. I know the way I have it, the buildmoduleN build will eclipse the buildmoduleN-1 build. So how can I set it up so if one buildmoduleN fails, the module_ok property persists? Thanks! -Chris ***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.*** -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] How to setup two projects with a subset of common files?
Thanks! From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, January 06, 2012 10:17 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] How to setup two projects with a subset of common files? Don't you want a build of common to trigger a build of Project1 and Project2? If so, you can set up a ccnet trigger to do that. Use a project trigger on Project1 Project2. They will both trigger on a successful build of Common. Now, if you have Project1 and Project2 in the same queue that will keep them from building at the same time. http://www.cruisecontrolnet.org/projects/ccnet/wiki/Project_Trigger Simple and no need to change and build scripts. BOb From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Thursday, January 05, 2012 3:33 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] How to setup two projects with a subset of common files? I'm implementing this idea. However, some questions. Won't this build CommonSW twice, once when Project1 is built and next when Project2 is built, in the case where I build both projects? I really want to just build CommonSW once in this case. Also if projects are in the same queue, does that imply a serial build or parallel build? -chris From: Philip Sayers [mailto:p...@cds-am.net] Sent: Thursday, January 05, 2012 1:36 PM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] How to setup two projects with a subset of common files? Easiest way to get you want would be.. Create two nant files. File1: builds commonSW Project1 File2: builds commonSW Project2 Setup 2 ccnet projects, each one pointing at one of the nant files Put both projects in the same queue I posted this in the ccnet-users Google group, but I thought I'd post this too hoping I'm not alone in using ccnet+nant environment, and not the first one to try this. I use CC.NET v1.6.7981.1 and Nant v0.91. I trigger the builds via CC.NET but do the bulk of the work in Nant - no surprise here. I want to independently build, force or continuous, two projects that share a subset of common files between them. All files are built with VS2008 using the devenv command line in Nant. Here's my structure Common SW - used by both below Project1 SW - needs Common SW to build first Project2 SW - needs Common SW to build first I want to be able to do the following. Show both Project1 and Project2 on the ccnet web dashboard, and be able to Force either project. However, if one project is already building, doesn't matter which one, and the other project is triggered, it should wait for the first running project to finish. Any pointers please? Thanks! -chris ***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.*** -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] How to setup two projects with a subset of common files?
I posted this in the ccnet-users Google group, but I thought I'd post this too hoping I'm not alone in using ccnet+nant environment, and not the first one to try this. I use CC.NET v1.6.7981.1 and Nant v0.91. I trigger the builds via CC.NET but do the bulk of the work in Nant - no surprise here. I want to independently build, force or continuous, two projects that share a subset of common files between them. All files are built with VS2008 using the devenv command line in Nant. Here's my structure Common SW - used by both below Project1 SW - needs Common SW to build first Project2 SW - needs Common SW to build first I want to be able to do the following. Show both Project1 and Project2 on the ccnet web dashboard, and be able to Force either project. However, if one project is already building, doesn't matter which one, and the other project is triggered, it should wait for the first running project to finish. Any pointers please? Thanks! -chris ***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.*** -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] How to setup two projects with a subset of common files?
Thanks to all the replies. I just started looking at queues indeed. From: Brendan CM [mailto:veri...@gmail.com] Sent: Thursday, January 05, 2012 1:36 PM To: Chris Fouts Cc: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] How to setup two projects with a subset of common files? The CruiseControl people should probably give you this same response, but in case they haven't, here is what you're looking for: http://www.cruisecontrolnet.org/projects/ccnet/wiki/Queue_Configuration On Thu, Jan 5, 2012 at 9:48 AM, Chris Fouts chris.fo...@caemilusa.commailto:chris.fo...@caemilusa.com wrote: I posted this in the ccnet-users Google group, but I thought I’d post this too hoping I’m not alone in using ccnet+nant environment, and not the first one to try this. I use CC.NEThttp://CC.NET v1.6.7981.1 and Nant v0.91. I trigger the builds via CC.NEThttp://CC.NET but do the bulk of the work in Nant - no surprise here. I want to independently build, force or continuous, two projects that share a subset of common files between them. All files are built with VS2008 using the devenv command line in Nant. Here's my structure Common SW - used by both below Project1 SW - needs Common SW to build first Project2 SW - needs Common SW to build first I want to be able to do the following. Show both Project1 and Project2 on the ccnet web dashboard, and be able to Force either project. However, if one project is already building, doesn't matter which one, and the other project is triggered, it should wait for the first running project to finish. Any pointers please? Thanks! -chris ***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.*** -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ NAnt-users mailing list NAnt-users@lists.sourceforge.netmailto:NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] How to setup two projects with a subset of common files?
Will this show BOTH projects in the ccnet web dashboard? From: Philip Sayers [mailto:p...@cds-am.net] Sent: Thursday, January 05, 2012 1:36 PM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] How to setup two projects with a subset of common files? Easiest way to get you want would be.. Create two nant files. File1: builds commonSW Project1 File2: builds commonSW Project2 Setup 2 ccnet projects, each one pointing at one of the nant files Put both projects in the same queue I posted this in the ccnet-users Google group, but I thought I'd post this too hoping I'm not alone in using ccnet+nant environment, and not the first one to try this. I use CC.NET v1.6.7981.1 and Nant v0.91. I trigger the builds via CC.NET but do the bulk of the work in Nant - no surprise here. I want to independently build, force or continuous, two projects that share a subset of common files between them. All files are built with VS2008 using the devenv command line in Nant. Here's my structure Common SW - used by both below Project1 SW - needs Common SW to build first Project2 SW - needs Common SW to build first I want to be able to do the following. Show both Project1 and Project2 on the ccnet web dashboard, and be able to Force either project. However, if one project is already building, doesn't matter which one, and the other project is triggered, it should wait for the first running project to finish. Any pointers please? Thanks! -chris ***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.*** -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] How to setup two projects with a subset of common files?
I found the answer to my own question, and it's Yes. From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Thursday, January 05, 2012 2:08 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] How to setup two projects with a subset of common files? Will this show BOTH projects in the ccnet web dashboard? From: Philip Sayers [mailto:p...@cds-am.net] Sent: Thursday, January 05, 2012 1:36 PM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] How to setup two projects with a subset of common files? Easiest way to get you want would be.. Create two nant files. File1: builds commonSW Project1 File2: builds commonSW Project2 Setup 2 ccnet projects, each one pointing at one of the nant files Put both projects in the same queue I posted this in the ccnet-users Google group, but I thought I'd post this too hoping I'm not alone in using ccnet+nant environment, and not the first one to try this. I use CC.NET v1.6.7981.1 and Nant v0.91. I trigger the builds via CC.NET but do the bulk of the work in Nant - no surprise here. I want to independently build, force or continuous, two projects that share a subset of common files between them. All files are built with VS2008 using the devenv command line in Nant. Here's my structure Common SW - used by both below Project1 SW - needs Common SW to build first Project2 SW - needs Common SW to build first I want to be able to do the following. Show both Project1 and Project2 on the ccnet web dashboard, and be able to Force either project. However, if one project is already building, doesn't matter which one, and the other project is triggered, it should wait for the first running project to finish. Any pointers please? Thanks! -chris ***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.*** -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Help with testing strings
Thanks. I tried this yesterday but put the and {} in the wrong place. Duh on me. From: Christopher Brandt [mailto:xtopher.bra...@gmail.com] Sent: Wednesday, November 02, 2011 5:26 PM To: Chris Fouts Cc: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Help with testing strings You'd use conditional property assignment. First set the default property value, then conditionally re-assign it if your condition is met. So: property name=some.target value=some.target2 / property name=some.target value=some.target1 if=${CCNetBuildCondition == 'ForceBuild'}/ --- X Continuous improvement is better than delayed perfection. - Mark Twain On Wed, Nov 2, 2011 at 1:51 PM, Chris Fouts chris.fo...@caemilusa.commailto:chris.fo...@caemilusa.com wrote: Sorry, CCNetBuildCondition --- I'm using ccnet and Nant, not a unique situation. How can I test the passed-in CCNetBuildModification string in Nant so I can do the following pseudo-code If ${CCNetBuildModification} == ForceBuild property name=someTarget value=someTarget1 / Else property name=someTarget value=someTarget2 / -chris ***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.netmailto:NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users -- 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
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] Help with testing strings
I'm using ccnet and Nant, not a unique situation. How can I test the passed-in CCNetBuildModification string in Nant so I can do the following pseudo-code If ${CCNetBuildModification} == ForceBuild property name=someTarget value=someTarget1 / Else property name=someTarget value=someTarget2 / -chris ***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
Re: [NAnt-users] Help with testing strings
Sorry, CCNetBuildCondition --- I'm using ccnet and Nant, not a unique situation. How can I test the passed-in CCNetBuildModification string in Nant so I can do the following pseudo-code If ${CCNetBuildModification} == ForceBuild property name=someTarget value=someTarget1 / Else property name=someTarget value=someTarget2 / -chris ***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
Re: [NAnt-users] Nant hookup up with CxxTest or CppUnit
Yes, I'm using CruiseControl.NET and Nant in my case. So when you say you have Nant run your executable with a certain flag, you mean in an exec task block? -chris From: Adam Bruss [mailto:abr...@awrcorp.com] Sent: 2011-09-30 16:54 To: nant-users@lists.sourceforge.net Subject: [NAnt-users] FW: Nant hookup up with CxxTest or CppUnit From: Adam Bruss Sent: Friday, September 30, 2011 3:52 PM To: 'Chris Fouts' Subject: RE: Nant hookup up with CxxTest or CppUnit We have nant run our executable with a certain flag which tells it to run the unittests and write the results to an xml file using Cppunit::XmlOutputter. Then we merge that file into the cruisecontrol log and transform it with an xsl file to show the test results in the cruisecontrol emails. Are you using Cruisecontrol? Adam Bruss Senior Development Engineer AWR Corporation 11520 N. Port Washington Rd., Suite 201 Mequon, WI 53092 USA P: 1.262.240.0291 x104 F: 1.262.240.0294 E: abr...@awrcorp.com W: http://www.awrcorp.comhttp://www.awrcorp.com/ From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Friday, September 30, 2011 3:28 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Nant hookup up with CxxTest or CppUnit Can someone please point me to an example how Nant can start a test suite using CxxTest or CppUnit? I just want to know how Nant gets its feedback from those systems. ...or any testing suite really. -chris ***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.*** -- 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] Nant hookup up with CxxTest or CppUnit
Thanks! I'm using CxxTest, not CppUnit, but your example will work since I have a *.exe file to run. I'll have to look further what resultproperty and how I can fit it in my environment. -chris From: Adam Bruss [mailto:abr...@awrcorp.com] Sent: 2011-10-05 17:14 To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: Nant hookup up with CxxTest or CppUnit Yes using an exec task. For example: exec program=analyst.exe failonerror=false resultproperty=testresult.analyst.exe verbose=true timeout=120 arg line=/unittest/ /exec Replace analyst.exe with your own executable which is setup with Cppunit to run unittests. Here is a tutorial on setting up Cppunit. I think you should go through this first. http://www.cs.nmsu.edu/~jeffery/courses/371/cppunit/money_example.html Adam Bruss Senior Development Engineer AWR Corporation 11520 N. Port Washington Rd., Suite 201 Mequon, WI 53092 USA P: 1.262.240.0291 x104 F: 1.262.240.0294 E: abr...@awrcorp.com W: http://www.awrcorp.comhttp://www.awrcorp.com/ From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Wednesday, October 05, 2011 2:51 PM To: Adam Bruss; nant-users@lists.sourceforge.net Subject: RE: Nant hookup up with CxxTest or CppUnit Yes, I'm using CruiseControl.NET and Nant in my case. So when you say you have Nant run your executable with a certain flag, you mean in an exec task block? -chris From: Adam Bruss [mailto:abr...@awrcorp.com] Sent: 2011-09-30 16:54 To: nant-users@lists.sourceforge.net Subject: [NAnt-users] FW: Nant hookup up with CxxTest or CppUnit From: Adam Bruss Sent: Friday, September 30, 2011 3:52 PM To: 'Chris Fouts' Subject: RE: Nant hookup up with CxxTest or CppUnit We have nant run our executable with a certain flag which tells it to run the unittests and write the results to an xml file using Cppunit::XmlOutputter. Then we merge that file into the cruisecontrol log and transform it with an xsl file to show the test results in the cruisecontrol emails. Are you using Cruisecontrol? Adam Bruss Senior Development Engineer AWR Corporation 11520 N. Port Washington Rd., Suite 201 Mequon, WI 53092 USA P: 1.262.240.0291 x104 F: 1.262.240.0294 E: abr...@awrcorp.com W: http://www.awrcorp.comhttp://www.awrcorp.com/ From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Friday, September 30, 2011 3:28 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Nant hookup up with CxxTest or CppUnit Can someone please point me to an example how Nant can start a test suite using CxxTest or CppUnit? I just want to know how Nant gets its feedback from those systems. ...or any testing suite really. -chris ***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.*** -- 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
[NAnt-users] Nant hookup up with CxxTest or CppUnit
Can someone please point me to an example how Nant can start a test suite using CxxTest or CppUnit? I just want to know how Nant gets its feedback from those systems. ...or any testing suite really. -chris ***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.*** -- 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-d2dcopy2___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Good Nant book for beginner
Expert .NET Delivery (Using Nant and CruiseControl.NET) by Marc Holmes From: Niranjan Bansal [mailto:bansalniran...@gmail.com] Sent: 2011-08-31 12:22 To: Scott Pennington Cc: nant-users@lists.sourceforge.net Subject: [NAnt-users] Good Nant book for beginner Hi, Can anyone recommend good book for beginners on Nant. Thanks Bhuvan Bansal ***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.*** -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] Calling a dependency twice?
Nant version 0.91, Build 0.91.3081.0 For some reason, I'm not able to call a depends target twice. Here's what I mean. Say I have target name=all Depends=TARGET1, target2, TARGET1, target3 --! Do something -- /target Nant executes TARGET1 before target2, and I expect it to execute TARGET1 between target2 and target3, but it does NOT! Is this a feature or a bug? -chris ***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.*** -- 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] Calling a dependency twice?
Thanks. From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov] Sent: Tuesday, June 21, 2011 11:04 AM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Calling a dependency twice? Per documentation: (http://nant.sourceforge.net/release/latest/help/fundamentals/targets.html) A target gets executed only once, even when more than one target depends on it Brian Wilson Department of Human Resources Email: brian.wil...@dhr.alabama.govmailto:brian.wil...@dhr.alabama.gov From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Tuesday, June 21, 2011 9:58 AM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Calling a dependency twice? Nant version 0.91, Build 0.91.3081.0 For some reason, I'm not able to call a depends target twice. Here's what I mean. Say I have target name=all Depends=TARGET1, target2, TARGET1, target3 --! Do something -- /target Nant executes TARGET1 before target2, and I expect it to execute TARGET1 between target2 and target3, but it does NOT! Is this a feature or a bug? -chris ***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.*** -- 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] Calling a dependency twice?
I created a foreach loop to call all my targets, and this worked too. -chris From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov] Sent: Tuesday, June 21, 2011 12:47 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Calling a dependency twice? You're welcome. You may just want to use the call task. call target=Target1/ call target=Target2/ call target=Target1/ call target=Target3/ Brian Wilson Department of Human Resources Email: brian.wil...@dhr.alabama.govmailto:brian.wil...@dhr.alabama.gov From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Tuesday, June 21, 2011 11:13 AM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Calling a dependency twice? Thanks. From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov] Sent: Tuesday, June 21, 2011 11:04 AM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Calling a dependency twice? Per documentation: (http://nant.sourceforge.net/release/latest/help/fundamentals/targets.html) A target gets executed only once, even when more than one target depends on it Brian Wilson Department of Human Resources Email: brian.wil...@dhr.alabama.govmailto:brian.wil...@dhr.alabama.gov From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Tuesday, June 21, 2011 9:58 AM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Calling a dependency twice? Nant version 0.91, Build 0.91.3081.0 For some reason, I'm not able to call a depends target twice. Here's what I mean. Say I have target name=all Depends=TARGET1, target2, TARGET1, target3 --! Do something -- /target Nant executes TARGET1 before target2, and I expect it to execute TARGET1 between target2 and target3, but it does NOT! Is this a feature or a bug? -chris ***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.*** -- 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] mail question
I am, but the lab machine I'm running the scripts, even though it's on the company network, is NOT on the company domain, so the logged-in user is just a local user, not a domain user. -chris From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov] Sent: Thursday, June 16, 2011 12:00 PM To: Chris Fouts Subject: RE: mail question I apologize, I was assuming you were using exchange. Please disregard. Brian Wilson Department of Human Resources Email: brian.wil...@dhr.alabama.govmailto:brian.wil...@dhr.alabama.gov From: Wilson, Brian Sent: Thursday, June 16, 2011 10:51 AM To: 'Chris Fouts' Subject: RE: mail question I thought you just had to have SMTP enabled on the server. Brian Wilson Department of Human Resources Email: brian.wil...@dhr.alabama.govmailto:brian.wil...@dhr.alabama.gov From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Thursday, June 16, 2011 10:25 AM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] mail question I want to test the mail target, but I need to provide a username/pw to our mail server and the mail target does not have provisions for this, at least not described here http://nant.sourceforge.net/release/0.85-rc2/help/tasks/mail.html. How do I send emails then? -chris ***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.*** -- 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] mail question
Thanks for checking. I'll have to do it via CCNET then, since its publisher target accepts credentials. -chris From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov] Sent: Thursday, June 16, 2011 1:03 PM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: mail question It appears the backing class for this task is System.Web.Mail.MailMessage, which does not accept credentials. Brian Wilson Department of Human Resources Email: brian.wil...@dhr.alabama.govmailto:brian.wil...@dhr.alabama.gov From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Thursday, June 16, 2011 11:03 AM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] mail question I am, but the lab machine I'm running the scripts, even though it's on the company network, is NOT on the company domain, so the logged-in user is just a local user, not a domain user. -chris From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov] Sent: Thursday, June 16, 2011 12:00 PM To: Chris Fouts Subject: RE: mail question I apologize, I was assuming you were using exchange. Please disregard. Brian Wilson Department of Human Resources Email: brian.wil...@dhr.alabama.govmailto:brian.wil...@dhr.alabama.gov From: Wilson, Brian Sent: Thursday, June 16, 2011 10:51 AM To: 'Chris Fouts' Subject: RE: mail question I thought you just had to have SMTP enabled on the server. Brian Wilson Department of Human Resources Email: brian.wil...@dhr.alabama.govmailto:brian.wil...@dhr.alabama.gov From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Thursday, June 16, 2011 10:25 AM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] mail question I want to test the mail target, but I need to provide a username/pw to our mail server and the mail target does not have provisions for this, at least not described here http://nant.sourceforge.net/release/0.85-rc2/help/tasks/mail.html. How do I send emails then? -chris ***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.*** -- 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] Solution format of file is not supported.
The solution target is buggy, and I've never been able to make it work. I just use the devenv.com command line. property name=devenv value=C:\Folder_with_devenv\devenv.com target name=SimController description=Building SimController exec program=${devenv} commandline=quot;full_path.slnquot; /build Release /out quot;full_path_output.logquot; / /target From: Jed Padilla [mailto:jpadi...@flclerks.com] Sent: Thursday, May 26, 2011 2:23 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Solution format of file is not supported. I recently had a friend recommend NAnt to me. The project I am working on has 10 different solutions to it, and each solution usually has multiple projects within that will output dll files for the final solution to use. I have a very simple .build file right now: project name=Solution Build Example default=rebuild property name=configuration value=release/ target name=clean description=Delete all previously compiled binaries. delete fileset include name=**/bin/** / include name=**/obj/** / /fileset /delete /target target name=build description=Build all targets. call target=build.FACCBase/ /target target name=rebuild depends=clean, build / target name=build.FACCBase solution configuration=${configuration} solutionfile=FACCBase.sln /solution /target /project The clean part is working fine, however when I get to the build portion I get errors: Solution format of file 'C:\TESTTFS\FACCBase\FACCBase.sln' is not supported. I am sure that you all will need more information to help me, so if you tell me what I am missing to get this working I will provide as much as I can. The solution in question has 8 projects and an active config of Debug|Any CPU Thanks. Jedadiah Padilla Programmer/Analyst || Florida Association of Court Clerks ***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.*** -- 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-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Solution format of file is not supported.
The installation instruction for nantcontrib say to copy the nantcontrib\bin files in the nant\bin folder. Did you do that? -chris From: Jed Padilla [mailto:jpadi...@flclerks.com] Sent: Thursday, May 26, 2011 3:49 PM To: 'Brass Tilde' Cc: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Solution format of file is not supported. I guess I am missing something simple. I went out and downloaded nantcontrib 0.85. I tried adding the following to my build.FACCBase target msbuild project=FACCBase.sln property name=Configuration value=debug/ /msbuild And now I am getting the error Invalid element msbuild. Unknown task or datatype. I put NAntContrib in a different spot that I put NAnt 0.9, and changed my nant.bat file to reflect the new location. What did I not do correctly? I think once I overcome this initial hurdle I will be good to go. From: Brass Tilde [mailto:brassti...@gmail.com] Sent: Thursday, May 26, 2011 3:32 PM To: Jed Padilla Cc: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Solution format of file is not supported. We've found that it's easiest to just use the MSBuild task, rather than the solution task, which calls out to MSBuild itself. On Thu, May 26, 2011 at 2:22 PM, Jed Padilla jpadi...@flclerks.commailto:jpadi...@flclerks.com wrote: I recently had a friend recommend NAnt to me. The project I am working on has 10 different solutions to it, and each solution usually has multiple projects within that will output dll files for the final solution to use. I have a very simple .build file right now: project name=Solution Build Example default=rebuild property name=configuration value=release/ target name=clean description=Delete all previously compiled binaries. delete fileset include name=**/bin/** / include name=**/obj/** / /fileset /delete /target target name=build description=Build all targets. call target=build.FACCBase/ /target target name=rebuild depends=clean, build / target name=build.FACCBase solution configuration=${configuration} solutionfile=FACCBase.sln /solution /target /project The clean part is working fine, however when I get to the build portion I get errors: Solution format of file 'C:\TESTTFS\FACCBase\FACCBase.sln' is not supported. I am sure that you all will need more information to help me, so if you tell me what I am missing to get this working I will provide as much as I can. The solution in question has 8 projects and an active config of Debug|Any CPU Thanks. Jedadiah Padilla Programmer/Analyst || Florida Association of Court Clerks -- 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-users mailing list NAnt-users@lists.sourceforge.netmailto:NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users ***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.*** -- 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-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Solution format of file is not supported.
Try Debug instead of debug, like this... msbuild project=FACCBase.sln property name=Configuration value=Debug/ /msbuild From: Jed Padilla [mailto:jpadi...@flclerks.com] Sent: Thursday, May 26, 2011 4:01 PM To: Chris Fouts; 'Brass Tilde' Cc: nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] Solution format of file is not supported. Somehow I managed to download NAnt .85 and not NAntContrib (I wondered why it looked exactly like the other binary I had, size and all). Now I am getting a better error message (I think) build.FACCBase: [msbuild] Build started 5/26/2011 3:57:55 PM. [msbuild] Project C:\TESTTFS\FACCBase\FACCBase.sln on node 0 (default target s). [msbuild] C:\TESTTFS\FACCBase\FACCBase.sln.cache(136,5): error MSB4126: The sp ecified solution configuration debug|BNB is invalid. Please specify a valid so lution configuration using the Configuration and Platform properties (e.g. MSBui ld.exe Solution.sln /p:Configuration=Debug /p:Platform=Any CPU) or leave those properties blank to use the default solution configuration. [msbuild] Done Building Project C:\TESTTFS\FACCBase\FACCBase.sln (default ta rgets) -- FAILED. [msbuild] [msbuild] Build FAILED. [msbuild] [msbuild] C:\TESTTFS\FACCBase\FACCBase.sln (default target) (1) - [msbuild] (ValidateSolutionConfiguration target) - [msbuild] C:\TESTTFS\FACCBase\FACCBase.sln.cache(136,5): error MSB4126: The specified solution configuration debug|BNB is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSB uild.exe Solution.sln /p:Configuration=Debug /p:Platform=Any CPU) or leave tho se properties blank to use the default solution configuration. [msbuild] [msbuild] 0 Warning(s) [msbuild] 1 Error(s) [msbuild] [msbuild] Time Elapsed 00:00:00.01 BUILD FAILED C:\TESTTFS\FACCBase\FACCBase.build(21,5): Failed to start MSBuild. C:\TESTTFS\FACCBase\FACCBase.build(21,5): External Program Failed: C:\Windows\Microsoft.NET\Framework\v3.5\msbuild.exe (return code was 1) From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Thursday, May 26, 2011 3:52 PM To: Jed Padilla; 'Brass Tilde' Cc: nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] Solution format of file is not supported. The installation instruction for nantcontrib say to copy the nantcontrib\bin files in the nant\bin folder. Did you do that? -chris From: Jed Padilla [mailto:jpadi...@flclerks.com] Sent: Thursday, May 26, 2011 3:49 PM To: 'Brass Tilde' Cc: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Solution format of file is not supported. I guess I am missing something simple. I went out and downloaded nantcontrib 0.85. I tried adding the following to my build.FACCBase target msbuild project=FACCBase.sln property name=Configuration value=debug/ /msbuild And now I am getting the error Invalid element msbuild. Unknown task or datatype. I put NAntContrib in a different spot that I put NAnt 0.9, and changed my nant.bat file to reflect the new location. What did I not do correctly? I think once I overcome this initial hurdle I will be good to go. From: Brass Tilde [mailto:brassti...@gmail.com] Sent: Thursday, May 26, 2011 3:32 PM To: Jed Padilla Cc: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Solution format of file is not supported. We've found that it's easiest to just use the MSBuild task, rather than the solution task, which calls out to MSBuild itself. On Thu, May 26, 2011 at 2:22 PM, Jed Padilla jpadi...@flclerks.commailto:jpadi...@flclerks.com wrote: I recently had a friend recommend NAnt to me. The project I am working on has 10 different solutions to it, and each solution usually has multiple projects within that will output dll files for the final solution to use. I have a very simple .build file right now: project name=Solution Build Example default=rebuild property name=configuration value=release/ target name=clean description=Delete all previously compiled binaries. delete fileset include name=**/bin/** / include name=**/obj/** / /fileset /delete /target target name=build description=Build all targets. call target=build.FACCBase/ /target target name=rebuild depends=clean, build / target name=build.FACCBase solution configuration=${configuration} solutionfile=FACCBase.sln /solution /target /project The clean part is working fine, however when I get to the build portion I get errors: Solution format of file 'C:\TESTTFS\FACCBase\FACCBase.sln' is not supported. I am sure that you all will need more information to help me, so if you tell me what I am missing to get this working
[NAnt-users] nant -projecthelp question
When running the nant -projecthelp command, the docs say that targets with descriptions are grouped as main targets, while targets without descriptions are grouped as sub targets. However, I have targets with description on them that are included in the sub targets instead of main targets. Any clues why? -chris ***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.*** -- 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-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] Is there a template/example for this setup?
This is a common architecture so I'm hoping someone's done this before. Say I have a Windows project with 2 components, each component in its on directory, like so: ProjectA Component1 File1.h File1.cpp File1.sln Component2 File2.h File2.cpp File2.sln I only want to build a component if a file changed in its corresponding folder. This entails that I have to: - Check for changes in the component directory with our SCM tool (sadly, Starteam in our case) - If changes exist, check out the changes - Build the solution file Then if and only if ALL components build, I do - Check in files - Label files -chris ***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.*** -- 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] Is there a template/example for this setup?
Thanks, but I don't have time to delve into yet another tool now, though I did d/l the app and perused through it a little. One thing that will help is if I can setup a nant target that checks for modifications on a certain folder, similar to the filtered sourcecontrol element of ccnet. -chris From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, May 13, 2011 9:37 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: Is there a template/example for this setup? CI Factory's scripts do this. IIRC he creates a text file with any changed files to determine if the project needs to be built. While I don't use CI Factory anymore I got several ideas from it and learned quite a few nant tricks. Even if you don't use it, setting it up and looking at the scripts is quite eye opening. http://cifactory.org/joomla/ BOb From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Friday, May 13, 2011 9:15 AM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Is there a template/example for this setup? This is a common architecture so I'm hoping someone's done this before. Say I have a Windows project with 2 components, each component in its on directory, like so: ProjectA Component1 File1.h File1.cpp File1.sln Component2 File2.h File2.cpp File2.sln I only want to build a component if a file changed in its corresponding folder. This entails that I have to: - Check for changes in the component directory with our SCM tool (sadly, Starteam in our case) - If changes exist, check out the changes - Build the solution file Then if and only if ALL components build, I do - Check in files - Label files -chris ***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.*** -- 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] Is there a template/example for this setup?
I'm playing around with creating a file history that will show file status like Out of date or Missing (Starteam-speak). I store this in a file called say c:\fileHist.txt. Now I want to peruse that file for those words. Is there a way in nant to do a regex inside file contents? I looked at the regex element and it did not seem to support this. -chris From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Friday, May 13, 2011 12:41 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Is there a template/example for this setup? Thanks, but I don't have time to delve into yet another tool now, though I did d/l the app and perused through it a little. One thing that will help is if I can setup a nant target that checks for modifications on a certain folder, similar to the filtered sourcecontrol element of ccnet. -chris From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, May 13, 2011 9:37 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: Is there a template/example for this setup? CI Factory's scripts do this. IIRC he creates a text file with any changed files to determine if the project needs to be built. While I don't use CI Factory anymore I got several ideas from it and learned quite a few nant tricks. Even if you don't use it, setting it up and looking at the scripts is quite eye opening. http://cifactory.org/joomla/ BOb From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Friday, May 13, 2011 9:15 AM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Is there a template/example for this setup? This is a common architecture so I'm hoping someone's done this before. Say I have a Windows project with 2 components, each component in its on directory, like so: ProjectA Component1 File1.h File1.cpp File1.sln Component2 File2.h File2.cpp File2.sln I only want to build a component if a file changed in its corresponding folder. This entails that I have to: - Check for changes in the component directory with our SCM tool (sadly, Starteam in our case) - If changes exist, check out the changes - Build the solution file Then if and only if ALL components build, I do - Check in files - Label files -chris ***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.*** -- 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] Is there a template/example for this setup?
Ah, I didn't know about uptodate, thanks!!! -chris From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, May 13, 2011 2:38 PM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: Is there a template/example for this setup? Its really as simple as comparing the current binary to the sourcecode using uptodate and only building a project if needed? I do that in my own builds. We have a tool that builds a database packager. I only build a new packager exe if any of the SQL schema source files have newer dates than the current packager exe. As a matter of fact, most compiler has a built in mode that will do this, don't they? BOb From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Friday, May 13, 2011 12:41 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Is there a template/example for this setup? Thanks, but I don't have time to delve into yet another tool now, though I did d/l the app and perused through it a little. One thing that will help is if I can setup a nant target that checks for modifications on a certain folder, similar to the filtered sourcecontrol element of ccnet. -chris From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, May 13, 2011 9:37 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: Is there a template/example for this setup? CI Factory's scripts do this. IIRC he creates a text file with any changed files to determine if the project needs to be built. While I don't use CI Factory anymore I got several ideas from it and learned quite a few nant tricks. Even if you don't use it, setting it up and looking at the scripts is quite eye opening. http://cifactory.org/joomla/ BOb From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Friday, May 13, 2011 9:15 AM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Is there a template/example for this setup? This is a common architecture so I'm hoping someone's done this before. Say I have a Windows project with 2 components, each component in its on directory, like so: ProjectA Component1 File1.h File1.cpp File1.sln Component2 File2.h File2.cpp File2.sln I only want to build a component if a file changed in its corresponding folder. This entails that I have to: - Check for changes in the component directory with our SCM tool (sadly, Starteam in our case) - If changes exist, check out the changes - Build the solution file Then if and only if ALL components build, I do - Check in files - Label files -chris ***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.*** -- 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] (no subject)
No ccnet does not send a build failed email when nant calls fail; hence I posted the question. I'm not sure I set this part up correctly. -Original Message- From: Adam Bruss [mailto:abr...@awrcorp.com] Sent: Tuesday, May 10, 2011 10:35 PM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] (no subject) So is ccnet sending a build failed email when nant calls fail? It should and it always has for me. -Original Message- From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Tuesday, May 10, 2011 9:04 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] (no subject) Yeah I have this; I used to have a pure ccnet script that worked. However, I switched to NAnt and put all my software build tasks in the NAnt script. So my ccnet project looks like this project sourcecontrol ... / tasks !-- NAnt script does the VS2010 software build -- nant /nant /tasks publishers.../publishers /project The problem I'm having is I have a tasks block that calls a nant script, and if the build fails in the NAnt script, it just calls the fail block of the NAnt script, and stops. From: Adam Bruss [abr...@awrcorp.com] Sent: Tuesday, May 10, 2011 8:02 PM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] (no subject) Here's a ccnet example of a publisher block that sends mail. publishers email from=foo...@fubar.com mailhost=smtp.foobar.com includeDetails=TRUE users user name=frank group=buildmaster address=fr...@fubar.com/ user name=bob group=buildmaster address=b...@fubar.com/ user name=jon group=buildmaster address=fr...@fubar.com/ user name=paul group=developers address=devd...@fubar.com/ /users groups group name=buildmaster notifications notificationTypeAlways/notificationType /notifications /group group name=developers notifications notificationTypeAlways/notificationType /notifications /group /groups /email /publishers For us the publishers block is the last thing in the project block. From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Tuesday, May 10, 2011 4:07 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] (no subject) I've started using ccnet with NAnt, where my ccnet script calls a NAnt script to do the actual build. However, I want ccnet to send an e-mail, not nant, when a script fails. I have a publisher ccnet block that I want executed that sends the e-mail. -chris ***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.*** -- 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
Re: [NAnt-users] (no subject)
Yes I posted it in the ccnet group, but I'm not sure it's a ccnet issue, so I asked here too. Ccnet does know that the Nant script failed since the dashboard indicates so. One thing I see that I missed is the notifications block, but shouldn't that default to Always? -chris tasks nant descriptionCalling Nant script/description executablenant.bat/executable baseDirectoryC:\SomeFolder/baseDirectory buildFilenant.build/buildFile targetList targetall/target /targetList buildTimeoutSeconds$(timeout90)/buildTimeoutSeconds /nant /tasks publishers xmllogger / buildpublisher publishDirc:\ccnet\SomeFolder/publishDir /buildpublisher email from=bradley.buil...@mycompany.com mailhost=smtpmail.mycompany.com mailport=25 includeDetails=TRUE mailhostUsername$(domain)\$(user)/mailhostUsername mailhostPassword$(pw)/mailhostPassword users user name=My Name group=BuildMeister address=my.n...@mycompany.com / /users groups group name=BuildMeister / group name=Bradley_A3_PE / group name=Bradley_A3_Developers / /groups /email /publishers -Original Message- From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Wednesday, May 11, 2011 10:37 AM To: Adam Bruss; nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] (no subject) No ccnet does not send a build failed email when nant calls fail; hence I posted the question. I'm not sure I set this part up correctly. -Original Message- From: Adam Bruss [mailto:abr...@awrcorp.com] Sent: Tuesday, May 10, 2011 10:35 PM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] (no subject) So is ccnet sending a build failed email when nant calls fail? It should and it always has for me. -Original Message- From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Tuesday, May 10, 2011 9:04 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] (no subject) Yeah I have this; I used to have a pure ccnet script that worked. However, I switched to NAnt and put all my software build tasks in the NAnt script. So my ccnet project looks like this project sourcecontrol ... / tasks !-- NAnt script does the VS2010 software build -- nant /nant /tasks publishers.../publishers /project The problem I'm having is I have a tasks block that calls a nant script, and if the build fails in the NAnt script, it just calls the fail block of the NAnt script, and stops. From: Adam Bruss [abr...@awrcorp.com] Sent: Tuesday, May 10, 2011 8:02 PM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] (no subject) Here's a ccnet example of a publisher block that sends mail. publishers email from=foo...@fubar.com mailhost=smtp.foobar.com includeDetails=TRUE users user name=frank group=buildmaster address=fr...@fubar.com/ user name=bob group=buildmaster address=b...@fubar.com/ user name=jon group=buildmaster address=fr...@fubar.com/ user name=paul group=developers address=devd...@fubar.com/ /users groups group name=buildmaster /group group name=developers notifications notificationTypeAlways/notificationType /notifications /group /groups /email /publishers For us the publishers block is the last thing in the project block. From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Tuesday, May 10, 2011 4:07 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] (no subject) I've started using ccnet with NAnt, where my ccnet script calls a NAnt script to do the actual build. However, I want ccnet to send an e-mail, not nant, when a script fails. I have a publisher ccnet block that I want executed that sends the e-mail. -chris ***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
[NAnt-users] (no subject)
I've started using ccnet with NAnt, where my ccnet script calls a NAnt script to do the actual build. However, I want ccnet to send an e-mail, not nant, when a script fails. I have a publisher ccnet block that I want executed that sends the e-mail. -chris ***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.*** -- 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] (no subject)
Yeah I have this; I used to have a pure ccnet script that worked. However, I switched to NAnt and put all my software build tasks in the NAnt script. So my ccnet project looks like this project sourcecontrol ... / tasks !-- NAnt script does the VS2010 software build -- nant /nant /tasks publishers.../publishers /project The problem I'm having is I have a tasks block that calls a nant script, and if the build fails in the NAnt script, it just calls the fail block of the NAnt script, and stops. From: Adam Bruss [abr...@awrcorp.com] Sent: Tuesday, May 10, 2011 8:02 PM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] (no subject) Here’s a ccnet example of a publisher block that sends mail. publishers email from=foo...@fubar.com mailhost=smtp.foobar.com includeDetails=TRUE users user name=frank group=buildmaster address=fr...@fubar.com/ user name=bob group=buildmaster address=b...@fubar.com/ user name=jon group=buildmaster address=fr...@fubar.com/ user name=paul group=developers address=devd...@fubar.com/ /users groups group name=buildmaster notifications notificationTypeAlways/notificationType /notifications /group group name=developers notifications notificationTypeAlways/notificationType /notifications /group /groups /email /publishers For us the publishers block is the last thing in the project block. From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Tuesday, May 10, 2011 4:07 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] (no subject) I've started using ccnet with NAnt, where my ccnet script calls a NAnt script to do the actual build. However, I want ccnet to send an e-mail, not nant, when a script fails. I have a publisher ccnet block that I want executed that sends the e-mail. -chris ***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.*** -- 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] Help recursively setting readonly attribute
I got it to work this way, that is, without the last * in the include elements. target name=removeReadOnly description=Remove read-only attribute of files attrib readonly=false fileset include name=C:\Some Folder\** / include name=C:\Other Folder\** / /fileset /attrib /target -Original Message- From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov] Sent: Thursday, May 05, 2011 9:29 AM To: Chris Fouts Subject: RE: Help recursively setting readonly attribute I tried all kinds of options, for the attrib tag and could not get it to work. I can use a fileset on other tags, like delete and copy, but it does not seem to work with attrib. The only other option I know of that may work is a foreach loop, that may work for the files as I know this works. However, I am not sure how to set the attribute for a folder. Brian Wilson Programmer Analyst, Associate Department of Human Resources Email: brian.wil...@dhr.alabama.gov From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Wednesday, May 04, 2011 5:01 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Help recursively setting readonly attribute I thought I had this, but apparently not, since I can't overwrite files in them. I run as Administrator so I have permission to do this. I want to set the read-only attribute for all files and subdirs under the two directories target name=removeReadOnly description=Remove read-only attribute of files attrib readonly=false fileset include name=C:\Some Folder\**\* / include name=C:\Other Folder\**\* / /fileset /attrib /target What am I missing? -chris ***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.*** -- 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-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Help recursively setting readonly attribute
I did NOT want the files to be read only, hence false. I should've said I wanted to set the read only attribute to false. -chris From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Thursday, May 05, 2011 9:59 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: Help recursively setting readonly attribute If you want to set the read only attribute, wouldn't you set readonly=true ??? BOb From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Wednesday, May 04, 2011 6:01 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Help recursively setting readonly attribute I thought I had this, but apparently not, since I can't overwrite files in them. I run as Administrator so I have permission to do this. I want to set the read-only attribute for all files and subdirs under the two directories target name=removeReadOnly description=Remove read-only attribute of files attrib readonly=false fileset include name=C:\Some Folder\**\* / include name=C:\Other Folder\**\* / /fileset /attrib /target What am I missing? -chris ***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.*** -- 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-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] Help recursively setting readonly attribute
I thought I had this, but apparently not, since I can't overwrite files in them. I run as Administrator so I have permission to do this. I want to set the read-only attribute for all files and subdirs under the two directories target name=removeReadOnly description=Remove read-only attribute of files attrib readonly=false fileset include name=C:\Some Folder\**\* / include name=C:\Other Folder\**\* / /fileset /attrib /target What am I missing? -chris ***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.*** -- 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-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] Help with exception
I just installed NAnt on my XP-based company laptop. When I run it I get the following. Any help? I have v0.91-alpah2 (latest from Sourceforge). Unhandled Exception: System.TypeInitializationException: The type initializer fo r 'NAnt.Console.ConsoleStub' threw an exception. --- System.Security.SecurityEx ception: Request for the permission of type 'System.Security.Permissions.FileIOP ermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5619 34e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMa rk stackMark, Boolean isPermSet) at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, S tackCrawlMark stackMark) at System.Security.CodeAccessPermission.Demand() at System.AppDomainSetup.VerifyDir(String dir, Boolean normalize) at System.AppDomain.get_BaseDirectory() at log4net.Config.XmlConfiguratorAttribute.Configure(Assembly sourceAssembly, ILoggerRepository targetRepository) at log4net.Core.DefaultRepositorySelector.ConfigureRepository(Assembly assemb ly, ILoggerRepository repository) at log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly repositor yAssembly, Type repositoryType, String repositoryName, Boolean readAssemblyAttri butes) at log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly repositor yAssembly, Type repositoryType) at log4net.Core.DefaultRepositorySelector.GetRepository(Assembly repositoryAs sembly) at log4net.Core.LoggerManager.GetLogger(Assembly repositoryAssembly, String n ame) at log4net.LogManager.GetLogger(Assembly repositoryAssembly, String name) at log4net.LogManager.GetLogger(Type type) at NAnt.Console.ConsoleStub..cctor() --- End of inner exception stack trace --- at NAnt.Console.ConsoleStub.Main(String[] args) -chris ***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.*** -- 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-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Help with exception
I have MS .NET framework 4.0 From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Tuesday, May 03, 2011 12:00 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Help with exception I just installed NAnt on my XP-based company laptop. When I run it I get the following. Any help? I have v0.91-alpah2 (latest from Sourceforge). Unhandled Exception: System.TypeInitializationException: The type initializer fo r 'NAnt.Console.ConsoleStub' threw an exception. --- System.Security.SecurityEx ception: Request for the permission of type 'System.Security.Permissions.FileIOP ermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5619 34e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMa rk stackMark, Boolean isPermSet) at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, S tackCrawlMark stackMark) at System.Security.CodeAccessPermission.Demand() at System.AppDomainSetup.VerifyDir(String dir, Boolean normalize) at System.AppDomain.get_BaseDirectory() at log4net.Config.XmlConfiguratorAttribute.Configure(Assembly sourceAssembly, ILoggerRepository targetRepository) at log4net.Core.DefaultRepositorySelector.ConfigureRepository(Assembly assemb ly, ILoggerRepository repository) at log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly repositor yAssembly, Type repositoryType, String repositoryName, Boolean readAssemblyAttri butes) at log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly repositor yAssembly, Type repositoryType) at log4net.Core.DefaultRepositorySelector.GetRepository(Assembly repositoryAs sembly) at log4net.Core.LoggerManager.GetLogger(Assembly repositoryAssembly, String n ame) at log4net.LogManager.GetLogger(Assembly repositoryAssembly, String name) at log4net.LogManager.GetLogger(Type type) at NAnt.Console.ConsoleStub..cctor() --- End of inner exception stack trace --- at NAnt.Console.ConsoleStub.Main(String[] args) -chris ***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.*** -- 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-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Help with exception
I have admin rights to the machine. I installed NAnt in C:\Program Files\NAnt\, which means I have the nant-0.91-alpha2 directory under that. Interestingly enough, I can run it with .NET 4.0 in a Windows 7 lab machine, as Administrator. -chris From: Ryan Boggs [mailto:rmbo...@gmail.com] Sent: Tuesday, May 03, 2011 12:27 PM To: Chris Fouts Cc: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Help with exception Known issue unfortunately. It's related to the new security model in .net 4, which I have been unable to reproduce on three different machines. This is the first report that I remember that had this error on XP. It's a company machine/laptop? What rights do you have on that machine? Where did you unzip nant to? What directory? Thanks, Ryan On May 3, 2011, at 9:03 AM, Chris Fouts chris.fo...@caemilusa.commailto:chris.fo...@caemilusa.com wrote: I have MS .NET framework 4.0 From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Tuesday, May 03, 2011 12:00 PM To: nant-users@lists.sourceforge.netmailto:nant-users@lists.sourceforge.net Subject: [NAnt-users] Help with exception I just installed NAnt on my XP-based company laptop. When I run it I get the following. Any help? I have v0.91-alpah2 (latest from Sourceforge). Unhandled Exception: System.TypeInitializationException: The type initializer fo r 'NAnt.Console.ConsoleStub' threw an exception. --- System.Security.SecurityEx ception: Request for the permission of type 'System.Security.Permissions.FileIOP ermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5619 34e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMa rk stackMark, Boolean isPermSet) at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, S tackCrawlMark stackMark) at System.Security.CodeAccessPermission.Demand() at System.AppDomainSetup.VerifyDir(String dir, Boolean normalize) at System.AppDomain.get_BaseDirectory() at log4net.Config.XmlConfiguratorAttribute.Configure(Assembly sourceAssembly, ILoggerRepository targetRepository) at log4net.Core.DefaultRepositorySelector.ConfigureRepository(Assembly assemb ly, ILoggerRepository repository) at log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly repositor yAssembly, Type repositoryType, String repositoryName, Boolean readAssemblyAttri butes) at log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly repositor yAssembly, Type repositoryType) at log4net.Core.DefaultRepositorySelector.GetRepository(Assembly repositoryAs sembly) at log4net.Core.LoggerManager.GetLogger(Assembly repositoryAssembly, String n ame) at log4net.LogManager.GetLogger(Assembly repositoryAssembly, String name) at log4net.LogManager.GetLogger(Type type) at NAnt.Console.ConsoleStub..cctor() --- End of inner exception stack trace --- at NAnt.Console.ConsoleStub.Main(String[] args) -chris ***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.*** -- 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-users mailing list NAnt-users@lists.sourceforge.netmailto:NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users -- 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-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Help with exception
Unlocking the zip file did the trick, even unpacking it in C:\Program Files\NAnt. Thanks all! -chris From: Daniel Nauck [mailto:daniel.na...@gmail.com] Sent: Tuesday, May 03, 2011 1:33 PM To: Chris Fouts Cc: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Help with exception Try to unblock that zip file after download and then unpack it, or unblock every unpacked .dll and .exe file. Daniel Am 03.05.2011 um 17:59 schrieb Chris Fouts: I just installed NAnt on my XP-based company laptop. When I run it I get the following. Any help? I have v0.91-alpah2 (latest from Sourceforge). Unhandled Exception: System.TypeInitializationException: The type initializer fo r 'NAnt.Console.ConsoleStub' threw an exception. --- System.Security.SecurityEx ception: Request for the permission of type 'System.Security.Permissions.FileIOP ermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5619 34e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMa rk stackMark, Boolean isPermSet) at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, S tackCrawlMark stackMark) at System.Security.CodeAccessPermission.Demand() at System.AppDomainSetup.VerifyDir(String dir, Boolean normalize) at System.AppDomain.get_BaseDirectory() at log4net.Config.XmlConfiguratorAttribute.Configure(Assembly sourceAssembly, ILoggerRepository targetRepository) at log4net.Core.DefaultRepositorySelector.ConfigureRepository(Assembly assemb ly, ILoggerRepository repository) at log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly repositor yAssembly, Type repositoryType, String repositoryName, Boolean readAssemblyAttri butes) at log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly repositor yAssembly, Type repositoryType) at log4net.Core.DefaultRepositorySelector.GetRepository(Assembly repositoryAs sembly) at log4net.Core.LoggerManager.GetLogger(Assembly repositoryAssembly, String n ame) at log4net.LogManager.GetLogger(Assembly repositoryAssembly, String name) at log4net.LogManager.GetLogger(Type type) at NAnt.Console.ConsoleStub..cctor() --- End of inner exception stack trace --- at NAnt.Console.ConsoleStub.Main(String[] args) -chris ***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.***-- 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-users mailing list NAnt-users@lists.sourceforge.netmailto:NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users -- 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-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] Help with exec
How can I as part of my arg in an exec? For example.. exec program=foo.exe commandline='-x arg value=c:\somefolder -option M/ /exec IOW, I want to execute the following command C:\foo.exe -x c:\somefolder -option M -chris ***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.*** -- 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-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users