diff --git a/build-support/tools/nant/COPYING.txt b/build-support/tools/nant/COPYING.txt index 45645b4b..5b6e7c66 100644 --- a/build-support/tools/nant/COPYING.txt +++ b/build-support/tools/nant/COPYING.txt @@ -1,340 +1,340 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License. + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/build-support/tools/nant/README.txt b/build-support/tools/nant/README.txt index 2d53720d..e0ba4b61 100644 --- a/build-support/tools/nant/README.txt +++ b/build-support/tools/nant/README.txt @@ -1,144 +1,158 @@ -NAnt - -What is it? ------------ -NAnt is a .NET based build tool. In theory it is kind of like make without -make's wrinkles. In practice it's a lot like Ant. - -If you are not familiar with Jakarta Ant you can get more information at the -Ant project web site (http://ant.apache.org/). - - -Why NAnt? ---------- -Because Ant was too Java specific. -Because Ant needed the Java runtime. NAnt only needs the .NET -or Mono runtime. - - -The Latest Version ------------------- -Details of the latest version can be found on the NAnt project web site -http://nant.sourceforge.net/ - - -Compilation and Installation -------------------------------- - - a. Build Requirements - -------------------- - To build NAnt, you will need the following components: - - on Windows - - * A version of the Microsoft .NET Framework - - Available from http://msdn.microsoft.com/netframework/ - - you will need the .NET Framework SDK as well as the runtime components - if you intend to compile programs. - - note that NAnt currently supports versions 1.0, 1.1 and 2.0 (Beta 1) - of the Microsoft .NET Framework. - - or - - * Mono for Windows (version 1.0 or higher) - - Available from http://www.mono-project.com/downloads/ - - Linux/Unix - - * GNU toolchain - including GNU make - - * pkg-config - - Available from: http://www.freedesktop.org/Software/pkgconfig - - * A working Mono installation and development libraries (version 1.0 or higher) - - Available from: http://www.mono-project.com/downloads/ - - - b. Building the Software - ------------------------ - - Build NAnt using Microsoft .NET - - GNU Make - -------- - - make install MONO= MCS=csc prefix= - - eg. make install MONO= MCS=csc prefix="c:\Program Files" - - NMake - ----- - - nmake -f Makefile.nmake install prefix= - - eg. nmake -f Makefile.nmake install prefix="c:\Program Files" - - - Building NAnt using Mono - - GNU Make - -------- - - make install prefix= - - eg. make install prefix="c:\Program Files" - - NMake - ----- - - nmake -f Makefile.nmake install MONO=mono CSC=mcs prefix= - - eg. nmake -f Makefile.nmake install MONO=mono CSC=mcs prefix=/usr/local/ - -Note: - -These instructions only apply to the source distribution of NAntContrib, as the binary distribution -contains pre-built assemblies. - - -Documentation -------------- -Documentation is available in HTML format, in the doc/ directory. - - -License -------- -Copyright (C) 2001-2005 Gerry Shaw - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -As a special exception, the copyright holders of this software give you -permission to link the assemblies with independent modules to produce new -assemblies, regardless of the license terms of these independent modules, -and to copy and distribute the resulting assemblies under terms of your -choice, provided that you also meet, for each linked independent module, -the terms and conditions of the license of that module. An independent -module is a module which is not derived from or based on these assemblies. -If you modify this software, you may extend this exception to your version -of the software, but you are not obligated to do so. If you do not wish to -do so, delete this exception statement from your version. - -A copy of the GNU General Public License is available in the COPYING.txt file -included with all NAnt distributions. - -For more licensing information refer to the GNU General Public License on the -GNU Project web site. -http://www.gnu.org/copyleft/gpl.html +NAnt + +What is it? +----------- +NAnt is a .NET based build tool. In theory it is kind of like make without +make's wrinkles. In practice it's a lot like Ant. + +If you are not familiar with Jakarta Ant you can get more information at the +Ant project web site (http://ant.apache.org/). + + +Why NAnt? +--------- +Because Ant was too Java specific. +Because Ant needed the Java runtime. NAnt only needs the .NET +or Mono runtime. + + +The Latest Version +------------------ +Details of the latest version can be found on the NAnt project web site +http://nant.sourceforge.net/ + + +Files +----- + README.txt - This file. + Makefile - Makefile for compilation with GNU Make. + Makefile.nmake - Makefile for compilation with Microsoft NMake. + + +Compilation and Installation +---------------------------- + + a. Overview + ----------- + The compilation process uses NAnt to build NAnt. + + The approach is to first compile a copy of NAnt (using make/nmake) for + bootstrapping purpose. Next, the bootstrapped version of NAnt is used in + conjunction with NAnt build file (NAnt.build) to build the full version. + + + b. Prerequisites + ---------------- + To build NAnt, you will need the following components: + + Windows + ------- + + * A version of the Microsoft .NET Framework + + Available from http://msdn.microsoft.com/netframework/ + + You will need the .NET Framework SDK as well as the runtime + components if you intend to compile programs. + + Note: NAnt currently supports versions 1.0, 1.1 and 2.0 + of the Microsoft .NET Framework. + + or + + * Mono for Windows (version 1.0 or higher) + + Available from http://www.mono-project.com/downloads/ + + Linux/Unix + ---------- + + * GNU toolchain - including GNU make + + * pkg-config + + Available from: http://www.freedesktop.org/Software/pkgconfig + + * A working Mono installation and development libraries (version 1.0 or higher) + + Available from: http://www.mono-project.com/downloads/ + + + b. Building the Software + ------------------------ + + Build NAnt using Microsoft .NET: + + GNU Make + -------- + make install MONO= MCS=csc prefix= [DESTDIR=] + + eg. make install MONO= MCS=csc prefix="c:\Program Files" + + NMake + ----- + nmake -f Makefile.nmake install prefix= [DESTDIR=] + + eg. nmake -f Makefile.nmake install prefix="c:\Program Files" + + + Building NAnt using Mono: + + GNU Make + -------- + make install prefix= [DESTDIR=] + + eg. make install prefix="c:\Program Files" + + NMake + ----- + nmake -f Makefile.nmake install MONO=mono CSC=mcs prefix= [DESTDIR=] + + eg. nmake -f Makefile.nmake install MONO=mono CSC=mcs prefix=/usr/local/ + +Note: + +These instructions only apply to the source distribution of NAnt, as the binary distribution +contains pre-built assemblies. + + +Documentation +------------- +Documentation is available in HTML format, in the doc/ directory. + + +License +------- +Copyright (C) 2001-2008 Gerry Shaw + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +As a special exception, the copyright holders of this software give you +permission to link the assemblies with independent modules to produce new +assemblies, regardless of the license terms of these independent modules, +and to copy and distribute the resulting assemblies under terms of your +choice, provided that you also meet, for each linked independent module, +the terms and conditions of the license of that module. An independent +module is a module which is not derived from or based on these assemblies. +If you modify this software, you may extend this exception to your version +of the software, but you are not obligated to do so. If you do not wish to +do so, delete this exception statement from your version. + +A copy of the GNU General Public License is available in the COPYING.txt file +included with all NAnt distributions. + +For more licensing information refer to the GNU General Public License on the +GNU Project web site. +http://www.gnu.org/copyleft/gpl.html diff --git a/build-support/tools/nant/bin/NAnt.CompressionTasks.dll b/build-support/tools/nant/bin/NAnt.CompressionTasks.dll index acbb3319..0b5eddc9 100644 Binary files a/build-support/tools/nant/bin/NAnt.CompressionTasks.dll and b/build-support/tools/nant/bin/NAnt.CompressionTasks.dll differ diff --git a/build-support/tools/nant/bin/NAnt.CompressionTasks.xml b/build-support/tools/nant/bin/NAnt.CompressionTasks.xml index 7189682a..8debfed0 100644 --- a/build-support/tools/nant/bin/NAnt.CompressionTasks.xml +++ b/build-support/tools/nant/bin/NAnt.CompressionTasks.xml @@ -4,132 +4,17 @@ NAnt.CompressionTasks - - - Expands a file packed using GZip compression. - - - Expands "test.tar.gz" to "test2.tar". - - - ]]> - - + + + Summary description for ExpandTask. + - - - Extracts the file from the gzip archive. - - - - - The file to expand. - - - - - The destination file. - - - - - Creates a tar file from the specified filesets. - - - Uses #ziplib (SharpZipLib), an open source Tar/Zip/GZip library written entirely in C#. - - - - Tar all files in ${build.dir} and ${doc.dir} into a file - called "backup.tar.gz", and apply gzip compression to it. - - - - - - - - - - - ]]> - - - - - - Creates the tar file. - - - - - The tar file to create. - - - - - Include empty directories in the generated tar file. The default is - . - - - - - The set of files to be included in the archive. - - - - - The compression method. The default is . - - - - - Specifies the compression methods supported by . - - - - - No compression. - - - - - GZIP compression. - - - - - BZIP2 compression. - - - - - Extracts files from a zip file. - - - Uses #ziplib (SharpZipLib), an open source Zip/GZip library written entirely in C#. - - - Extracts all the file from the zip, preserving the directory structure. - - - ]]> - - - - - - Extracts the files from the zip file. - - - + Extracts a file entry from the specified stream. The containing the compressed entry. + The directory where to store the expanded file. The name of the entry including directory information. The date of the entry. The uncompressed size of the entry. @@ -144,102 +29,250 @@ directory if it doesn't yet exist. - + Extracts a directory entry from the specified stream. The containing the directory entry. + The directory where to create the subdirectory. The name of the directory entry. The date of the entry. The destination directory for the entry could not be created. - + + + Overwrite files, even if they are newer than the corresponding + entries in the archive. The default is . + + + + + Expands a file packed using GZip compression. + + + Expands "test.tar.gz" to "test2.tar". + + + ]]> + + + + + + Extracts the file from the gzip archive. + + + + + The file to expand. + + + + + The destination file. + + + + + Creates a tar file from the specified filesets. + + + Uses #ziplib (SharpZipLib), an open source Tar/Zip/GZip library written entirely in C#. + + + + Tar all files in ${build.dir} and ${doc.dir} into a file + called "backup.tar.gz", and apply gzip compression to it. + + + + + + + + + + + ]]> + + + + + + Creates the tar file. + + + + + The tar file to create. + + + + + Include empty directories in the generated tar file. The default is + . + + + + + The set of files to be included in the archive. + + + - The archive file to expand. + The compression method. The default is . + + + Extracts files from a tar archive. + + + + Uses #ziplib + (SharpZipLib), an open source Zip/GZip library written entirely in C#. + + + + Extracts all files from a gzipped tar, preserving the directory structure. + + + ]]> + + + + + + Extracts the files from the archive. + + + + + The archive file to expand. + + + + + The directory where to store the expanded file(s). The default is + the project base directory. + + + + + The compression method. The default is . + + + + + Extracts files from a zip archive. + + + + Uses #ziplib + (SharpZipLib), an open source Zip/GZip library written entirely in C#. + + + + Extracts all the file from the zip, preserving the directory structure. + + + ]]> + + + + + + Extracts the files from the zip file. + + + + + The archive file to expand. + + - - The directory where the expanded files should be stored. The - default is the project base directory. - - - - - Overwrite files, even if they are newer than the corresponding - entries in the archive. The default is . - + + The directory where the expanded files should be stored. The + default is the project base directory. + - - The character encoding that has been used for filenames inside the - zip file. The default is the system's OEM code page. - + + The character encoding that has been used for filenames inside the + zip file. The default is the system's OEM code page. + - - Creates a zip file from the specified filesets. - - - Uses #ziplib (SharpZipLib), an open source Tar/Zip/GZip library written entirely in C#. - - - - Zip all files in ${build.dir} and ${doc.dir} into a file - called "backup.zip". - - - - - - - - - - - ]]> - - + + Creates a zip file from the specified filesets. + + + + Uses #ziplib + (SharpZipLib), an open source Tar/Zip/GZip library written entirely in C#. + + + + + Zip all files in ${build.dir} and ${doc.dir} into a file + called "backup.zip". + + + + + + + + + + + ]]> + + - - Creates the zip file. - + + Creates the zip file. + - - The zip file to create. - + + The zip file to create. + - - The comment for the file. - + + The comment for the file. + - - Date/time stamp for the files in the format MM/DD/YYYY HH:MM:SS. - + + Date/time stamp for the files in the format MM/DD/YYYY HH:MM:SS. + - - Desired level of compression. Possible values are 0 (STORE only) - to 9 (highest). The default is 6. - + + Desired level of compression. Possible values are 0 (STORE only) + to 9 (highest). The default is 6. + - - Include empty directories in the generated zip file. The default is - . - + + Include empty directories in the generated zip file. The default is + . + - - The set of files to be included in the archive. - + + The set of files to be included in the archive. + @@ -248,31 +281,100 @@ - - The character encoding to use for filenames and comment inside the - zip file. The default is the system's OEM code page. - + + The character encoding to use for filenames and comment inside the + zip file. The default is the system's OEM code page. + - - Specifies how entries with the same name should be processed. - + + Specifies how entries with the same name should be processed. + - - Overwrite existing entry with same name. - + + Overwrite existing entry with same name. + - - Preserve existing entry with the same name. - + + Preserve existing entry with the same name. + + + Report failure when two entries have the same name. + + + - Report failure when two entries have the same name. + Specialized for + that ignores case when converting from string. + + + Initializes a new instance of the + class. + + + + + Converts the given object to the type of this converter, using the + specified context and culture information. + + An that provides a format context. + A object. If a is passed, the current culture is assumed. + The to convert. + + An that represents the converted value. + + + + + Specifies the compression methods supported by + and . + + + + + No compression. + + + + + GZIP compression. + + + + + BZIP2 compression. + + + + + Specialized for + that ignores case when converting from string. + + + + + Initializes a new instance of the + class. + + + + + Converts the given object to the type of this converter, using the + specified context and culture information. + + An that provides a format context. + A object. If a is passed, the current culture is assumed. + The to convert. + + An that represents the converted value. + + A is a with extra @@ -280,45 +382,45 @@ - - A 3 digit octal string, specify the user, group and other modes - in the standard Unix fashion. Only applies to plain files. The - default is 644. - + + A 3 digit octal string, specify the user, group and other modes + in the standard Unix fashion. Only applies to plain files. The + default is 644. + - - A 3 digit octal string, specify the user, group and other modes - in the standard Unix fashion. Only applies to directories. The - default is 755. - + + A 3 digit octal string, specify the user, group and other modes + in the standard Unix fashion. Only applies to directories. The + default is 755. + - - The username for the tar entry. - + + The username for the tar entry. + - - The user identifier (UID) for the tar entry. - + + The user identifier (UID) for the tar entry. + - - The groupname for the tar entry. - + + The groupname for the tar entry. + - - The group identifier (GID) for the tar entry. - + + The group identifier (GID) for the tar entry. + - - The top level directory prefix. If set, all file and directory paths - in the fileset will have this value prepended. Can either be a single - directory name or a "/" separated path. - + + The top level directory prefix. If set, all file and directory paths + in the fileset will have this value prepended. Can either be a single + directory name or a "/" separated path. + @@ -372,11 +474,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -409,16 +511,16 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. - - Get the total number of files that are represented by the - filesets in this collection. - + + Get the total number of files that are represented by the + filesets in this collection. + @@ -433,28 +535,28 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + @@ -463,11 +565,11 @@ - - The top level directory prefix. If set, all file and directory paths - in the fileset will have this value prepended. Can either be a single - directory name or a "/" separated path. - + + The top level directory prefix. If set, all file and directory paths + in the fileset will have this value prepended. Can either be a single + directory name or a "/" separated path. + @@ -521,11 +623,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -558,16 +660,16 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. - - Get the total number of files that are represented by the - filesets in this collection. - + + Get the total number of files that are represented by the + filesets in this collection. + @@ -582,28 +684,28 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + diff --git a/build-support/tools/nant/bin/NAnt.Core.dll b/build-support/tools/nant/bin/NAnt.Core.dll index df9936bd..8b3741a9 100644 Binary files a/build-support/tools/nant/bin/NAnt.Core.dll and b/build-support/tools/nant/bin/NAnt.Core.dll differ diff --git a/build-support/tools/nant/bin/NAnt.Core.xml b/build-support/tools/nant/bin/NAnt.Core.xml index 4f8441fe..92d7cd1d 100644 --- a/build-support/tools/nant/bin/NAnt.Core.xml +++ b/build-support/tools/nant/bin/NAnt.Core.xml @@ -11,9 +11,9 @@ - - Base class for all validator attributes. - + + Base class for all validator attributes. + @@ -36,53 +36,50 @@ cannot be converted to a . - - Indicates that property should be treated as a XML attribute for the - task. - - - Examples of how to specify task attributes - - #region Public Instance Properties - - [BuildAttribute("out", Required=true)] - public string Output { - get { return _out; } - set { _out = value; } - } + + Indicates that property should be treated as a XML attribute for the + task. + + + Examples of how to specify task attributes + + #region Public Instance Properties - [BuildAttribute("optimize")] - [BooleanValidator()] - public bool Optimize { - get { return _optimize; } - set { _optimize = value; } - } + [BuildAttribute("out", Required=true)] + public string Output { + get { return _out; } + set { _out = value; } + } + [BuildAttribute("optimize")] + [BooleanValidator()] + public bool Optimize { + get { return _optimize; } + set { _optimize = value; } + } + [BuildAttribute("warnlevel")] + [Int32Validator(0,4)] // limit values to 0-4 + public int WarnLevel { + get { return _warnLevel; } + set { _warnLevel = value; } + } + [BuildElement("sources")] + public FileSet Sources { + get { return _sources; } + set { _sources = value; } + } - [BuildAttribute("warnlevel")] - [Int32Validator(0,4)] // limit values to 0-4 - public int WarnLevel { - get { return _warnLevel; } - set { _warnLevel = value; } - } + #endregion Public Instance Properties - [BuildElement("sources")] - public FileSet Sources { - get { return _sources; } - set { _sources = value; } - } - - #endregion Public Instance Properties - - #region Private Instance Fields - - private string _out = null; - private bool _optimize = false; - private int _warnLevel = 4; - private FileSet _sources = new FileSet(); - - #endregion Private Instance Fields - - + #region Private Instance Fields + + private string _out = null; + private bool _optimize = false; + private int _warnLevel = 4; + private FileSet _sources = new FileSet(); + + #endregion Private Instance Fields + + @@ -94,89 +91,85 @@ is a zero-length . - - Gets or sets the name of the XML attribute. - - - The name of the XML attribute. - + + Gets or sets the name of the XML attribute. + + + The name of the XML attribute. + - - Gets or sets a value indicating whether the attribute is required. - - - if the attribute is required; otherwise, - . The default is . - + + Gets or sets a value indicating whether the attribute is required. + + + if the attribute is required; otherwise, + . The default is . + - - Gets or sets a value indicating whether property references should - be expanded. - - - if properties should be expanded; otherwise - . The default is . - + + Gets or sets a value indicating whether property references should + be expanded. + + + if properties should be expanded; otherwise + . The default is . + - - Used to specify how this attribute will be handled as the XML is - parsed and given to the element. - - - if XML should be processed; otherwise - . The default is . - + + Used to specify how this attribute will be handled as the XML is + parsed and given to the element. + + + if XML should be processed; otherwise + . The default is . + - - Indicates that property should be treated as a XML arrayList - - - - Should only be applied to properties exposing strongly typed arrays or - strongly typed collections. - - - The XML format is like this: - - - - - - - - ]]> - - - + + Indicates that property should be treated as a XML arrayList + + + + Should only be applied to properties exposing strongly typed arrays or + strongly typed collections. + + + The XML format is like this: + + + + + + + + ]]> + + + - - Indicates that the property should be treated as an XML element and - further processing should be done. - - - - Should only be applied to properties exposing strongly typed arrays or - strongly typed collections. - - - The XML format is like this: - - - - - - - ]]> - - - + + Indicates that the property should be treated as an XML element and + further processing should be done. + + + + The XML format is like this: + + + + + + + ]]> + + + @@ -188,31 +181,31 @@ is a zero-length . - - Gets or sets the name of the attribute. - - - The name of the attribute. - + + Gets or sets the name of the attribute. + + + The name of the attribute. + - - Gets or sets a value indicating whether the attribute is required. - - - if the attribute is required; otherwise, - . The default is . - + + Gets or sets a value indicating whether the attribute is required. + + + if the attribute is required; otherwise, + . The default is . + - - Used to specify how this element will be handled as the XML is parsed - and given to the element. - - - if XML should be processed; otherwise - . The default is . - + + Used to specify how this element will be handled as the XML is parsed + and given to the element. + + + if XML should be processed; otherwise + . The default is . + @@ -239,34 +232,34 @@ reflection. - is . + is . - - Indicates that the property should be treated as a container for a - collection of build elements. - - - - Should only be applied to properties exposing strongly typed arrays or - strongly typed collections. - - - The XML format is like this: - - - - - - - - - - ]]> - - - + + Indicates that the property should be treated as a container for a + collection of build elements. + + + + Should only be applied to properties exposing strongly typed arrays or + strongly typed collections. + + + The XML format is like this: + + + + + + + + + + ]]> + + + @@ -279,15 +272,15 @@ is a zero-length . - - The name of the child element within the collection. - - - The name to check for in the XML of the elements in the collection. - - - This can be used for validation and schema generation. - + + The name of the child element within the collection. + + + The name to check for in the XML of the elements in the collection. + + + This can be used for validation and schema generation. + @@ -309,14 +302,14 @@ cannot be converted to a . - - Indicates that class should be treated as a NAnt element. - - - Attach this attribute to a subclass of Element to have NAnt be able - to recognize it. The name should be short but must not confict - with any other element already in use. - + + Indicates that class should be treated as a NAnt element. + + + Attach this attribute to a subclass of Element to have NAnt be able + to recognize it. The name should be short but must not confict + with any other element already in use. + @@ -328,18 +321,18 @@ is a zero-length . - - Gets or sets the name of the element. - - - The name of the element. - + + Gets or sets the name of the element. + + + The name of the element. + - - Indicates that a property should be treated as a XML file set for the - task. - + + Indicates that a property should be treated as a XML file set for the + task. + @@ -351,24 +344,24 @@ is a zero-length . - - Indicates that the value of the property to which the attribute is - assigned, can be configured on the framework-level in the NAnt application - configuration file. - - - - The following example shows a property of which the value can be - configured for a specific framework in the NAnt configuration file. - - - [FrameworkConfigurable("exename", Required=true)] - public virtual string ExeName { - get { return _exeName; } - set { _exeName = value; } - } - - + + Indicates that the value of the property to which the attribute is + assigned, can be configured on the framework-level in the NAnt application + configuration file. + + + + The following example shows a property of which the value can be + configured for a specific framework in the NAnt configuration file. + + + [FrameworkConfigurable("exename", Required=true)] + public virtual string ExeName { + get { return _exeName; } + set { _exeName = value; } + } + + @@ -380,30 +373,30 @@ is a zero-length . - - Gets or sets the name of the framework configuration attribute. - - The name of the framework configuration attribute. + + Gets or sets the name of the framework configuration attribute. + + The name of the framework configuration attribute. - - Gets or sets a value indicating whether the configuration attribute - is required. - - - if the configuration attribute is required; - otherwise, . The default is . - + + Gets or sets a value indicating whether the configuration attribute + is required. + + + if the configuration attribute is required; + otherwise, . The default is . + - - Gets or sets a value indicating whether property references should - be expanded. - - - if properties should be expanded; otherwise - . The default is . - + + Gets or sets a value indicating whether property references should + be expanded. + + + if properties should be expanded; otherwise + . The default is . + @@ -425,12 +418,12 @@ is a zero-length . - - Gets or sets the name of the function. - - - The name of the function. - + + Gets or sets the name of the function. + + + The name of the function. + @@ -460,23 +453,23 @@ - - Gets or sets the category of the function set. - - - The name of the category of the function set. - - - This will be displayed in the user docs. - + + Gets or sets the category of the function set. + + + The name of the category of the function set. + + + This will be displayed in the user docs. + - - Gets or sets the prefix of all functions in this function set. - - - The prefix of the functions in this function set. - + + Gets or sets the prefix of all functions in this function set. + + + The prefix of the functions in this function set. + @@ -533,35 +526,48 @@ - - The base of the number to validate, which must be 2, 8, 10, or 16. - - - The base of the number to validate. - - - The default is 10. - + + The base of the number to validate, which must be 2, 8, 10, or 16. + + + The base of the number to validate. + + + The default is 10. + - - Defines possible locations in which a task executable can be located. - + + Defines possible locations in which a task executable can be located. + - - Locates the task executable in the current Framework directory. - + + Locates the task executable in the current Framework directory. + - - Locates the task executable in the current Framework SDK directory. - + + Locates the task executable in the current Framework SDK directory. + Indicates the location that a task executable can be located in. + + + When applied to a task deriving from , + the program to execute will first be searched for in the designated + location. + + + If the program does not exist in that location, and the file name is + not an absolute path then the list of tool paths of the current + target framework will be searched (in the order in which they are + defined in the NAnt configuration file). + + @@ -599,15 +605,15 @@ is an empty string value and is set to . - - Gets or sets a value indicating whether an empty string or - should be a considered a valid value. - - - if an empty string or - should be considered a valid value; otherwise, . - The default is . - + + Gets or sets a value indicating whether an empty string or + should be a considered a valid value. + + + if an empty string or + should be considered a valid value; otherwise, . + The default is . + @@ -619,41 +625,38 @@ - - An optional error message that can be used to better describe the - regular expression error. - + + An optional error message that can be used to better describe the + regular expression error. + - - Indicates that property should be treated as a XML attribute for the - task. - - - Examples of how to specify task attributes - - // task XmlType default is string - [TaskAttribute("out", Required=true)] - string _out = null; // assign default value here - - [TaskAttribute("optimize")] - [BooleanValidator()] - // during ExecuteTask you can safely use Convert.ToBoolean(_optimize) - string _optimize = Boolean.FalseString; - - [TaskAttribute("warnlevel")] - [Int32Validator(0,4)] // limit values to 0-4 - // during ExecuteTask you can safely use Convert.ToInt32(_optimize) - string _warnlevel = "0"; - - [BuildElement("sources")] - FileSet _sources = new FileSet(); - - NOTE: Attribute values must be of type of string if you want - to be able to have macros. The field stores the exact value during - InitializeTask. Just before ExecuteTask is called NAnt will expand - all the macros with the current values. - + + Indicates that property should be treated as a XML attribute for the + task. + + + Examples of how to specify task attributes + + // task XmlType default is string + [TaskAttribute("out", Required=true)] + string _out = null; // assign default value here + [TaskAttribute("optimize")] + [BooleanValidator()] + // during ExecuteTask you can safely use Convert.ToBoolean(_optimize) + string _optimize = Boolean.FalseString; + [TaskAttribute("warnlevel")] + [Int32Validator(0,4)] // limit values to 0-4 + // during ExecuteTask you can safely use Convert.ToInt32(_optimize) + string _warnlevel = "0"; + [BuildElement("sources")] + FileSet _sources = new FileSet(); + + NOTE: Attribute values must be of type of string if you want + to be able to have macros. The field stores the exact value during + Initialize. Just before ExecuteTask is called NAnt will expand + all the macros with the current values. + @@ -665,14 +668,14 @@ is a zero-length . - - Indicates that class should be treated as a task. - - - Attach this attribute to a subclass of Task to have NAnt be able - to recognize it. The name should be short but must not confict - with any other task already in use. - + + Indicates that class should be treated as a task. + + + Attach this attribute to a subclass of Task to have NAnt be able + to recognize it. The name should be short but must not confict + with any other task already in use. + @@ -683,29 +686,16 @@ is . is a zero-length . - - - Functions as a chainable TextReader - - - Implements a abstraction over a TextReader that allows the class to represent - either a TextReader or another ChainableReader to which it is chained. - - By passing a ChainableReader as a constructor paramater it is possiable to - chain many ChainableReaders together. The last ChainableReader in the chain must - be based on a TextReader. - - - - Models a NAnt XML element in the build file. - - - - Automatically validates attributes in the element based on attributes - applied to members in derived classes. - - + + Models a NAnt XML element in the build file. + + + + Automatically validates attributes in the element based on attributes + applied to members in derived classes. + + @@ -725,18 +715,18 @@ Derived classes that wish to add custom initialization should override - the method. + the method. - - Logs a message with the given priority. - - The message priority at which the specified message is to be logged. - The message to be logged. - - The actual logging is delegated to the project. - + + Logs a message with the given priority. + + The message priority at which the specified message is to be logged. + The message to be logged. + + The actual logging is delegated to the project. + @@ -750,11 +740,21 @@ + + Derived classes should override to this method to provide extra + initialization and validation not covered by the base class. + + The XML node of the element to use for initialization. + + Derived classes should override to this method to provide extra initialization and validation not covered by the base class. - The XML node of the element to use for initialization. + + Access to the that was used to initialize + this is available through . + @@ -763,33 +763,33 @@ - - Performs initialization using the given set of properties. - + + Performs initialization using the given set of properties. + - - Initializes all build attributes and child elements. - + + Initializes all build attributes and child elements. + - - Locates the XML node for the specified attribute in the project - configuration node. - - The name of attribute for which the XML configuration node should be located. - The framework to use to obtain framework specific information, or if no framework specific information should be used. - - The XML configuration node for the specified attribute, or - if no corresponding XML node could be - located. - - - If there's a valid current framework, the configuration section for - that framework will first be searched. If no corresponding - configuration node can be located in that section, the framework-neutral - section of the project configuration node will be searched. - + + Locates the XML node for the specified attribute in the project + configuration node. + + The name of attribute for which the XML configuration node should be located. + The framework to use to obtain framework specific information, or if no framework specific information should be used. + + The XML configuration node for the specified attribute, or + if no corresponding XML node could be + located. + + + If there's a valid current framework, the configuration section for + that framework will first be searched. If no corresponding + configuration node can be located in that section, the framework-neutral + section of the project configuration node will be searched. + @@ -817,12 +817,12 @@ - - Gets the name of the XML element used to initialize this element. - - - The name of the XML element used to initialize this element. - + + Gets the name of the XML element used to initialize this element. + + + The name of the XML element used to initialize this element. + @@ -854,21 +854,21 @@ - - Gets or sets the XML node of the element. - - - The XML node of the element. - + + Gets or sets the XML node of the element. + + + The XML node of the element. + - - Gets or sets the location in the build file where the element is - defined. - - - The location in the build file where the element is defined. - + + Gets or sets the location in the build file where the element is + defined. + + + The location in the build file where the element is defined. + @@ -914,11 +914,13 @@ is . - + Creates a child using property set/get methods. The instance that represents the property of the current class. + A representing the get accessor for the property. + A representing the set accessor for the property. The used to initialize the new instance. The collection of property values to use for macro expansion. The from which to obtain framework-specific information. @@ -946,10 +948,10 @@ - - Holds the dictionary that should be used for property - expansion. - + + Holds the dictionary that should be used for property + expansion. + @@ -960,21 +962,21 @@ - - Holds the names of the attributes that still need to be - processed. - + + Holds the names of the attributes that still need to be + processed. + - - Holds the names of the child nodes that still need to be - processed. - + + Holds the names of the child nodes that still need to be + processed. + - - Holds the logger for the current class. - + + Holds the logger for the current class. + @@ -994,74 +996,218 @@ + + Internal interface used for setting element attributes. + + + - Internal interface used for setting element attributes. + Represents an explicitly named list of directories. + + + A is useful when you want to capture a list of + directories regardless whether they currently exist. + + + + + The base of the directory of this dirlist. The default is the project + base directory. + + + + + Gets the collection of environment variables that should be passed + to external programs that are launched. + + + + The collection of environment variables that should be passed + to external programs that are launched. + + + + + + The command-line arguments for the runtime engine. + + + + + Represents an in which one or more extensions + are found. - + - Makes it so all calls to Read and Peek are passed the ChainableReader - passed as a parameter. + Initializes a new instance of the + class for a given . - ChainableReader to forward calls to + + The instance is not cached for + future use. If this is required, use . + + The for which to construct an . - + - Makes it so all calls to Read and Peek are passed the TextReader - passed as a parameter. - - TextReader to forward calls to - - - - Forwards Peek calls to the TextReader or ChainableReader passed in the corresponding constructor. - - Character or -1 if end of stream - - - - Forwards Read calls to the TextReader or ChainableReader passed in the corresponding constructor. + Creates an for the specified + and caches it for future use. + + If an for the same assembly is + available in the cache, then this cached instance is returned. + + The for which to construct an . - Character or -1 if end of stream. + The for the specified . - + - Closes the reader. + Gets the containing extensions. - + - Calls close and supresses the finalizer for the object. + Initializes a instance of the + class for an extension in a given . + + The in which the extension is found. + is . + + + + Initializes a instance of the + class for an extension in a given . + + The in which the extension is found. + is . + + + + Gets the in which the extension + was found. - + - Gets a value indicating if the reader is backed by a stream in the - chain. + Gets the from which the extension will + be created. - if the reader is backed by a stream; - otherwise, . + The containing the extension. - + - Allows a file's content to be modified while performing an operation. + Initializes a new instance of the + with the specified type. + The type of the to consume. + is . + + + + Responsible for scanning types for plugins, and maintaining a cache of + instances. + + + + + Scans a given for plugins. + + The containing the to scan. + The to scan. + The which will be used to output messages to the build log. + + if represents a + ; otherwise, . + + + + + Registers matching plugins for the specified . + + The which plugins must be registered for. + is . + + + + Functions as a chainable TextReader + + + Implements a abstraction over a TextReader that allows the class to represent + either a TextReader or another ChainableReader to which it is chained. + By passing a ChainableReader as a constructor paramater it is possiable to + chain many ChainableReaders together. The last ChainableReader in the chain must + be based on a TextReader. + + + + + Makes it so all calls to Read and Peek are passed the ChainableReader + passed as a parameter. + + ChainableReader to forward calls to + + + + Makes it so all calls to Read and Peek are passed the TextReader + passed as a parameter. + + TextReader to forward calls to + + + + Forwards Peek calls to the TextReader or ChainableReader passed in the corresponding constructor. + + Character or -1 if end of stream + + + + Forwards Read calls to the TextReader or ChainableReader passed in the corresponding constructor. + + + Character or -1 if end of stream. + + + + + Closes the reader. + + + + + Calls close and supresses the finalizer for the object. + + + + + Gets a value indicating if the reader is backed by a stream in the + chain. + + + if the reader is backed by a stream; + otherwise, . + + + + + Allows a file's content to be modified while performing an operation. + - - Called after construction and after properties are set. Allows - for filter initialization. - + + Called after construction and after properties are set. Allows + for filter initialization. + - - If then the filter will be used; otherwise, - skipped. The default is . - + + If then the filter will be used; otherwise, + skipped. The default is . + @@ -1073,10 +1219,23 @@ Creates a new instance of the class - for the specified class in the - specified. + for the specified class in the specified + . - The containing the . + + An for the specified + is cached for future use. + + The containing the . + The class representing the . + + + + Creates a new instance of the class + for the specified class in the specified + . + + The containing the . The class representing the . @@ -1089,15 +1248,6 @@ this . - - - Gets the from which the filter will be - created. - - - The containing the filter. - - Gets the name of the filter which the @@ -1172,11 +1322,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -1209,10 +1359,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -1233,28 +1383,28 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + @@ -1313,15 +1463,15 @@ - - Provides the abstract base class for types. - + + Provides the abstract base class for types. + - - Should be overridden by derived classes. clones the referenced types - data into the current instance. - + + Should be overridden by derived classes. clones the referenced types + data into the current instance. + @@ -1330,10 +1480,14 @@ - The ID used to be referenced later. + + The ID used to be referenced later. + - The ID to use as the reference. + + The ID to use as the reference. + @@ -1346,12 +1500,12 @@ - - Gets the name of the datatype. - - - The name of the datatype. - + + Gets the name of the datatype. + + + The name of the datatype. + @@ -1376,21 +1530,21 @@ - - The filters to apply. - + + The filters to apply. + - - The encoding to assume when filter-copying files. The default is - system's current ANSI code page. - + + The encoding to assume when filter-copying files. The default is + system's current ANSI code page. + - - Configurator that initializes filters in the order in which they've - been specified in the build file. - + + Configurator that initializes filters in the order in which they've + been specified in the build file. + @@ -1444,11 +1598,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -1481,10 +1635,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -1499,28 +1653,28 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + @@ -1557,32 +1711,32 @@ - - Holds data for expression expansion between input and output. - + + Holds data for expression expansion between input and output. + - - Called after construction and after properties are set. Allows - for filter initialization. - + + Called after construction and after properties are set. Allows + for filter initialization. + - - Reads the next character applying the filter logic. - - Char as an int or -1 if at the end of the stream + + Reads the next character applying the filter logic. + + Char as an int or -1 if at the end of the stream - - Reads the next character applying the filter logic without advancing the current position in the stream. - - Char as an int or -1 if at the end of the stream + + Reads the next character applying the filter logic without advancing the current position in the stream. + + Char as an int or -1 if at the end of the stream - - Moves to the next character. - + + Moves to the next character. + @@ -1591,9 +1745,9 @@ - - Determines whether we've passed the end of our data. - + + Determines whether we've passed the end of our data. + @@ -1638,47 +1792,46 @@ - - Construct that allows this filter to be chained to the one - in the parameter chainedReader. - - Filter that the filter will be chained to + + Construct that allows this filter to be chained to the one + in the parameter chainedReader. + + Filter that the filter will be chained to - - Reads the next character applying the filter logic. - - Char as an int or -1 if at the end of the stream + + Reads the next character applying the filter logic. + + Char as an int or -1 if at the end of the stream - - Reads the next character applying the filter logic without - advancing the current position in the stream. - - Peek currently is not supported. - - - Char as an int or -1 if at the end of the stream. - + + Reads the next character applying the filter logic without + advancing the current position in the stream. + Peek currently is not supported. + + + Char as an int or -1 if at the end of the stream. + - - - Helper function used to search for the filter's traget string. If the string - is found the result is true. If the string was not found false is returned and - nonMatchingChars contains the characters that were read to determine if the - string is present. - - - - It is assumed the stream is positioned at the character after the first character - in the target string. - - - First character in target string - Ture if the stream ended while search for the string. - Characters that were read while searching for the string. - + + + Helper function used to search for the filter's traget string. If the string + is found the result is true. If the string was not found false is returned and + nonMatchingChars contains the characters that were read to determine if the + string is present. + + + + It is assumed the stream is positioned at the character after the first character + in the target string. + + + First character in target string + Ture if the stream ended while search for the string. + Characters that were read while searching for the string. + @@ -1689,35 +1842,35 @@ Char as an int or -1 if at the end of the stream - - Compares to characters taking into account the _ignoreCase flag. - - - - + + Compares to characters taking into account the _ignoreCase flag. + + + + - - The string to be replaced. - + + The string to be replaced. + - - The new value for the replaced string. - Am empty string is permissible. - + + The new value for the replaced string. + Am empty string is permissible. + - - Determines if case will be ignored. - The default is . - + + Determines if case will be ignored. + The default is . + - - Delegate for Read and Peek. Allows the same implementation - to be used for both methods. - + + Delegate for Read and Peek. Allows the same implementation + to be used for both methods. + @@ -1769,43 +1922,42 @@ - - Construct that allows this filter to be chained to the one - in the parameter chainedReader. - - Filter that the filter will be chained to + + Construct that allows this filter to be chained to the one + in the parameter chainedReader. + + Filter that the filter will be chained to - - Reads the next character applying the filter logic. - - Char as an int or -1 if at the end of the stream + + Reads the next character applying the filter logic. + + Char as an int or -1 if at the end of the stream - - Reads the next character applying the filter logic without - advancing the current position in the stream. - - Peek currently is not supported. - - - Char as an int or -1 if at the end of the stream. - + + Reads the next character applying the filter logic without + advancing the current position in the stream. + Peek currently is not supported. + + + Char as an int or -1 if at the end of the stream. + - - - Initialize the filter by setting its parameters. - + + + Initialize the filter by setting its parameters. + - - Finds a token give that we are positioned at a beginning token character. Either a - token replacement is returned or the characters that were read looking for the token. - - A token was not found - A token was found by there is no replacement - The stream ended while looking for the token - Either the replacement token or the characters that were read looking for the token + + Finds a token give that we are positioned at a beginning token character. Either a + token replacement is returned or the characters that were read looking for the token. + + A token was not found + A token was found by there is no replacement + The stream ended while looking for the token + Either the replacement token or the characters that were read looking for the token @@ -1825,31 +1977,31 @@ - - Marks the beginning of a token. The default is "@". - + + Marks the beginning of a token. The default is "@". + - - Marks the end of a token. The default is "@". - + + Marks the end of a token. The default is "@". + - - Tokens and replacement values. - + + Tokens and replacement values. + - - Determines if case will be ignored. - The default is . - + + Determines if case will be ignored. + The default is . + - - Delegate for Read and Peek. Allows the same implementation - to be used for both methods. - + + Delegate for Read and Peek. Allows the same implementation + to be used for both methods. + @@ -1874,24 +2026,24 @@ - - Construct that allows this filter to be chained to the one - in the parameter chainedReader. - - Filter that the filter will be chained to + + Construct that allows this filter to be chained to the one + in the parameter chainedReader. + + Filter that the filter will be chained to - - Retrieves the next character with moving the position in the stream. - This method is not implemented - - -1 if end of stream otherwise a character + + Retrieves the next character with moving the position in the stream. + This method is not implemented + + -1 if end of stream otherwise a character - - Retrieves the next character in the stream. - - -1 if end of stream otherwise a character + + Retrieves the next character in the stream. + + -1 if end of stream otherwise a character @@ -1902,21 +2054,21 @@ Char as an int or -1 if at the end of the stream - - The number of spaces used when converting a tab. The default is - "8". - + + The number of spaces used when converting a tab. The default is + "8". + - - Delegate for Read and Peek. Allows the same implementation - to be used for both methods. - + + Delegate for Read and Peek. Allows the same implementation + to be used for both methods. + - - Functions to return information for a given assembly. - + + Functions to return information for a given assembly. + @@ -1965,13 +2117,13 @@ - - Gets the full name of the assembly, also known as the display name. - - The assembly to get the full name for. - - The full name of the assembly, also known as the display name. - + + Gets the full name of the assembly, also known as the display name. + + The assembly to get the full name for. + + The full name of the assembly, also known as the display name. + @@ -1984,19 +2136,19 @@ - - Gets the physical location, in codebase format, of the loaded file - that contains the manifest. - - The assembly to get the location for. - - The location of the specified assembly. - + + Gets the physical location, in codebase format, of the loaded file + that contains the manifest. + + The assembly to get the location for. + + The location of the specified assembly. + - - Functions that return information about an assembly's identity. - + + Functions that return information about an assembly's identity. + @@ -2115,7 +2267,7 @@ A string containing the value to convert. - if is equivalent to + if is equivalent to "True"; otherwise, . is not equivalent to or . @@ -2132,49 +2284,49 @@ - - Converts the argument to an integer. - - value to be converted - converted to integer. The function fails with an exception when the conversion is not possible. + + Converts the argument to an integer. + + value to be converted + converted to integer. The function fails with an exception when the conversion is not possible. - - Converts the argument to double - - The value to be converted. - converted to double. The function fails with an exception when the conversion is not possible. + + Converts the argument to double + + The value to be converted. + converted to double. The function fails with an exception when the conversion is not possible. - - Converts the argument to a string. - - The value to be converted. - - converted to string. The function fails - with an exception when the conversion is not possible. - - - Named method ConvertToString as a static ToString method would break - CLS compliance. - + + Converts the argument to a string. + + The value to be converted. + + converted to string. The function fails + with an exception when the conversion is not possible. + + + Named method ConvertToString as a static ToString method would break + CLS compliance. + - - Converts the argument to a datetime. - - value to be converted - converted to datetime. The function fails with an exception when the conversion is not possible. + + Converts the argument to a datetime. + + value to be converted + converted to datetime. The function fails with an exception when the conversion is not possible. - - Converts the argument to a boolean - - The string value to be converted to boolean. Must be 'true' or 'false'. - - converted to boolean. The function fails - with an exception when the conversion is not possible. - + + Converts the argument to a boolean + + The string value to be converted to boolean. Must be 'true' or 'false'. + + converted to boolean. The function fails + with an exception when the conversion is not possible. + @@ -2186,96 +2338,96 @@ - - Gets the year component of the specified date. - - The date of which to get the year component. - - The year, between 1 and 9999. - + + Gets the year component of the specified date. + + The date of which to get the year component. + + The year, between 1 and 9999. + - - Gets the month component of the specified date. - - The date of which to get the month component. - - The month, between 1 and 12. - + + Gets the month component of the specified date. + + The date of which to get the month component. + + The month, between 1 and 12. + - - Gets the day of the month represented by the specified date. - - The date of which to get the day of the month. - - The day value, between 1 and 31. - + + Gets the day of the month represented by the specified date. + + The date of which to get the day of the month. + + The day value, between 1 and 31. + - - Gets the hour component of the specified date. - - The date of which to get the hour component. - - The hour, between 0 and 23. - + + Gets the hour component of the specified date. + + The date of which to get the hour component. + + The hour, between 0 and 23. + - - Gets the minute component of the specified date. - - The date of which to get the minute component. - - The minute, between 0 and 59. - + + Gets the minute component of the specified date. + + The date of which to get the minute component. + + The minute, between 0 and 59. + - - Gets the seconds component of the specified date. - - The date of which to get the seconds component. - - The seconds, between 0 and 59. - + + Gets the seconds component of the specified date. + + The date of which to get the seconds component. + + The seconds, between 0 and 59. + - - Gets the milliseconds component of the specified date. - - The date of which to get the milliseconds component. - - The millisecond, between 0 and 999. - + + Gets the milliseconds component of the specified date. + + The date of which to get the milliseconds component. + + The millisecond, between 0 and 999. + - - Gets the number of ticks that represent the specified date. - - The date of which to get the number of ticks. - - The number of ticks that represent the date and time of the - specified date. - + + Gets the number of ticks that represent the specified date. + + The date of which to get the number of ticks. + + The number of ticks that represent the date and time of the + specified date. + - - Gets the day of the week represented by the specified date. - - The date of which to get the day of the week. - - The day of the week, ranging from zero, indicating Sunday, to six, - indicating Saturday. - + + Gets the day of the week represented by the specified date. + + The date of which to get the day of the week. + + The day of the week, ranging from zero, indicating Sunday, to six, + indicating Saturday. + - - Gets the day of the year represented by the specified date. - - The date of which to get the day of the year. - - The day of the year, between 1 and 366. - + + Gets the day of the year represented by the specified date. + + The date of which to get the day of the year. + + The day of the year, between 1 and 366. + @@ -2291,14 +2443,14 @@ is less than 1 or greater than 12. - - Returns an indication whether the specified year is a leap year. - - A 4-digit year. - - if is a leap year; - otherwise, . - + + Returns an indication whether the specified year is a leap year. + + A 4-digit year. + + if is a leap year; + otherwise, . + @@ -2332,9 +2484,9 @@ - - Groups a set of functions for dealing with directories. - + + Groups a set of functions for dealing with directories. + @@ -2424,23 +2576,37 @@ The specified path, file name, or both exceed the system-defined maximum length. + + Determines whether the given path refers to an existing directory + on disk. + + The path to test. + + if refers to an + existing directory; otherwise, . + + + Remove directory "test", if it exists. + + + ]]> + + + + + + Functions for requesting information from DNS. + + + - Determines whether the given path refers to an existing directory - on disk. + Gets the host name of the local computer. - The path to test. - if refers to an - existing directory; otherwise, . + A string that contains the DNS host name of the local computer. - - Remove directory "test", if it exists. - - - ]]> - - + An error is encountered when resolving the local host name. @@ -2475,9 +2641,9 @@ - - Provide information about the current environment and platform. - + + Provide information about the current environment and platform. + @@ -2537,27 +2703,27 @@ - - Gets the user name of the person who started the current thread. - - - The name of the person logged on to the system who started the - current thread. - - - - Modify the home directory of the current user on unix-based systems. - - - - - - - - ]]> - - + + Gets the user name of the person who started the current thread. + + + The name of the person logged on to the system who started the + current thread. + + + + Modify the home directory of the current user on unix-based systems. + + + + + + + + ]]> + + @@ -2570,28 +2736,28 @@ Environment variable does not exist. - - Gets a value indicating whether the specified environment variable - exists. - - The environment variable that should be checked. - - if the environment variable exists; otherwise, - . - - - - Execute a set of tasks only if the "BUILD_DEBUG" environment - variable is set. - - - - ... - - ]]> - - + + Gets a value indicating whether the specified environment variable + exists. + + The environment variable that should be checked. + + if the environment variable exists; otherwise, + . + + + + Execute a set of tasks only if the "BUILD_DEBUG" environment + variable is set. + + + + ... + + ]]> + + @@ -2610,10 +2776,27 @@ + + + Gets the newline string defined for this environment. + + + A string containing CRLF for non-Unix platforms, or LF for Unix + platforms. + + + Output two lines in a log file. + + + ]]> + + + - - Groups a set of functions for dealing with files. - + + Groups a set of functions for dealing with files. + @@ -2654,24 +2837,24 @@ The parameter is in an invalid format. - - Determines whether the specified file exists. - - The file to check. - - if refers to an - existing file; otherwise, . - - - Execute a set of tasks, if file "output.xml" does not exist. - - - ... - - ]]> - - + + Determines whether the specified file exists. + + The file to check. + + if refers to an + existing file; otherwise, . + + + Execute a set of tasks, if file "output.xml" does not exist. + + + ... + + ]]> + + @@ -2710,9 +2893,9 @@ The caller does not have path discovery permission. - - Functions that provide version information for a physical file on disk. - + + Functions that provide version information for a physical file on disk. + @@ -2763,6 +2946,243 @@ + + + Checks whether the specified framework exists, and is valid. + + The framework to test. + + if the specified framework exists ; otherwise, + . + + + + + Checks whether the SDK for the specified framework is installed. + + The framework to test. + + if the SDK for specified framework is installed; + otherwise, . + + + + + + + Gets the identifier of the current target framework. + + + The identifier of the current target framework. + + + + + Gets the identifier of the runtime framework. + + + The identifier of the runtime framework. + + + + + Gets the family of the specified framework. + + The framework of which the family should be returned. + + The family of the specified framework. + + is not a valid framework identifier. + + + + + + Gets the version of the current target framework. + + + The version of the current target framework. + + + + + + Gets the version of the specified framework. + + The framework of which the version should be returned. + + The version of the specified framework. + + is not a valid framework identifier. + + + + + + Gets the description of the current target framework. + + + The description of the current target framework. + + + + + + Gets the description of the specified framework. + + The framework of which the description should be returned. + + The description of the specified framework. + + is not a valid framework identifier. + + + + + + Gets the Common Language Runtime version of the current target + framework. + + + The Common Language Runtime version of the current target framework. + + + + + + Gets the Common Language Runtime version of the specified framework. + + The framework of which the Common Language Runtime version should be returned. + + The Common Language Runtime version of the specified framework. + + is not a valid framework identifier. + + + + + + Gets the framework directory of the specified framework. + + The framework of which the framework directory should be returned. + + The framework directory of the specified framework. + + is not a valid framework identifier. + + + + + + Gets the assembly directory of the specified framework. + + The framework of which the assembly directory should be returned. + + The assembly directory of the specified framework. + + is not a valid framework identifier. + + + + + + Gets the SDK directory of the specified framework. + + The framework of which the SDK directory should be returned. + + The SDK directory of the specified framework, or an empty + if the SDK of the specified framework is not + installed. + + is not a valid framework identifier. + + + + + + Gets the absolute path of the specified tool for the current + target framework. + + The file name of the tool to search for. + + The absolute path to if found in one of the + configured tool paths; otherwise, an error is reported. + + could not be found in the configured tool paths. + + + The configured tool paths are scanned in the order in which they + are defined in the framework configuration. + + + The file name of the tool to search should include the extension. + + + + Use gacutil to install an assembly in the GAC. + + + + + + ]]> + + + + + + Gets the runtime engine of the specified framework. + + The framework of which the runtime engine should be returned. + + The full path to the runtime engine of the specified framework, or + an empty if no runtime engine is defined + for the specified framework. + + is not a valid framework identifier. + + + + + + Gets a comma-separated list of frameworks filtered by the specified + . + + A bitwise combination of values that filter the frameworks to retrieve. + + A comma-separated list of frameworks filtered by the specified + , sorted on name. + + + + Define a build-all target that executes the build + target once for each installed framework targeting compact + devices. + + + + + + + + + + + ... + + ]]> + + + + + + Checks whether the specified framework is valid. + + The framework to check. + is not a valid framework identifier. + Converts the specified string representation of a number to its @@ -2830,58 +3250,149 @@ - - Rounds the value to the nearest whole number - - Number to be rounded, can be anything convertible to a double. - - Rounded value. - + + Rounds the value to the nearest whole number + + Number to be rounded, can be anything convertible to a double. + + Rounded value. + - - Returns the largest whole number less than or equal to the specified - number. - - value to be , can be anything convertible to a double - - The largest whole number less than or equal to the specified number. - + + Returns the largest whole number less than or equal to the specified + number. + + value to be , can be anything convertible to a double + + The largest whole number less than or equal to the specified number. + - - Returns the smallest whole number greater than or equal to the specified number - - value - - The smallest whole number greater than or equal to the specified number. - + + Returns the smallest whole number greater than or equal to the specified number + + value + + The smallest whole number greater than or equal to the specified number. + - - Returns the absolute value of the specified number - - value to take the absolute value from - - when is greater - than or equal to zero; otherwise, -. - + + Returns the absolute value of the specified number + + value to take the absolute value from + + when is greater + than or equal to zero; otherwise, -. + - - Gets the base directory of the appdomain in which NAnt is running. - - - The base directory of the appdomain in which NAnt is running. - + + Gets the base directory of the appdomain in which NAnt is running. + + + The base directory of the appdomain in which NAnt is running. + + + Gets the NAnt assembly. + + + The NAnt assembly. + + + - Gets the NAnt assembly. + Searches the probing paths of the current target framework for the + specified file. + The name of the file to search for. - The NAnt assembly. + The absolute path to if found in one of the + configured probing; otherwise, an error is reported. + could not be found in the configured probing paths. + + + The (relative) probing paths are resolved relative to the base + directory of the appdomain in which NAnt is running. + + + The configured probing paths are scanned recursively in the order + in which they are defined in the framework configuration. + + + The file name to search should include the extension. + + + + + Compile an assembly referencing the nunit.framework assembly + for the current target framework that is shipped as part of the + NAnt distribution. + + + + + + + + + + + + ]]> + + + + + + Searches the probing paths of the current target framework for the + specified file. + + The directory to use a base directory for the probing paths. + The name of the file to search for. + + The absolute path to if found in one of the + configured probing; otherwise, an error is reported. + + could not be found in the configured probing paths. + + + The (relative) probing paths are resolved relative to the specified + base directory. + + + The configured probing paths are scanned recursively in the order + in which they are defined in the framework configuration. + + + The file name to search should include the extension. + + + + + Compile an assembly referencing the nunit.framework assembly + for the current target framework that is shipped as part of the + NAnt distribution. + + + + + + + + + + + + ]]> + + @@ -2922,34 +3433,34 @@ - - Gets the base directory of the current project. - - - The base directory of the current project. - + + Gets the base directory of the current project. + + + The base directory of the current project. + - - Checks whether the specified target exists. - - The target to test. - - if the specified target exists; otherwise, - . - - - - Execute target "clean", if it exists. - - - - - - ]]> - - + + Checks whether the specified target exists. + + The target to test. + + if the specified target exists; otherwise, + . + + + + Execute target "clean", if it exists. + + + + + + ]]> + + @@ -2973,14 +3484,14 @@ Target does not exist. - - Checks whether the specified task exists. - - The task to test. - - if the specified task exists; otherwise, - . - + + Checks whether the specified task exists. + + The task to test. + + if the specified task exists; otherwise, + . + @@ -2994,29 +3505,29 @@ Task is not available. - - Checks whether the specified property exists. - - The property to test. - - if the specified property exists; otherwise, - . - - - - Execute a set of tasks if the "build.debug" property - exists. - - - - - - - - ]]> - - + + Checks whether the specified property exists. + + The property to test. + + if the specified property exists; otherwise, + . + + + + Execute a set of tasks if the "build.debug" property + exists. + + + + + + + + ]]> + + @@ -3050,181 +3561,46 @@ property::is-dynamic('debug') - - - Checks whether the specified framework exists. - - The framework to test. - - if the specified framework exists; otherwise, - . - - - - - Checks whether the SDK for the specified framework is installed. - - The framework to test. - - if the SDK for specified framework is installed; - otherwise, . - - - - - - - Gets the identifier of the current target framework. - - - The identifier of the current target framework. - - - - - Gets the identifier of the runtime framework. - - - The identifier of the runtime framework. - - - - - Gets the family of the specified framework. - - The framework of which the family should be returned. - - The family of the specified framework. - - is not a valid framework identifier. - - - - - - Gets the version of the specified framework. - - The framework of which the version should be returned. - - The version of the specified framework. - - is not a valid framework identifier. - - - - - - Gets the description of the specified framework. - - The framework of which the description should be returned. - - The description of the specified framework. - - is not a valid framework identifier. - - - - - - Gets the Common Language Runtime version of the specified framework. - - The framework of which the Common Language Runtime version should be returned. - - The Common Language Runtime version of the specified framework. - - is not a valid framework identifier. - - - - - - Gets the framework directory of the specified framework. - - The framework of which the framework directory should be returned. - - The framework directory of the specified framework. - - is not a valid framework identifier. - - - - - - Gets the assembly directory of the specified framework. - - The framework of which the assembly directory should be returned. - - The assembly directory of the specified framework. - - is not a valid framework identifier. - - - - - - Gets the SDK directory of the specified framework. - - The framework of which the SDK directory should be returned. - - The SDK directory of the specified framework, or an empty - if the SDK of the specified framework is not - installed. - - is not a valid framework identifier. - - - - - - Gets the runtime engine of the specified framework. - - The framework of which the runtime engine should be returned. - - The full path to the runtime engine of the specified framework, or - an empty if no runtime engine is defined - for the specified framework. - - is not a valid framework identifier. - - - - - - Checks whether the specified framework is valid. - - The framework to check. - is not a valid framework identifier. - - - Gets the name of the platform on which NAnt is running. - - - The name of the platform on which NAnt is running. - + + Gets the name of the platform on which NAnt is running. + + + The name of the platform on which NAnt is running. + - - Checks whether NAnt is running on the win32 platform. - - - if NAnt is running on the win32 platform; - otherwise, . - + + Checks whether NAnt is running on Windows (and not just 32-bit Windows + as the name may lead you to believe). + + + if NAnt is running on Windows; + otherwise, . + + + + + Checks whether NAnt is running on Windows. + + + if NAnt is running on Windows; + otherwise, . + - - Checks whether NAnt is running on unix. - - - if NAnt is running on unix; - otherwise, . - + + Checks whether NAnt is running on Unix. + + + if NAnt is running on Unix; + otherwise, . + - - Functions that return information about an operating system. - + + Functions that return information about an operating system. + @@ -3569,26 +3945,26 @@ - - Factory method to return a new instance of ExecTask - - - + + Factory method to return a new instance of ExecTask + + + - - Returns the length of the specified string. - - input string - - The string's length. - - - string::get-length('foo') ==> 3 - - - string::get-length('') ==> 0 - + + Returns the length of the specified string. + + input string + + The string's length. + + + string::get-length('foo') ==> 3 + + + string::get-length('') ==> 0 + @@ -3632,108 +4008,108 @@ - - Tests whether the specified string starts with the specified prefix - string. - - test string - prefix string - - when is a prefix for - the string . Meaning, the characters at the - beginning of are identical to - ; otherwise, . - - - This function performs a case-sensitive word search using the - invariant culture. - - - string::starts-with('testing string', 'test') ==> true - - - string::starts-with('testing string', 'testing') ==> true - - - string::starts-with('testing string', 'string') ==> false - - - string::starts-with('test', 'testing string') ==> false - + + Tests whether the specified string starts with the specified prefix + string. + + test string + prefix string + + when is a prefix for + the string . Meaning, the characters at the + beginning of are identical to + ; otherwise, . + + + This function performs a case-sensitive word search using the + invariant culture. + + + string::starts-with('testing string', 'test') ==> true + + + string::starts-with('testing string', 'testing') ==> true + + + string::starts-with('testing string', 'string') ==> false + + + string::starts-with('test', 'testing string') ==> false + - - Tests whether the specified string ends with the specified suffix - string. - - test string - suffix string - - when is a suffix for - the string . Meaning, the characters at the - end of are identical to - ; otherwise, . - - - This function performs a case-sensitive word search using the - invariant culture. - - - string::ends-with('testing string', 'string') ==> true - - - string::ends-with('testing string', '') ==> true - - - string::ends-with('testing string', 'bring') ==> false - - - string::ends-with('string', 'testing string') ==> false - + + Tests whether the specified string ends with the specified suffix + string. + + test string + suffix string + + when is a suffix for + the string . Meaning, the characters at the + end of are identical to + ; otherwise, . + + + This function performs a case-sensitive word search using the + invariant culture. + + + string::ends-with('testing string', 'string') ==> true + + + string::ends-with('testing string', '') ==> true + + + string::ends-with('testing string', 'bring') ==> false + + + string::ends-with('string', 'testing string') ==> false + - - Returns the specified string converted to lowercase. - - input string - - The string in lowercase. - - - The casing rules of the invariant culture are used to convert the - to lowercase. - - - string::to-lower('testing string') ==> 'testing string' - - - string::to-lower('Testing String') ==> 'testing string' - - - string::to-lower('Test 123') ==> 'test 123' - + + Returns the specified string converted to lowercase. + + input string + + The string in lowercase. + + + The casing rules of the invariant culture are used to convert the + to lowercase. + + + string::to-lower('testing string') ==> 'testing string' + + + string::to-lower('Testing String') ==> 'testing string' + + + string::to-lower('Test 123') ==> 'test 123' + - - Returns the specified string converted to uppercase. - - input string - - The string in uppercase. - - - The casing rules of the invariant culture are used to convert the - to uppercase. - - - string::to-upper('testing string') ==> 'TESTING STRING' - - - string::to-upper('Testing String') ==> 'TESTING STRING' - - - string::to-upper('Test 123') ==> 'TEST 123' - + + Returns the specified string converted to uppercase. + + input string + + The string in uppercase. + + + The casing rules of the invariant culture are used to convert the + to uppercase. + + + string::to-upper('testing string') ==> 'TESTING STRING' + + + string::to-upper('Testing String') ==> 'TESTING STRING' + + + string::to-upper('Test 123') ==> 'TEST 123' + @@ -3767,101 +4143,101 @@ - - Tests whether the specified string contains the given search string. - - The string to search. - The string to locate within . - - if is found in - ; otherwise, . - - - This function performs a case-sensitive word search using the - invariant culture. - - - string::contains('testing string', 'test') ==> true - - - string::contains('testing string', '') ==> true - - - string::contains('testing string', 'Test') ==> false - - - string::contains('testing string', 'foo') ==> false - + + Tests whether the specified string contains the given search string. + + The string to search. + The string to locate within . + + if is found in + ; otherwise, . + + + This function performs a case-sensitive word search using the + invariant culture. + + + string::contains('testing string', 'test') ==> true + + + string::contains('testing string', '') ==> true + + + string::contains('testing string', 'Test') ==> false + + + string::contains('testing string', 'foo') ==> false + - - Returns the position of the first occurrence in the specified string - of the given search string. - - The string to search. - The string to locate within . - - - The lowest-index position of in - if it is found, or -1 if - does not contain . - - - If is an empty string, the return value - will always be 0. - - - - This function performs a case-sensitive word search using the - invariant culture. - - - string::index-of('testing string', 'test') ==> 0 - - - string::index-of('testing string', '') ==> 0 - - - string::index-of('testing string', 'Test') ==> -1 - - - string::index-of('testing string', 'ing') ==> 4 - + + Returns the position of the first occurrence in the specified string + of the given search string. + + The string to search. + The string to locate within . + + + The lowest-index position of in + if it is found, or -1 if + does not contain . + + + If is an empty string, the return value + will always be 0. + + + + This function performs a case-sensitive word search using the + invariant culture. + + + string::index-of('testing string', 'test') ==> 0 + + + string::index-of('testing string', '') ==> 0 + + + string::index-of('testing string', 'Test') ==> -1 + + + string::index-of('testing string', 'ing') ==> 4 + - - Returns the position of the last occurrence in the specified string - of the given search string. - - The string to search. - The string to locate within . - - - The highest-index position of in - if it is found, or -1 if - does not contain . - - - If is an empty string, the return value - is the last index position in . - - - - This function performs a case-sensitive word search using the - invariant culture. - - - string::last-index-of('testing string', 'test') ==> 0 - - - string::last-index-of('testing string', '') ==> 13 - - - string::last-index-of('testing string', 'Test') ==> -1 - - - string::last-index-of('testing string', 'ing') ==> 11 - + + Returns the position of the last occurrence in the specified string + of the given search string. + + The string to search. + The string to locate within . + + + The highest-index position of in + if it is found, or -1 if + does not contain . + + + If is an empty string, the return value + is the last index position in . + + + + This function performs a case-sensitive word search using the + invariant culture. + + + string::last-index-of('testing string', 'test') ==> 0 + + + string::last-index-of('testing string', '') ==> 13 + + + string::last-index-of('testing string', 'Test') ==> -1 + + + string::last-index-of('testing string', 'ing') ==> 11 + @@ -3928,52 +4304,52 @@ - - Returns the given string trimmed of whitespace. - - input string - - The string with any leading or trailing - white space characters removed. - - - string::trim(' test ') ==> 'test' - - - string::trim('\t\tfoo \r\n') ==> 'foo' - + + Returns the given string trimmed of whitespace. + + input string + + The string with any leading or trailing + white space characters removed. + + + string::trim(' test ') ==> 'test' + + + string::trim('\t\tfoo \r\n') ==> 'foo' + - - Returns the given string trimmed of leading whitespace. - - input string - - The string with any leading - whites pace characters removed. - - - string::trim-start(' test ') ==> 'test ' - - - string::trim-start('\t\tfoo \r\n') ==> 'foo \r\n' - + + Returns the given string trimmed of leading whitespace. + + input string + + The string with any leading + whites pace characters removed. + + + string::trim-start(' test ') ==> 'test ' + + + string::trim-start('\t\tfoo \r\n') ==> 'foo \r\n' + - - Returns the given string trimmed of trailing whitespace. - - input string - - The string with any trailing - white space characters removed. - - - string::trim-end(' test ') ==> ' test' - - - string::trim-end('\t\tfoo \r\n') ==> '\t\tfoo' - + + Returns the given string trimmed of trailing whitespace. + + input string + + The string with any trailing + white space characters removed. + + + string::trim-end(' test ') ==> ' test' + + + string::trim-end('\t\tfoo \r\n') ==> '\t\tfoo' + @@ -4320,17 +4696,17 @@ - - Provides the abstract base class for tasks. - - - A task is a piece of code that can be executed. - + + Provides the abstract base class for tasks. + + + A task is a piece of code that can be executed. + - - Executes the task unless it is skipped. - + + Executes the task unless it is skipped. + @@ -4402,42 +4778,61 @@ - - Initializes the configuration of the task using configuration - settings retrieved from the NAnt configuration file. - - - TO-DO : Remove this temporary hack when a permanent solution is - available for loading the default values from the configuration - file if a build element is constructed from code. - + + Initializes the configuration of the task using configuration + settings retrieved from the NAnt configuration file. + + + TO-DO : Remove this temporary hack when a permanent solution is + available for loading the default values from the configuration + file if a build element is constructed from code. + - - Deprecated (to be deleted). + + Initializes the task. - Initializes the task. + Initializes the task. - Executes the task. + Executes the task. + + + + Locates the XML node for the specified attribute in either the + configuration section of the extension assembly or the.project. + + The name of attribute for which the XML configuration node should be located. + The framework to use to obtain framework specific information, or if no framework specific information should be used. + + The XML configuration node for the specified attribute, or + if no corresponding XML node could be + located. + + + If there's a valid current framework, the configuration section for + that framework will first be searched. If no corresponding + configuration node can be located in that section, the framework-neutral + section of the project configuration node will be searched. + - - Determines if task failure stops the build, or is just reported. - The default is . - + + Determines if task failure stops the build, or is just reported. + The default is . + - - Determines whether the task should report detailed build log messages. - The default is . - + + Determines whether the task should report detailed build log messages. + The default is . + - - If then the task will be executed; otherwise, - skipped. The default is . - + + If then the task will be executed; otherwise, + skipped. The default is . + @@ -4447,14 +4842,14 @@ - - The name of the task. - + + The name of the task. + - - The prefix used when sending messages to the log. - + + The prefix used when sending messages to the log. + @@ -4471,43 +4866,49 @@ still be delivered to the build listeners. - + - The name of the file which will have its attributes set. This is - provided as an alternate to using the task's fileset. + Returns the TaskBuilder used to construct an instance of this + . + + + The name of the file which will have its attributes set. This is + provided as an alternate to using the task's fileset. + + - - All the matching files and directories in this fileset will have - their attributes set. - + + All the matching files and directories in this fileset will have + their attributes set. + - - Set the archive attribute. The default is . - + + Set the archive attribute. The default is . + - - Set the hidden attribute. The default is . - + + Set the hidden attribute. The default is . + - - Set the normal file attributes. This attribute is only valid if used - alone. The default is . - + + Set the normal file attributes. This attribute is only valid if used + alone. The default is . + - - Set the read-only attribute. The default is . - + + Set the read-only attribute. The default is . + - - Set the system attribute. The default is . - + + Set the system attribute. The default is . + @@ -4656,44 +5057,44 @@ - - The resource which must be available. - + + The resource which must be available. + - - The type of resource which must be present. - + + The type of resource which must be present. + - - The property that must be set if the resource is available. - + + The property that must be set if the resource is available. + - - Defines the possible resource checks. - + + Defines the possible resource checks. + - - Determines whether a given file exists. - + + Determines whether a given file exists. + - - Determines whether a given directory exists. - + + Determines whether a given directory exists. + - - Determines whether a given framework is available. - + + Determines whether a given framework is available. + - - Determines whether a given SDK is available. - + + Determines whether a given SDK is available. + @@ -4770,8 +5171,7 @@ build: init: - - [echo] initializing + [echo] initializing compile: @@ -4799,8 +5199,7 @@ build: init: - - [echo] initializing + [echo] initializing compile: @@ -4815,33 +5214,32 @@ - - Executes the specified target. - + + Executes the specified target. + - + Makes sure the is not calling its own parent. - The task XML node. - - NAnt target to call. - + + NAnt target to call. + - - Force an execute even if the target has already been executed. The - default is . - + + Force an execute even if the target has already been executed. The + default is . + - - Execute the specified targets dependencies -- even if they have been - previously executed. The default is . - + + Execute the specified targets dependencies -- even if they have been + previously executed. The default is . + @@ -4936,11 +5334,10 @@ Initialize new instance of the . - - - Checks whether the task is initialized with valid attributes. - - The used to initialize the task. + + + Checks whether the task is initialized with valid attributes. + @@ -4949,30 +5346,30 @@ A file that has to be copied does not exist or could not be copied. - - Actually does the file copies. - + + Actually does the file copies. + - - The file to copy. - + + The file to copy. + - - The file to copy to. - + + The file to copy to. + - - The directory to copy to. - + + The directory to copy to. + - - Overwrite existing files even if the destination files are newer. - The default is . - + + Overwrite existing files even if the destination files are newer. + The default is . + @@ -4994,21 +5391,21 @@ - - Chain of filters used to alter the file's content as it is copied. - + + Chain of filters used to alter the file's content as it is copied. + - - The encoding to use when reading files. The default is the system's - current ANSI code page. - + + The encoding to use when reading files. The default is the system's + current ANSI code page. + - - The encoding to use when writing the files. The default is - the encoding of the input file. - + + The encoding to use when writing the files. The default is + the encoding of the input file. + @@ -5028,9 +5425,9 @@ - - Holds the absolute paths and last write time of a given file. - + + Holds the absolute paths and last write time of a given file. + @@ -5041,20 +5438,20 @@ The last write time of the file. - - Gets the absolute path of the current file. - - - The absolute path of the current file. - + + Gets the absolute path of the current file. + + + The absolute path of the current file. + - - Gets the time when the current file was last written to. - - - The time when the current file was last written to. - + + Gets the time when the current file was last written to. + + + The time when the current file was last written to. + @@ -5115,21 +5512,20 @@ - - - Ensures the supplied attributes are valid. - - Xml node used to define this task instance. + + + Ensures the supplied attributes are valid. + - - The file to delete. - + + The file to delete. + - - The directory to delete. - + + The directory to delete. + @@ -5138,28 +5534,28 @@ - - All the files in the file set will be deleted. - + + All the files in the file set will be deleted. + - - Controls whether to show the name of each deleted file or directory. - The default is . - + + Controls whether to show the name of each deleted file or directory. + The default is . + - - An empty task that allows a build file to contain a description. - - - Set a description. - - This is a description. - ]]> - - + + An empty task that allows a build file to contain a description. + + + Set a description. + + This is a description. + ]]> + + @@ -5167,8 +5563,9 @@ - The message can be specified using the attribute - or as inline content. + The message can be specified using the attribute + or as inline content. If neither is included - or the message contains + only whitespace - then an empty message will be emitted in the output. Macros in the message will be expanded. @@ -5177,6 +5574,10 @@ When writing to a file, the attribute is ignored. + + Since NAnt 0.86, a newline will no longer be implictly added when + writing a message to a file. + @@ -5188,6 +5589,28 @@ ]]> + + + Writes a two-line message to the build log using inline content. + + + First line + Second line + ]]> + + + + + Writes a two-line message to the build log using the attribute. + + + + ]]> + + Writes a message with expanded macro to the build log. @@ -5221,27 +5644,33 @@ - - Outputs the message to the build log or the specified file. - + + Outputs the message to the build log or the specified file. + + + + + The encoding to use when writing message to a file. The default is + UTF-8 encoding without a Byte Order Mark (BOM). + - - The message to output. - + + The message to output. + - - Gets or sets the inline content that should be output. - - - The inline content that should be output. - + + Gets or sets the inline content that should be output. + + + The inline content that should be output. + - - The file to write the message to. - + + The file to write the message to. + @@ -5264,6 +5693,14 @@ Executes a system command. + + + Use of nested element(s) + is advised over the parameter, as + it supports automatic quoting and can resolve relative to absolute + paths. + + Ping "nant.sourceforge.net". @@ -5314,6 +5751,19 @@ Provides the abstract base class for tasks that execute external applications. + + + When a is applied to the + deriving class and does not return an + absolute path, then the program to execute will first be searched for + in the location specified by . + + + If the program does not exist in that location, then the list of tool + paths of the current target framework will be scanned in the order in + which they are defined in the NAnt configuration file. + + @@ -5322,9 +5772,9 @@ - - Will be used to ensure thread-safe operations. - + + Will be used to ensure thread-safe operations. + @@ -5350,10 +5800,14 @@ The that was started. - Reads from the stream until the external program is ended. + + Reads from the stream until the external program is ended. + - Reads from the stream until the external program is ended. + + Reads from the stream until the external program is ended. + @@ -5365,53 +5819,53 @@ The task is not available or not configured for the current framework. - - The name of the executable that should be used to launch the - external program. - - - The name of the executable that should be used to launch the external - program, or if no name is specified. - - - If available, the configured value in the NAnt configuration - file will be used if no name is specified. - + + The name of the executable that should be used to launch the + external program. + + + The name of the executable that should be used to launch the external + program, or if no name is specified. + + + If available, the configured value in the NAnt configuration + file will be used if no name is specified. + - - Gets the filename of the external program to start. - - - The filename of the external program. - - - Override in derived classes to explicitly set the location of the - external tool. - + + Gets the filename of the external program to start. + + + The filename of the external program. + + + Override in derived classes to explicitly set the location of the + external tool. + - - Gets the command-line arguments for the external program. - - - The command-line arguments for the external program. - + + Gets the command-line arguments for the external program. + + + The command-line arguments for the external program. + - - Gets the file to which the standard output should be redirected. - - - The file to which the standard output should be redirected, or - if the standard output should not be - redirected. - - - The default implementation will never allow the standard output - to be redirected to a file. Deriving classes should override this - property to change this behaviour. - + + Gets the file to which the standard output should be redirected. + + + The file to which the standard output should be redirected, or + if the standard output should not be + redirected. + + + The default implementation will never allow the standard output + to be redirected to a file. Deriving classes should override this + property to change this behaviour. + @@ -5424,33 +5878,71 @@ - - Gets the working directory for the application. - - - The working directory for the application. - + + Gets the working directory for the application. + + + The working directory for the application. + - - The maximum amount of time the application is allowed to execute, - expressed in milliseconds. Defaults to no time-out. - + + The maximum amount of time the application is allowed to execute, + expressed in milliseconds. Defaults to no time-out. + - - The command-line arguments for the external program. - + + The command-line arguments for the external program. + - Specifies whether the external program should be executed using a - runtime engine, if configured. The default is . + Specifies whether the external program is a managed application + which should be executed using a runtime engine, if configured. + The default is . - if the external program should be executed - using a runtime engine; otherwise, . + if the external program should be executed + using a runtime engine; otherwise, . + + + The value of is only used from + , and then only if its value is set to + . In which case + returns + if is . + + + In all other cases, the value of + is ignored. + + + + + + Specifies whether the external program should be treated as a managed + application, possibly forcing it to be executed under the currently + targeted version of the CLR. + + + A indicating how the program should + be treated. + + + + If is set to , + which is the default value, and is + then + is returned. + + + When the changing to , + then is set to ; + otherwise, it is changed to . + + @@ -5481,65 +5973,79 @@ - - Gets the value that the process specified when it terminated. - - - The code that the associated process specified when it terminated, - or -1000 if the process could not be started or did not - exit (in time). - + + Gets the value that the process specified when it terminated. + + + The code that the associated process specified when it terminated, + or -1000 if the process could not be started or did not + exit (in time). + + + + + Gets the unique identifier for the spawned application. + + + + + Gets or sets a value indicating whether the application should be + spawned. If you spawn an application, its output will not be logged + by NAnt. The default is . + - - Gets the command-line arguments, separated by spaces. - + + Gets the command-line arguments, separated by spaces. + - + Performs additional checks after the task has been initialized. - The used to initialize the task. does not hold a valid file name. - - Executes the external program. - + + Executes the external program. + - - The program to execute without command arguments. - - - The path will not be evaluated to a full path using the project - base directory. - + + The program to execute without command arguments. + + + The path will not be evaluated to a full path using the project + base directory. + - The command-line arguments for the program. + The command-line arguments for the program. These will be + passed as is to the external program. When quoting is necessary, + these must be explictly set as part of the value. Consider using + nested elements instead. - - Environment variables to pass to the program. - + + Environment variables to pass to the program. + - - The directory in which the command will be executed. - - - The directory in which the command will be executed. The default - is the project's base directory. - - - - The working directory will be evaluated relative to the project's - base directory if it is relative. - - + + The directory in which the command will be executed. + + + The directory in which the command will be executed. The default + is the project's base directory. + + + + The working directory will be evaluated relative to the project's + base directory if it is relative. + + @@ -5555,53 +6061,64 @@ - - Specifies whether the external program should be executed using a - runtime engine, if configured. The default is . - - - if the external program should be executed - using a runtime engine; otherwise, . - + + Specifies whether the external program should be executed using a + runtime engine, if configured. The default is . + + + if the external program should be executed + using a runtime engine; otherwise, . + + + + + Specifies whether the external program is a managed application + which should be executed using a runtime engine, if configured. + The default is . + + + if the external program should be executed + using a runtime engine; otherwise, . + - - Gets the filename of the external program to start. - - - The filename of the external program. - + + Gets the filename of the external program to start. + + + The filename of the external program. + - - Gets the command-line arguments for the external program. - - - The command-line arguments for the external program. - + + Gets the command-line arguments for the external program. + + + The command-line arguments for the external program. + - - The directory the program is in. - - - - The directory the program is in. The default is the project's base - directory. - - - The basedir will be evaluated relative to the project's base - directory if it is relative. - - + + The directory the program is in. + + + + The directory the program is in. The default is the project's base + directory. + + + The basedir will be evaluated relative to the project's base + directory if it is relative. + + - - The file to which the standard output will be redirected. - - - By default, the standard output is redirected to the console. - + + The file to which the standard output will be redirected. + + + By default, the standard output is redirected to the console. + @@ -5613,6 +6130,20 @@ otherwise, . + + + Gets or sets a value indicating whether the application should be + spawned. If you spawn an application, its output will not be logged + by NAnt. The default is . + + + + + The name of a property in which the unique identifier of the spawned + application should be stored. Only of interest if + is . + + Exits the current build by throwing a , @@ -5724,71 +6255,70 @@ - - - Initializes task and ensures the supplied attributes are valid. - - Xml node used to define this task instance. + + + Initializes task and ensures the supplied attributes are valid. + - - This is where the work is done - + + This is where the work is done + - - Sets the timestamp of a given file to a specified time. - + + Sets the timestamp of a given file to a specified time. + - - The URL from which to retrieve a file. - + + The URL from which to retrieve a file. + - - The file where to store the retrieved file. - + + The file where to store the retrieved file. + - - If inside a firewall, proxy server/port information - Format: {proxy server name}:{port number} - Example: proxy.mycompany.com:8080 - + + If inside a firewall, proxy server/port information + Format: {proxy server name}:{port number} + Example: proxy.mycompany.com:8080 + - - The network proxy to use to access the Internet resource. - + + The network proxy to use to access the Internet resource. + - - The network credentials used for authenticating the request with - the Internet resource. - + + The network credentials used for authenticating the request with + the Internet resource. + - - Log errors but don't treat as fatal. The default is . - + + Log errors but don't treat as fatal. The default is . + - - Conditionally download a file based on the timestamp of the local - copy. HTTP only. The default is . - + + Conditionally download a file based on the timestamp of the local + copy. HTTP only. The default is . + - - The length of time, in milliseconds, until the request times out. - The default is 100000 milliseconds. - + + The length of time, in milliseconds, until the request times out. + The default is 100000 milliseconds. + - - The security certificates to associate with the request. - + + The security certificates to associate with the request. + @@ -5832,7 +6362,7 @@ Tests the value of a property using expressions. + Build release configuration ]]> @@ -5942,17 +6472,16 @@ - - Executes embedded tasks in the order in which they are defined. - + + Executes embedded tasks in the order in which they are defined. + - - - Automatically exclude build elements that are defined on the task - from things that get executed, as they are evaluated normally during - XML task initialization. - - used to initialize the container. + + + Automatically exclude build elements that are defined on the task + from things that get executed, as they are evaluated normally during + XML task initialization. + @@ -5975,14 +6504,14 @@ - - The file to compare if uptodate. - + + The file to compare if uptodate. + - - The file to check against for the uptodate file. - + + The file to check against for the uptodate file. + @@ -5997,189 +6526,188 @@ - - Used to test whether a property is true. - + + Used to test whether a property is true. + - - Used to test whether a property exists. - + + Used to test whether a property exists. + - - Used to test whether a target exists. - + + Used to test whether a target exists. + - - Used to test arbitrary boolean expression. - + + Used to test arbitrary boolean expression. + - - The opposite of the if task. - - - Check that a property does not exist. - - - - - ]]> - - Check that a property value is not true. - - - - - ]]> - - - - Check that a target does not exist. - - - - - ]]> - - + + The opposite of the if task. + + + Check that a property does not exist. + + + + + ]]> + + Check that a property value is not true. + + + + + ]]> + + + + Check that a target does not exist. + + + + + ]]> + + - - Includes an external build file. - - - - This task is used to break your build file into smaller chunks. You - can load a partial build file and have it included into the build file. - - - Any global (project level) tasks in the included build file are executed - when this task is executed. Tasks in target elements are only executed - if that target is executed. - - - The project element attributes are ignored. - - - This task can only be in the global (project level) section of the - build file. - - - This task can only include files from the file system. - - - - - Include a task that fetches the project version from the - GetProjectVersion.include build file. - - - - ]]> - - + + Includes an external build file. + + + + This task is used to break your build file into smaller chunks. You + can load a partial build file and have it included into the build file. + + + Any global (project level) tasks in the included build file are executed + when this task is executed. Tasks in target elements are only executed + if that target is executed. + + + The project element attributes are ignored. + + + This task can only be in the global (project level) section of the + build file. + + + This task can only include files from the file system. + + + + + Include a task that fetches the project version from the + GetProjectVersion.include build file. + + + + ]]> + + - - Used to check for recursived includes. - + + Used to check for recursived includes. + - - - Verifies parameters. - - Xml taskNode used to define this task instance. + + + Verifies parameters. + - - Build file to include. - + + Build file to include. + - - Load a text file into a single property. - - - - Unless an encoding is specified, the encoding associated with the - system's current ANSI code page is used. - - - An UTF-8, little-endian Unicode, and big-endian Unicode encoded text - file is automatically recognized, if the file starts with the appropriate - byte order marks. - - - - - Load file message.txt into property "message". - - - - ]]> - - - - - Load a file using the "latin-1" encoding. - - - - ]]> - - - - - Load a file, replacing all @NOW@ tokens with the current - date/time. - - - - - - - - - - ]]> - - + + Load a text file into a single property. + + + + Unless an encoding is specified, the encoding associated with the + system's current ANSI code page is used. + + + An UTF-8, little-endian Unicode, and big-endian Unicode encoded text + file is automatically recognized, if the file starts with the appropriate + byte order marks. + + + + + Load file message.txt into property "message". + + + + ]]> + + + + + Load a file using the "latin-1" encoding. + + + + ]]> + + + + + Load a file, replacing all @NOW@ tokens with the current + date/time. + + + + + + + + + + ]]> + + - - The file to load. - + + The file to load. + - - The name of the property to save the content to. - + + The name of the property to save the content to. + - - The encoding to use when loading the file. The default is the encoding - associated with the system's current ANSI code page. - + + The encoding to use when loading the file. The default is the encoding + associated with the system's current ANSI code page. + - - The filterchain definition to use. - + + The filterchain definition to use. + @@ -6229,135 +6757,135 @@ Specified assembly or path does not exist. - + Validates the attributes. Both and are set. - - An assembly to load tasks from. - + + An assembly to load tasks from. + - - A directory to scan for task assemblies. - + + A directory to scan for task assemblies. + - - Used to select which directories or individual assemblies to scan. - + + Used to select which directories or individual assemblies to scan. + - - Loops over a set of items. - - - - Can loop over files in directory, lines in a file, etc. - - - The property value is stored before the loop is done, and restored - when the loop is finished. - - - The property is returned to its normal value once it is used. Read-only - parameters cannot be overridden in this loop. - - - - Loops over the files in c:\. - - - - - ]]> - - - - Loops over all files in the project directory. - - - - - - - - - - - - ]]> - - - - Loops over the folders in c:\. - - - - - ]]> - - - - Loops over all folders in the project directory. - - - - - - - - - - - - ]]> - - - - Loops over a list. - - - - - ]]> - - - - - Loops over lines in the file properties.csv, where each line - is of the format name,value. - - - - - - ]]> - - + + Loops over a set of items. + + + + Can loop over files in directory, lines in a file, etc. + + + The property value is stored before the loop is done, and restored + when the loop is finished. + + + The property is returned to its normal value once it is used. Read-only + parameters cannot be overridden in this loop. + + + + Loops over the files in c:\. + + + + + ]]> + + + + Loops over all files in the project directory. + + + + + + + + + + + + ]]> + + + + Loops over the folders in c:\. + + + + + ]]> + + + + Loops over all folders in the project directory. + + + + + + + + + + + + ]]> + + + + Loops over a list. + + + + + ]]> + + + + + Loops over lines in the file properties.csv, where each line + is of the format name,value. + + + + + + ]]> + + - - The NAnt property name(s) that should be used for the current - iterated item. - - - If specifying multiple properties, separate them with a comma. - + + The NAnt property name(s) that should be used for the current + iterated item. + + + If specifying multiple properties, separate them with a comma. + - - The type of iteration that should be done. - + + The type of iteration that should be done. + @@ -6366,14 +6894,14 @@ - - The source of the iteration. - + + The source of the iteration. + - - The deliminator char. - + + The deliminator char. + @@ -6387,127 +6915,126 @@ - - Tasks to execute for each matching item. - + + Tasks to execute for each matching item. + - - Do not remove any white space characters. - + + Do not remove any white space characters. + - - Remove all white space characters from the end of the current - item. - + + Remove all white space characters from the end of the current + item. + - - Remove all white space characters from the beginning of the - current item. - + + Remove all white space characters from the beginning of the + current item. + - - Remove all white space characters from the beginning and end of - the current item. - + + Remove all white space characters from the beginning and end of + the current item. + - - Sends an SMTP message. - - - - Text and text files to include in the message body may be specified as - well as binary attachments. - - - - - Sends an email from nant@sourceforge.net to three recipients - with a subject about the attachments. The body of the message will be - the combined contents of all .txt files in the base directory. - All zip files in the base directory will be included as attachments. - The message will be sent using the smtpserver.anywhere.com SMTP - server. - - - - - - - - - - - ]]> - - + + Sends an SMTP message. + + + + Text and text files to include in the message body may be specified as + well as binary attachments. + + + + + Sends an email from nant@sourceforge.net to three recipients + with a subject about the attachments. The body of the message will be + the combined contents of all .txt files in the base directory. + All zip files in the base directory will be included as attachments. + The message will be sent using the smtpserver.anywhere.com SMTP + server. + + + + + + + + + + + ]]> + + - - - Initializes task and ensures the supplied attributes are valid. - - Xml node used to define this task instance. + + + Initializes task and ensures the supplied attributes are valid. + - - This is where the work is done. - + + This is where the work is done. + - - Reads a text file and returns the content - in a string. - - The file to read content of. - - The content of the specified file. - + + Reads a text file and returns the content + in a string. + + The file to read content of. + + The content of the specified file. + - - Email address of sender. - + + Email address of sender. + - - Semicolon-separated list of recipient email addresses. - + + Semicolon-separated list of recipient email addresses. + - - Semicolon-separated list of CC: recipient email addresses. - + + Semicolon-separated list of CC: recipient email addresses. + - - Semicolon-separated list of BCC: recipient email addresses. - + + Semicolon-separated list of BCC: recipient email addresses. + - - Host name of mail server. The default is localhost. - + + Host name of mail server. The default is localhost. + - - Text to send in body of email message. - + + Text to send in body of email message. + - - Text to send in subject line of email message. - + + Text to send in subject line of email message. + @@ -6515,35 +7042,35 @@ - - Files that are transmitted as part of the body of the email message. - + + Files that are transmitted as part of the body of the email message. + - - Attachments that are transmitted with the message. - + + Attachments that are transmitted with the message. + - - Creates a directory and any non-existent parent directory if necessary. - - - Create the directory build. - - - ]]> - - - - Create the directory tree one/two/three. - - - ]]> - - + + Creates a directory and any non-existent parent directory if necessary. + + + Create the directory build. + + + ]]> + + + + Create the directory tree one/two/three. + + + ]]> + + @@ -6552,9 +7079,9 @@ The directory could not be created. - - The directory to create. - + + The directory to create. + @@ -6637,24 +7164,24 @@ - - Actually does the file moves. - + + Actually does the file moves. + - - The file to move. - + + The file to move. + - - The file to move to. - + + The file to move to. + - - The directory to move to. - + + The directory to move to. + @@ -6670,38 +7197,38 @@ - - Chain of filters used to alter the file's content as it is moved. - + + Chain of filters used to alter the file's content as it is moved. + - - Creates an XSD File for all available tasks. - - - - This can be used in conjuntion with the command-line option to do XSD - Schema validation on the build file. - - - - Creates a NAnt.xsd file in the current project directory. - - - ]]> - - + + Creates an XSD File for all available tasks. + + + + This can be used in conjuntion with the command-line option to do XSD + Schema validation on the build file. + + + + Creates a NAnt.xsd file in the current project directory. + + + ]]> + + - - Creates a NAnt Schema for given types - - The output stream to save the schema to. If , writing is ignored, no exception generated. - The list of tasks to generate XML Schema for. - The list of datatypes to generate XML Schema for. - The target namespace to output. - The new NAnt Schema. + + Creates a NAnt Schema for given types + + The output stream to save the schema to. If , writing is ignored, no exception generated. + The list of tasks to generate XML Schema for. + The list of datatypes to generate XML Schema for. + The target namespace to output. + The new NAnt Schema. @@ -6720,14 +7247,14 @@ The new instance. - - The name of the output file to which the XSD should be written. - + + The name of the output file to which the XSD should be written. + - - The target namespace for the output. Defaults to "http://tempuri.org/nant-donotuse.xsd" - + + The target namespace for the output. Defaults to "http://tempuri.org/nant-donotuse.xsd" + @@ -6814,140 +7341,139 @@ - + Validates the element. - The XML node of the task to use for initialization. - - The build file to build. - + + The build file to build. + - - The target to execute. To specify more than one target seperate - targets with a space. Targets are executed in order if possible. - The default is to use target specified in the project's default - attribute. - + + The target to execute. To specify more than one target seperate + targets with a space. Targets are executed in order if possible. + The default is to use target specified in the project's default + attribute. + - - Used to specify a set of build files to process. - + + Used to specify a set of build files to process. + - - Specifies whether current property values should be inherited by - the executed project. The default is . - + + Specifies whether current property values should be inherited by + the executed project. The default is . + - - Specifies whether all references will be copied to the new project. - The default is . - + + Specifies whether all references will be copied to the new project. + The default is . + - - Specifies a collection of properties that should be created in the - executed project. Note, existing properties with identical names - that are not read-only will be overwritten. - + + Specifies a collection of properties that should be created in the + executed project. Note, existing properties with identical names + that are not read-only will be overwritten. + - - Sets a property in the current project. - - - NAnt uses a number of predefined properties. - - - - Define a debug property with value . - - - - ]]> - - - - - Use the user-defined debug property. - - - - ]]> - - - - - Define a read-only property. This is just like passing in the param - on the command line. - - - - ]]> - - - - - Define a property, but do not overwrite the value if the property already exists (eg. it was specified on the command line). - - - - - - - ]]> - - - Executing this build file with the command line option -D:debug=false, - would cause the value specified on the command line to remain unaltered. - - - - - + + Sets a property in the current project. + + + NAnt uses a number of predefined properties. + + + + Define a debug property with value . + + + + ]]> + + + + + Use the user-defined debug property. + + + + ]]> + + + + + Define a read-only property. This is just like passing in the param + on the command line. + + + + ]]> + + + + + Define a property, but do not overwrite the value if the property already exists (eg. it was specified on the command line). + + + + + + + ]]> + + + Executing this build file with the command line option -D:debug=false, + would cause the value specified on the command line to remain unaltered. + + + + + - - The name of the NAnt property to set. - + + The name of the NAnt property to set. + - - The value to assign to the NAnt property. - + + The value to assign to the NAnt property. + - - Specifies whether the property is read-only or not. - The default is . - + + Specifies whether the property is read-only or not. + The default is . + - - Specifies whether references to other properties should not be - expanded when the value of the property is set, but expanded when - the property is actually used. By default, properties will be - expanded when set. - + + Specifies whether references to other properties should not be + expanded when the value of the property is set, but expanded when + the property is actually used. By default, properties will be + expanded when set. + - - Specifies whether the value of a property should be overwritten if - the property already exists (unless the property is read-only). - The default is . - + + Specifies whether the value of a property should be overwritten if + the property already exists (unless the property is read-only). + The default is . + @@ -7008,21 +7534,21 @@ - - Executes the task. - + + Executes the task. + - - Represents the regular expression to be evalued. - - - The regular expression to be evalued. - - - The pattern must contain one or more named constructs, which may - not contain any punctuation and cannot begin with a number. - + + Represents the regular expression to be evalued. + + + The regular expression to be evalued. + + + The pattern must contain one or more named constructs, which may + not contain any punctuation and cannot begin with a number. + @@ -7031,12 +7557,12 @@ - - Represents the input for the regular expression. - - - The input for the regular expression. - + + Represents the input for the regular expression. + + + The input for the regular expression. + @@ -7102,209 +7628,218 @@ - - Win32 DllImport for the SetEnvironmentVariable function. - - - - + + Win32 DllImport for the SetEnvironmentVariable function. + + + + - - *nix dllimport for the setenv function. - - - - - + + *nix dllimport for the setenv function. + + + + + + 0 if the execution is successful; otherwise, -1. + - - - Checks whether the task is initialized with valid attributes. - - + + + Deletes all instances of the variable name. + + The variable to unset. + + 0 if the execution is successful; otherwise, -1. + + + + + Checks whether the task is initialized with valid attributes. + - - Set the environment variables - + + Set the environment variables + - - Do the actual work here. - - The name of the environment variable. - The value of the environment variable. + + Do the actual work here. + + The name of the environment variable. + The value of the environment variable. - - The name of a single Environment variable to set - + + The name of a single Environment variable to set + - - The literal value for the environment variable. - + + The literal value for the environment variable. + - - The value for a file-based environment variable. NAnt will convert - it to an absolute filename. - + + The value for a file-based environment variable. NAnt will convert + it to an absolute filename. + - - The value for a directory-based environment variable. NAnt will - convert it to an absolute path. - + + The value for a directory-based environment variable. NAnt will + convert it to an absolute path. + - - The value for a PATH like environment variable. You can use - : or ; as path separators and NAnt will convert it to - the platform's local conventions. - + + The value for a PATH like environment variable. You can use + : or ; as path separators and NAnt will convert it to + the platform's local conventions. + - - A task for sleeping a specified period of time, useful when a build or deployment process - requires an interval between tasks. - - - Sleep 1 hour, 2 minutes, 3 seconds and 4 milliseconds. - - - ]]> - - - - Sleep 123 milliseconds. - - - ]]> - - + + A task for sleeping a specified period of time, useful when a build or deployment process + requires an interval between tasks. + + + Sleep 1 hour, 2 minutes, 3 seconds and 4 milliseconds. + + + ]]> + + + + Sleep 123 milliseconds. + + + ]]> + + - - - Verify parameters. - - taskNode used to define this task instance + + + Verify parameters. + - - Return time to sleep. - + + Return time to sleep. + - - Sleeps for the specified number of milliseconds. - - Number of milliseconds to sleep. + + Sleeps for the specified number of milliseconds. + + Number of milliseconds to sleep. - - Hours to add to the sleep time. - + + Hours to add to the sleep time. + - - Minutes to add to the sleep time. - + + Minutes to add to the sleep time. + - - Seconds to add to the sleep time. - + + Seconds to add to the sleep time. + - - Milliseconds to add to the sleep time. - + + Milliseconds to add to the sleep time. + - - Processes a document via XSLT. - - - Create a report in HTML. - - - ]]> - - - - Create a report in HTML, with a param. - - - - - - - ]]> - - - - Create a report in HTML, with a expanded param. - - - - - - - ]]> - - - - Create some code based on a directory of templates. - - - - - - - - - - ]]> - - + + Processes a document via XSLT. + + + Create a report in HTML. + + + ]]> + + + + Create a report in HTML, with a param. + + + + + + + ]]> + + + + Create a report in HTML, with a expanded param. + + + + + + + ]]> + + + + Create some code based on a directory of templates. + + + + + + + + + + ]]> + + - - Directory in which to store the results. The default is the project - base directory. - + + Directory in which to store the results. The default is the project + base directory. + - - Desired file extension to be used for the targets. The default is - html. - + + Desired file extension to be used for the targets. The default is + html. + - - URI or path that points to the stylesheet to use. If given as path, it can - be relative to the project's basedir or absolute. - + + URI or path that points to the stylesheet to use. If given as path, it can + be relative to the project's basedir or absolute. + @@ -7319,24 +7854,24 @@ - - Specifies a group of input files to which to apply the stylesheet. - + + Specifies a group of input files to which to apply the stylesheet. + - - XSLT parameters to be passed to the XSLT transformation. - + + XSLT parameters to be passed to the XSLT transformation. + - - XSLT extension objects to be passed to the XSLT transformation. - + + XSLT extension objects to be passed to the XSLT transformation. + - - The network proxy to use to access the Internet resource. - + + The network proxy to use to access the Internet resource. + @@ -7460,9 +7995,70 @@ - - The string to prefix the property names with. The default is "sys.". - + + The string to prefix the property names with. The default is "sys.". + + + + + Touches a file or set of files -- corresponds to the Unix touch command. + + + + If the file specified does not exist, the task will create it. + + + + Touch the Main.cs file. The current time is used. + + + ]]> + + + + + Touch all executable files in the project base directory and its + subdirectories. + + + + + + + + + ]]> + + + + + + Ensures the supplied attributes are valid. + + + + + The file to touch. + + + + + Specifies the new modification time of the file(s) in milliseconds + since midnight Jan 1 1970. + + + + + Specifies the new modification time of the file in the format + MM/DD/YYYY HH:MM:SS. + + + + + Used to select files that should be touched. + @@ -7514,139 +8110,77 @@ - - The property to receive the date/time string in the given pattern. - + + The property to receive the date/time string in the given pattern. + - The date/time pattern to be used. - - The following table lists the standard format characters for each standard pattern. The format characters are case-sensitive; for example, 'g' and 'G' represent slightly different patterns. - - - Format Character - Description Example Format Pattern (en-US) - - dMM/dd/yyyy - Ddddd, dd MMMM yyyy - fdddd, dd MMMM yyyy HH:mm - Fdddd, dd MMMM yyyy HH:mm:ss - gMM/dd/yyyy HH:mm - GMM/dd/yyyy HH:mm:ss - m, MMMMM dd - r, Rddd, dd MMM yyyy HH':'mm':'ss 'GMT' - syyyy'-'MM'-'dd'T'HH':'mm':'ss - tHH:mm - THH:mm:ss - uyyyy'-'MM'-'dd HH':'mm':'ss'Z' - Udddd, dd MMMM yyyy HH:mm:ss - y, Yyyyy MMMM - - The following table lists the patterns that can be combined to construct custom patterns. The patterns are case-sensitive; for example, "MM" is recognized, but "mm" is not. If the custom pattern contains white-space characters or characters enclosed in single quotation marks, the output string will also contain those characters. Characters not defined as part of a format pattern or as format characters are reproduced literally. - - - Format - Pattern Description - - dThe day of the month. Single-digit days will not have a leading zero. - ddThe day of the month. Single-digit days will have a leading zero. - dddThe abbreviated name of the day of the week. - ddddThe full name of the day of the week. - MThe numeric month. Single-digit months will not have a leading zero. - MMThe numeric month. Single-digit months will have a leading zero. - MMMThe abbreviated name of the month. - MMMMThe full name of the month. - yThe year without the century. If the year without the century is less than 10, the year is displayed with no leading zero. - yyThe year without the century. If the year without the century is less than 10, the year is displayed with a leading zero. - yyyyThe year in four digits, including the century. - ggThe period or era. This pattern is ignored if the date to be formatted does not have an associated period or era string. - hThe hour in a 12-hour clock. Single-digit hours will not have a leading zero. - hhThe hour in a 12-hour clock. Single-digit hours will have a leading zero. - HThe hour in a 24-hour clock. Single-digit hours will not have a leading zero. - HHThe hour in a 24-hour clock. Single-digit hours will have a leading zero. - mThe minute. Single-digit minutes will not have a leading zero. - mmThe minute. Single-digit minutes will have a leading zero. - sThe second. Single-digit seconds will not have a leading zero. - ssThe second. Single-digit seconds will have a leading zero. - fThe fraction of a second in single-digit precision. The remaining digits are truncated. - ffThe fraction of a second in double-digit precision. The remaining digits are truncated. - fffThe fraction of a second in three-digit precision. The remaining digits are truncated. - ffffThe fraction of a second in four-digit precision. The remaining digits are truncated. - fffffThe fraction of a second in five-digit precision. The remaining digits are truncated. - ffffffThe fraction of a second in six-digit precision. The remaining digits are truncated. - fffffffThe fraction of a second in seven-digit precision. The remaining digits are truncated. - tThe first character in the AM/PM designator. - ttThe AM/PM designator. - zThe time zone offset ("+" or "-" followed by the hour only). Single-digit hours will not have a leading zero. For example, Pacific Standard Time is "-8". - zzThe time zone offset ("+" or "-" followed by the hour only). Single-digit hours will have a leading zero. For example, Pacific Standard Time is "-08". - zzzThe full time zone offset ("+" or "-" followed by the hour and minutes). Single-digit hours and minutes will have leading zeros. For example, Pacific Standard Time is "-08:00". - :The default time separator. - /The default date separator. - \ cPattern Where c is any character. Displays the character literally. To display the backslash character, use "\\". - - - - - - Touches a file or set of files -- corresponds to the Unix touch command. - - - - If the file specified does not exist, the task will create it. - - - - Touch the Main.cs file. The current time is used. - - - ]]> - - - - - Touch all executable files in the project base directory and its - subdirectories. - - - - - - - - - ]]> - - - - - - Ensures the supplied attributes are valid. - - Xml node used to define this task instance. - - - - The file to touch. - - - - - Specifies the new modification time of the file(s) in milliseconds - since midnight Jan 1 1970. - - - - - Specifies the new modification time of the file in the format - MM/DD/YYYY HH:MM:SS. - - - - - Used to select files that should be touched. - + The date/time pattern to be used. + + The following table lists the standard format characters for each standard pattern. The format characters are case-sensitive; for example, 'g' and 'G' represent slightly different patterns. + + + Format Character + Description Example Format Pattern (en-US) + + dMM/dd/yyyy + Ddddd, dd MMMM yyyy + fdddd, dd MMMM yyyy HH:mm + Fdddd, dd MMMM yyyy HH:mm:ss + gMM/dd/yyyy HH:mm + GMM/dd/yyyy HH:mm:ss + m, MMMMM dd + r, Rddd, dd MMM yyyy HH':'mm':'ss 'GMT' + syyyy'-'MM'-'dd'T'HH':'mm':'ss + tHH:mm + THH:mm:ss + uyyyy'-'MM'-'dd HH':'mm':'ss'Z' + Udddd, dd MMMM yyyy HH:mm:ss + y, Yyyyy MMMM + + The following table lists the patterns that can be combined to construct custom patterns. The patterns are case-sensitive; for example, "MM" is recognized, but "mm" is not. If the custom pattern contains white-space characters or characters enclosed in single quotation marks, the output string will also contain those characters. Characters not defined as part of a format pattern or as format characters are reproduced literally. + + + Format + Pattern Description + + dThe day of the month. Single-digit days will not have a leading zero. + ddThe day of the month. Single-digit days will have a leading zero. + dddThe abbreviated name of the day of the week. + ddddThe full name of the day of the week. + MThe numeric month. Single-digit months will not have a leading zero. + MMThe numeric month. Single-digit months will have a leading zero. + MMMThe abbreviated name of the month. + MMMMThe full name of the month. + yThe year without the century. If the year without the century is less than 10, the year is displayed with no leading zero. + yyThe year without the century. If the year without the century is less than 10, the year is displayed with a leading zero. + yyyyThe year in four digits, including the century. + ggThe period or era. This pattern is ignored if the date to be formatted does not have an associated period or era string. + hThe hour in a 12-hour clock. Single-digit hours will not have a leading zero. + hhThe hour in a 12-hour clock. Single-digit hours will have a leading zero. + HThe hour in a 24-hour clock. Single-digit hours will not have a leading zero. + HHThe hour in a 24-hour clock. Single-digit hours will have a leading zero. + mThe minute. Single-digit minutes will not have a leading zero. + mmThe minute. Single-digit minutes will have a leading zero. + sThe second. Single-digit seconds will not have a leading zero. + ssThe second. Single-digit seconds will have a leading zero. + fThe fraction of a second in single-digit precision. The remaining digits are truncated. + ffThe fraction of a second in double-digit precision. The remaining digits are truncated. + fffThe fraction of a second in three-digit precision. The remaining digits are truncated. + ffffThe fraction of a second in four-digit precision. The remaining digits are truncated. + fffffThe fraction of a second in five-digit precision. The remaining digits are truncated. + ffffffThe fraction of a second in six-digit precision. The remaining digits are truncated. + fffffffThe fraction of a second in seven-digit precision. The remaining digits are truncated. + tThe first character in the AM/PM designator. + ttThe AM/PM designator. + zThe time zone offset ("+" or "-" followed by the hour only). Single-digit hours will not have a leading zero. For example, Pacific Standard Time is "-8". + zzThe time zone offset ("+" or "-" followed by the hour only). Single-digit hours will have a leading zero. For example, Pacific Standard Time is "-08". + zzzThe full time zone offset ("+" or "-" followed by the hour and minutes). Single-digit hours and minutes will have leading zeros. For example, Pacific Standard Time is "-08:00". + :The default time separator. + /The default date separator. + \ cPattern Where c is any character. Displays the character literally. To display the backslash character, use "\\". + + @@ -7676,10 +8210,10 @@ - - Property that will be set to or depending on the - result of the date check. - + + Property that will be set to or depending on the + result of the date check. + @@ -7692,55 +8226,55 @@ - - Extracts text from an XML file at the location specified by an XPath - expression. - - - - If the XPath expression specifies multiple nodes the node index is used - to determine which of the nodes' text is returned. - - - - - The example provided assumes that the following XML file (App.config) - exists in the current build directory. - - - - - - - - - ]]> - - - - - The example will read the server value from the above - configuration file. - - - - - - - - ]]> - - + + Extracts text from an XML file at the location specified by an XPath + expression. + + + + If the XPath expression specifies multiple nodes the node index is used + to determine which of the nodes' text is returned. + + + + + The example provided assumes that the following XML file (App.config) + exists in the current build directory. + + + + + + + + + ]]> + + + + + The example will read the server value from the above + configuration file. + + + + + + + + ]]> + + - - Executes the XML peek task. - + + Executes the XML peek task. + @@ -7753,119 +8287,122 @@ - - Gets the contents of the node specified by the XPath expression. - - The XPath expression used to determine which nodes to choose from. - The XML document to select the nodes from. - The node index in the case where multiple nodes satisfy the expression. - - The contents of the node specified by the XPath expression. - + + Gets the contents of the node specified by the XPath expression. + + The XPath expression used to determine which nodes to choose from. + The XML document to select the nodes from. + The node index in the case where multiple nodes satisfy the expression. + + The contents of the node specified by the XPath expression. + - - The name of the file that contains the XML document - that is going to be peeked at. - + + The name of the file that contains the XML document + that is going to be peeked at. + - - The index of the node that gets its text returned when the query - returns multiple nodes. - + + The index of the node that gets its text returned when the query + returns multiple nodes. + - - The property that receives the text representation of the XML inside - the node returned from the XPath expression. - + + The property that receives the text representation of the XML inside + the node returned from the XPath expression. + - - The XPath expression used to select which node to read. - + + The XPath expression used to select which node to read. + - - Namespace definitions to resolve prefixes in the XPath expression. - + + Namespace definitions to resolve prefixes in the XPath expression. + - - Replaces text in an XML file at the location specified by an XPath - expression. - - - - The location specified by the XPath expression must exist, it will - not create the parent elements for you. However, provided you have - a root element you could use a series of the tasks to build the - XML file up if necessary. - - - - - Change the server setting in the configuration from testhost.somecompany.com - to productionhost.somecompany.com. - - XML file: - - - - - - - - ]]> - - Build fragment: - - - ]]> - - - - - Modify the noNamespaceSchemaLocation in an XML file. - - XML file: - - - - - ]]> - - Build fragment: - - - - - - - ]]> - - + + Replaces text in an XML file at the location specified by an XPath + expression. + + + + The location specified by the XPath expression must exist, it will + not create the parent elements for you. However, provided you have + a root element you could use a series of the tasks to build the + XML file up if necessary. + + + + + Change the server setting in the configuration from testhost.somecompany.com + to productionhost.somecompany.com. + + XML file: + + + + + + + + ]]> + + Build fragment: + + + ]]> + + + + + Modify the noNamespaceSchemaLocation in an XML file. + + XML file: + + + + + ]]> + + Build fragment: + + + + + + + ]]> + + - - Executes the XML poke task. - + + Executes the XML poke task. + - + Loads an XML document from a file on disk. The file name of the file to load the XML document from. + + Value for XmlDocument.PreserveWhitespace that is set before the xml is loaded. + An containing the document object model representing the file. @@ -7892,48 +8429,60 @@ - - Given a node list, replaces the XML within those nodes. - - - The list of nodes to replace the contents of. - - - The text to replace the contents with. - + + Given a node list, replaces the XML within those nodes. + + + The list of nodes to replace the contents of. + + + The text to replace the contents with. + - - Saves the XML document to a file. - - The XML document to be saved. - The file name to save the XML document under. + + Saves the XML document to a file. + + The XML document to be saved. + The file name to save the XML document under. - - The name of the file that contains the XML document that is going - to be poked. - + + The name of the file that contains the XML document that is going + to be poked. + - - The XPath expression used to select which nodes are to be modified. - + + The XPath expression used to select which nodes are to be modified. + - - The value that replaces the contents of the selected nodes. - + + The value that replaces the contents of the selected nodes. + - - Namespace definitions to resolve prefixes in the XPath expression. - + + Namespace definitions to resolve prefixes in the XPath expression. + + + + + Namespace definitions to resolve prefixes in the XPath expression. + Represents a command-line argument. + + + When passed to an external application, the argument will be quoted + when appropriate. This does not apply to the + parameter, which is always passed as is. + + A single command-line argument containing a space character. @@ -8001,76 +8550,76 @@ - - Quotes a command line argument if it contains a single quote or a - space. - - The command line argument. - - A quoted command line argument if - contains a single quote or a space; otherwise, - . - + + Quotes a command line argument if it contains a single quote or a + space. + + The command line argument. + + A quoted command line argument if + contains a single quote or a space; otherwise, + . + - - A single command-line argument; can contain space characters. - + + A single command-line argument; can contain space characters. + - - The name of a file as a single command-line argument; will be - replaced with the absolute filename of the file. - + + The name of a file as a single command-line argument; will be + replaced with the absolute filename of the file. + - - The value for a directory-based command-line argument; will be - replaced with the absolute path of the directory. - + + The value for a directory-based command-line argument; will be + replaced with the absolute path of the directory. + - - The value for a PATH-like command-line argument; you can use - : or ; as path separators and NAnt will convert it - to the platform's local conventions, while resolving references to - environment variables. - - - Individual parts will be replaced with the absolute path, resolved - relative to the project base directory. - + + The value for a PATH-like command-line argument; you can use + : or ; as path separators and NAnt will convert it + to the platform's local conventions, while resolving references to + environment variables. + + + Individual parts will be replaced with the absolute path, resolved + relative to the project base directory. + - - Sets a single command-line argument and treats it like a PATH - ensures - the right separator for the local platform is used. - + + Sets a single command-line argument and treats it like a PATH - ensures + the right separator for the local platform is used. + - - List of command-line arguments; will be passed to the executable - as is. - + + List of command-line arguments; will be passed to the executable + as is. + - - Indicates if the argument should be passed to the external program. - If then the argument will be passed; - otherwise, skipped. The default is . - + + Indicates if the argument should be passed to the external program. + If then the argument will be passed; + otherwise, skipped. The default is . + - - Indicates if the argument should not be passed to the external - program. If then the argument will be - passed; otherwise, skipped. The default is . - + + Indicates if the argument should not be passed to the external + program. If then the argument will be + passed; otherwise, skipped. The default is . + - - Gets string value corresponding with the argument. - + + Gets string value corresponding with the argument. + @@ -8136,11 +8685,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -8173,10 +8722,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -8197,33 +8746,33 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + - - Provides credentials for password-based authentication schemes. - + + Provides credentials for password-based authentication schemes. + @@ -8243,35 +8792,35 @@ - - The domain or computer name that verifies the credentials. - + + The domain or computer name that verifies the credentials. + - - The password for the user name associated with the credentials. - + + The password for the user name associated with the credentials. + - - The user name associated with the credentials. - + + The user name associated with the credentials. + - - Indicates if the credentials should be used to provide authentication - information to the external resource. If then - the credentials will be passed; otherwise, not. The default is - . - + + Indicates if the credentials should be used to provide authentication + information to the external resource. If then + the credentials will be passed; otherwise, not. The default is + . + - - Indicates if the credentials should not be used to provide authentication - information to the external resource. If then the - credentials will be passed; otherwise, not. The default is - . - + + Indicates if the credentials should not be used to provide authentication + information to the external resource. If then the + credentials will be passed; otherwise, not. The default is + . + @@ -8345,6 +8894,12 @@ ** is appended. For example, mypackage/test/ is interpreted as if it were mypackage/test/**. +

Case-Sensitivity

+ + By default, pattern matching is case-sensitive on Unix and case-insensitive + on other platforms. The parameter can be used + to override this. +

Default Excludes

There are a set of definitions that are excluded by default from all @@ -8421,6 +8976,11 @@ **/vssver.scc + + + **/vssver2.scc + + **/_vti_cnf/** @@ -8524,6 +9084,7 @@ + @@ -8531,10 +9092,10 @@ - - copy constructor - - + + copy constructor + + @@ -8544,6 +9105,11 @@ A shallow copy of the . + + + Adds a nested set of patterns, or references a standalone patternset. + + Copies all instance data of the to a given @@ -8551,30 +9117,37 @@ - - Determines if a file has a more recent last write time than the - given time, or no longer exists. - - A file to check the last write time against. - The datetime to compare against. - - The name of the file that has a last write time greater than - or that no longer exists; - otherwise, . - + + Determines if a file has a more recent last write time than the + given time, or no longer exists. + + A file to check the last write time against. + The datetime to compare against. + + The name of the file that has a last write time greater than + or that no longer exists; + otherwise, . + - - Determines if one of the given files has a more recent last write - time than the given time. If one of the given files no longer exists, - the target will be considered out-of-date. - - A collection of filenames to check the last write time against. - The datetime to compare against. - - The name of the first file that has a last write time greater than - ; otherwise, null. - + + Determines if one of the given files has a more recent last write + time than the given time. If one of the given files no longer exists, + the target will be considered out-of-date. + + A collection of filenames to check the last write time against. + The datetime to compare against. + + The name of the first file that has a last write time greater than + ; otherwise, null. + + + + + Indicates whether include and exclude patterns must be treated in a + case-sensitive way. The default is on Unix; + otherwise, . + @@ -8584,26 +9157,26 @@ - - Indicates whether default excludes should be used or not. - The default is . - + + Indicates whether default excludes should be used or not. + The default is . + - - The base of the directory of this fileset. The default is the project - base directory. - + + The base of the directory of this fileset. The default is the project + base directory. + - - Gets the collection of include patterns. - + + Gets the collection of include patterns. + - - Gets the collection of exclude patterns. - + + Gets the collection of exclude patterns. + @@ -8631,51 +9204,51 @@ - - Gets the collection of directory names that were scanned for files. - - - A collection that contains the directory names that were scanned for - files. - + + Gets the collection of directory names that were scanned for files. + + + A collection that contains the directory names that were scanned for + files. + - - The items to include in the fileset. - + + The items to include in the fileset. + - - The items to include in the fileset. - + + The items to include in the fileset. + - - The items to exclude from the fileset. - + + The items to exclude from the fileset. + - - The items to exclude from the fileset. - + + The items to exclude from the fileset. + - - The files from which a list of patterns or files to include should - be obtained. - + + The files from which a list of patterns or files to include should + be obtained. + - - The files from which a list of patterns or files to include should - be obtained. - + + The files from which a list of patterns or files to include should + be obtained. + - - The files from which a list of patterns or files to exclude should - be obtained. - + + The files from which a list of patterns or files to exclude should + be obtained. + @@ -8686,15 +9259,15 @@ - - The pattern or file name to exclude. - + + The pattern or file name to exclude. + - - If then the pattern will be excluded; - otherwise, skipped. The default is . - + + If then the pattern will be excluded; + otherwise, skipped. The default is . + @@ -8711,21 +9284,21 @@ - - If then the file will be searched for - on the path. The default is . - + + If then the file will be searched for + on the path. The default is . + - - The pattern or file name to include. - + + The pattern or file name to include. + - - If then the pattern will be included; - otherwise, skipped. The default is . - + + If then the pattern will be included; + otherwise, skipped. The default is . + @@ -8740,10 +9313,10 @@ - - If then the patterns will be excluded; - otherwise, skipped. The default is . - + + If then the patterns will be excluded; + otherwise, skipped. The default is . + @@ -8753,10 +9326,10 @@ - - The name of a file; each line of this file is taken to be a - pattern. - + + The name of a file; each line of this file is taken to be a + pattern. + @@ -8767,16 +9340,16 @@ - - If then the patterns in the include file - will be searched for on the path. The default is . - + + If then the patterns in the include file + will be searched for on the path. The default is . + - - If then the patterns will be included; - otherwise, skipped. The default is . - + + If then the patterns will be included; + otherwise, skipped. The default is . + @@ -8799,9 +9372,9 @@ A instance to create a from. - - Represents an environment variable. - + + Represents an environment variable. + @@ -8817,75 +9390,75 @@ - - The name of the environment variable. - + + The name of the environment variable. + - - The literal value for the environment variable. - + + The literal value for the environment variable. + - - The value for a file-based environment variable. NAnt will convert - it to an absolute filename. - + + The value for a file-based environment variable. NAnt will convert + it to an absolute filename. + - - The value for a directory-based environment variable. NAnt will - convert it to an absolute path. - + + The value for a directory-based environment variable. NAnt will + convert it to an absolute path. + - - The value for a PATH like environment variable. You can use - : or ; as path separators and NAnt will convert it to - the platform's local conventions. - + + The value for a PATH like environment variable. You can use + : or ; as path separators and NAnt will convert it to + the platform's local conventions. + - - Sets a single environment variable and treats it like a PATH - - ensures the right separator for the local platform is used. - + + Sets a single environment variable and treats it like a PATH - + ensures the right separator for the local platform is used. + - - Gets the value of the environment variable. - + + Gets the value of the environment variable. + - - Indicates if the environment variable should be passed to the - external program. If then the environment - variable will be passed; otherwise, skipped. The default is - . - + + Indicates if the environment variable should be passed to the + external program. If then the environment + variable will be passed; otherwise, skipped. The default is + . + - - Indicates if the environment variable should not be passed to the - external program. If then the environment - variable will be passed; otherwise, skipped. The default is - . - + + Indicates if the environment variable should not be passed to the + external program. If then the environment + variable will be passed; otherwise, skipped. The default is + . + - - A set of environment variables. - + + A set of environment variables. + - - Environment variable to pass to a program. - + + Environment variable to pass to a program. + - - Environment variable to pass to a program. - + + Environment variable to pass to a program. + @@ -8951,11 +9524,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -8988,10 +9561,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -9012,52 +9585,52 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + - - The name of the NAnt property to set. - + + The name of the NAnt property to set. + - - The string pattern to use to format the property. - + + The string pattern to use to format the property. + - - Indicates if the formatter should be used to format the timestamp. - If then the formatter will be used; - otherwise, skipped. The default is . - + + Indicates if the formatter should be used to format the timestamp. + If then the formatter will be used; + otherwise, skipped. The default is . + - - Indicates if the formatter should be not used to format the - timestamp. If then the formatter will be - used; otherwise, skipped. The default is . - + + Indicates if the formatter should be not used to format the + timestamp. If then the formatter will be + used; otherwise, skipped. The default is . + @@ -9111,11 +9684,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -9148,10 +9721,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -9166,69 +9739,145 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + + + Gets the current element in the collection. + + + The current element in the collection. + + + - Gets the current element in the collection. + Specifies the execution mode for managed applications. + + + For backward compatibility, the following string values can also be + used in build files: + + + + Value + Corresponding field + + + "true" + + + + "false" + + + + + Even if set to , the operating system can still + run the program as a managed application. + + On Linux this can be done through binfmt_misc, while on + Windows installing the .NET Framework redistributable caused managed + applications to run on the MS CLR by default. + + + + + + Do not threat the program as a managed application. + + + + + Leave it up to the CLR to determine which specific version of + the CLR will be used to run the application. + + + + + Forces an application to run against the currently targeted + version of a given CLR. + + + + + Specialized that also supports + case-insensitive conversion of "true" to + and "false" to + . + + + + + Initializes a new instance of the + class. + + + + + Converts the given object to the type of this converter, using the + specified context and culture information. + + An that provides a format context. + A object. If a is passed, the current culture is assumed. + The to convert. - The current element in the collection. + An that represents the converted value. - - Represents an option. - + + Represents an option. + - - name, value constructor - - - + + name, value constructor + + + - - Default constructor - + + Default constructor + - - Name of the option. - + + Name of the option. + - - Value of the option. The default is . - + + Value of the option. The default is . + - - Indicates if the option should be passed to the task. - If then the option will be passed; - otherwise, skipped. The default is . - + + Indicates if the option should be passed to the task. + If then the option will be passed; + otherwise, skipped. The default is . + - - Indicates if the option should not be passed to the task. - If then the option will be passed; - otherwise, skipped. The default is . - + + Indicates if the option should not be passed to the task. + If then the option will be passed; + otherwise, skipped. The default is . + @@ -9293,11 +9942,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -9330,10 +9979,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -9354,59 +10003,59 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + - - Represents a nested path element. - + + Represents a nested path element. + - - The name of a file to add to the path. Will be replaced with - the absolute path of the file. - + + The name of a file to add to the path. Will be replaced with + the absolute path of the file. + - - The name of a directory to add to the path. Will be replaced with - the absolute path of the directory. - + + The name of a directory to add to the path. Will be replaced with + the absolute path of the directory. + - - A string that will be treated as a path-like string. You can use - : or ; as path separators and NAnt will convert it - to the platform's local conventions, while resolving references - to environment variables. - + + A string that will be treated as a path-like string. You can use + : or ; as path separators and NAnt will convert it + to the platform's local conventions, while resolving references + to environment variables. + - - If then the entry will be added to the - path; otherwise, skipped. The default is . - + + If then the entry will be added to the + path; otherwise, skipped. The default is . + @@ -9425,27 +10074,27 @@ - - - Paths are groups of files and/or directories that need to be passed as a single - unit. The order in which parts of the path are specified in the build file is - retained, and duplicate parts are automatically suppressed. - - - - - Define a global <path> that can be referenced by other - tasks or types. - - - - - - - ]]> - - + + + Paths are groups of files and/or directories that need to be passed as a single + unit. The order in which parts of the path are specified in the build file is + retained, and duplicate parts are automatically suppressed. + + + + + Define a global <path> that can be referenced by other + tasks or types. + + + + + + + ]]> + + @@ -9461,13 +10110,13 @@ The string representing a path. - - Returns a textual representation of the path, which can be used as - PATH environment variable definition. - - - A textual representation of the path. - + + Returns a textual representation of the path, which can be used as + PATH environment variable definition. + + + A textual representation of the path. + @@ -9482,12 +10131,12 @@ The to add. - - Returns all path elements defined by this path object. - - - A list of path elements. - + + Returns all path elements defined by this path object. + + + A list of path elements. + @@ -9501,12 +10150,382 @@ resolved and duplicate entries removed. - + - Contains HTTP proxy settings used to process requests to Internet - resources. + Initializes a new instance of the class. + + + The name pattern to include/exclude. + + + + + If then the pattern will be used; + otherwise, skipped. The default is . + + + + + If then the pattern will be used; + otherwise, skipped. The default is . + + + + + Contains a collection of elements. + + + + + Initializes a new instance of the class. + + + + + Removes all items from the . + + + + + Adds a to the end of the collection. + + The to be added to the end of the collection. + The position into which the new element was inserted. + + + + Adds the elements of a array to the end of the collection. + + The array of elements to be added to the end of the collection. + + + + Adds the elements of a to the end of the collection. + + The to be added to the end of the collection. + + + + Determines whether a is in the collection. + + The to locate in the collection. + + if is found in the + collection; otherwise, . + + + + + Copies the entire collection to a compatible one-dimensional array, + starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. + + + + Retrieves the index of a specified object in the collection. + + The object for which the index is returned. + + The index of the specified . If the is not currently a member of the collection, it returns -1. + + + + + Inserts a into the collection at the specified index. + + The zero-based index at which should be inserted. + The to insert. + + + + Returns an enumerator that can iterate through the collection. + + + A for the entire collection. + + + + + Removes a member from the collection. + + The to remove from the collection. + + + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. + + + + Enumerates the elements of a . + + + + + Initializes a new instance of the class + with the specified . + + The collection that should be enumerated. + + + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + + + + + Sets the enumerator to its initial position, which is before the + first element in the collection. + + + + + Gets the current element in the collection. + + + The current element in the collection. + + + + + Gets the current element in the collection. + + + The current element in the collection. + + + + + A set of patterns, mostly used to include or exclude certain files. + + + + The individual patterns support if and unless attributes + to specify that the element should only be used if or unless a given + condition is met. + + + The and + elements load patterns from a file. When the file is a relative path, + it will be resolved relative to the project base directory in which + the patternset is defined. Each line of this file is taken to be a + pattern. + + + The number sign (#) as the first non-blank character in a line denotes + that all text following it is a comment: + + + + + + Patterns can be grouped to sets, and later be referenced by their + . + + + When used as a standalone element (global type), any properties that + are referenced will be resolved when the definition is processed, not + when it actually used. Passing a reference to a nested build file + will not cause the properties to be re-evaluated. + + + To improve reuse of globally defined patternsets, avoid referencing + any properties altogether. + + + + + Define a set of patterns that matches all .cs files that do not contain + the text Test in their name. + + + + + + + ]]> + + + + + Define two sets. One holding C# sources, and one holding VB sources. + Both sets only include test sources when the test property is + set. A third set combines both C# and VB sources. + + + + + + + + + + + + + + + + + ]]> + + + + + Define a set from patterns in a file. + + + + + + + ]]> + + + + + Defines a patternset with patterns that are loaded from an external + file, and shows the behavior when that patternset is passed as a + reference to a nested build script. + + + External file "c:\foo\build\service.lst" holding patterns + of source files to include for the Foo.Service assembly: + + + + + Main build script located in "c:\foo\default.build": + + + + + + + + + + + + + + + + ]]> + + Nested build script located in "c:\foo\services\default.build" + which uses the patternset to feed sources files to the C# compiler: + + + + + + + + + + + ]]> + + At the time when the patternset is used in the "service" + build script, the following source files in "c:\foo\services\src" + match the defined patterns: + + + + + You should have observed that: + + + + + although the patternset is used from the "service" + build script, the path to the external file is resolved relative + to the base directory of the "main" build script in + which the patternset is defined. + + + + + the "TraceListener.cs" file is included, even though + the "build.debug" property was changed to false + after the patternset was defined (but before it was passed to + the nested build, and used). + + + + + + + + + Initializes a new instance of the class. + + + + + Adds a nested set of patterns, or references other standalone + patternset. + + The to add. + + + + Defines a single pattern for files to include. + + + + + Loads multiple patterns of files to include from a given file, set + using the parameter. + + + + + Defines a single pattern for files to exclude. + + + + + Loads multiple patterns of files to exclude from a given file, set + using the parameter. + + + + + Contains HTTP proxy settings used to process requests to Internet + resources. + + Initializes a new instance of the class. @@ -9524,9 +10543,9 @@ - - The name of the proxy host. - + + The name of the proxy host. + @@ -9534,40 +10553,40 @@ - - Specifies whether to bypass the proxy server for local addresses. - The default is . - + + Specifies whether to bypass the proxy server for local addresses. + The default is . + - - The credentials to submit to the proxy server for authentication. - + + The credentials to submit to the proxy server for authentication. + - - Indicates if the proxy should be used to connect to the external - resource. If then the proxy will be used; - otherwise, not. The default is . - + + Indicates if the proxy should be used to connect to the external + resource. If then the proxy will be used; + otherwise, not. The default is . + - - Indicates if the proxy should not be used to connect to the external - resource. If then the proxy will be used; - otherwise, not. The default is . - + + Indicates if the proxy should not be used to connect to the external + resource. If then the proxy will be used; + otherwise, not. The default is . + - - Represents an element of which the XML is processed by its parent task - or type. - + + Represents an element of which the XML is processed by its parent task + or type. + - - Gets the XML that this element represents. - + + Gets the XML that this element represents. + @@ -9581,48 +10600,48 @@ - - ReplaceTokens filter token. - + + ReplaceTokens filter token. + - - Token to be replaced. - + + Token to be replaced. + - - New value of token. - + + New value of token. + - - Indicates if the token should be used to replace values. - If then the token will be used; - otherwise, not. The default is . - + + Indicates if the token should be used to replace values. + If then the token will be used; + otherwise, not. The default is . + - - Indicates if the token should not be used to replace values. - If then the token will be used; - otherwise, not. The default is . - + + Indicates if the token should not be used to replace values. + If then the token will be used; + otherwise, not. The default is . + - - Represents an XML namespace. - + + Represents an XML namespace. + - - The prefix to associate with the namespace. - + + The prefix to associate with the namespace. + - - The associated XML namespace URI. - + + The associated XML namespace URI. + @@ -9702,11 +10721,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -9739,10 +10758,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -9763,35 +10782,35 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + - - Represents an XSLT extension object. The object should have a default - parameterless constructor and the return value should be one of the - four basic XPath data types of number, string, Boolean or node set. - + + Represents an XSLT extension object. The object should have a default + parameterless constructor and the return value should be one of the + four basic XPath data types of number, string, Boolean or node set. + @@ -9809,28 +10828,28 @@ - - The full type name of the XSLT extension object. - + + The full type name of the XSLT extension object. + - - The assembly which contains the XSLT extension object. - + + The assembly which contains the XSLT extension object. + - - Indicates if the extension object should be added to the XSLT argument - list. If then the extension object will be - added; otherwise, skipped. The default is . - + + Indicates if the extension object should be added to the XSLT argument + list. If then the extension object will be + added; otherwise, skipped. The default is . + - - Indicates if the extension object should not be added to the XSLT argument - list. If then the extension object will be - added; otherwise, skipped. The default is . - + + Indicates if the extension object should not be added to the XSLT argument + list. If then the extension object will be + added; otherwise, skipped. The default is . + @@ -9907,15 +10926,15 @@ - - Copies the entire collection to a compatible one-dimensional array, - starting at the specified index of the target array. - - The one-dimensional array that is the - destination of the elements copied from the collection. The array - must have zero-based indexing. - The zero-based index in - at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, + starting at the specified index of the target array. + + The one-dimensional array that is the + destination of the elements copied from the collection. The array + must have zero-based indexing. + The zero-based index in + at which copying begins. @@ -9957,11 +10976,11 @@ from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get - or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get + or set. @@ -9986,33 +11005,33 @@ enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + - - Represents an XSLT parameter. - + + Represents an XSLT parameter. + @@ -10048,18 +11067,18 @@ - - Indicates if the parameter should be added to the XSLT argument list. - If then the parameter will be added; - otherwise, skipped. The default is . - + + Indicates if the parameter should be added to the XSLT argument list. + If then the parameter will be added; + otherwise, skipped. The default is . + - - Indicates if the parameter should not be added to the XSLT argument - list. If then the parameter will be - added; otherwise, skipped. The default is . - + + Indicates if the parameter should not be added to the XSLT argument + list. If then the parameter will be + added; otherwise, skipped. The default is . + @@ -10125,11 +11144,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -10162,10 +11181,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -10186,33 +11205,33 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + - - Resolves assemblies by caching assemblies that were loaded. - + + Resolves assemblies by caching assemblies that were loaded. + @@ -10233,9 +11252,9 @@ - - Uninstalls the assembly resolver. - + + Uninstalls the assembly resolver. + @@ -10269,9 +11288,9 @@ - - Holds the loaded assemblies. - + + Holds the loaded assemblies. + @@ -10285,9 +11304,9 @@ - - Represents a valid command-line argument. - + + Represents a valid command-line argument. + @@ -10354,12 +11373,12 @@ - - Gets the property that backs the argument. - - - The property that backs the arguments. - + + Gets the property that backs the argument. + + + The property that backs the arguments. + @@ -10374,61 +11393,61 @@ - - Gets the long name of the argument. - - The long name of the argument. + + Gets the long name of the argument. + + The long name of the argument. - - Gets the short name of the argument. - - The short name of the argument. + + Gets the short name of the argument. + + The short name of the argument. - - Gets the description of the argument. - - The description of the argument. + + Gets the description of the argument. + + The description of the argument. - - Gets a value indicating whether the argument is required. - - - if the argument is required; otherwise, - . - + + Gets a value indicating whether the argument is required. + + + if the argument is required; otherwise, + . + - - Gets a value indicating whether a mathing command-line argument - was already found. - - - if a matching command-line argument was - already found; otherwise, . - + + Gets a value indicating whether a mathing command-line argument + was already found. + + + if a matching command-line argument was + already found; otherwise, . + - - Gets a value indicating whether the argument can be specified multiple - times. - - - if the argument may be specified multiple - times; otherwise, . - + + Gets a value indicating whether the argument can be specified multiple + times. + + + if the argument may be specified multiple + times; otherwise, . + - - Gets a value indicating whether the argument can only be specified once - with a certain value. - - - if the argument should always have a unique - value; otherwise, . - + + Gets a value indicating whether the argument can only be specified once + with a certain value. + + + if the argument should always have a unique + value; otherwise, . + @@ -10463,37 +11482,37 @@ - - Gets a value indicating whether the argument is array-based. - - - if the argument is backed by an array; - otherwise, . - + + Gets a value indicating whether the argument is array-based. + + + if the argument is backed by an array; + otherwise, . + - - Gets a value indicating whether the argument is the default argument. - - - if the argument is the default argument; - otherwise, . - + + Gets a value indicating whether the argument is the default argument. + + + if the argument is the default argument; + otherwise, . + - - Gets a value indicating whether the argument cannot be combined with - other arguments. - - - if the argument cannot be combined with other - arguments; otherwise, . - + + Gets a value indicating whether the argument cannot be combined with + other arguments. + + + if the argument cannot be combined with other + arguments; otherwise, . + - - Allows control of command line parsing. - + + Allows control of command line parsing. + @@ -10503,28 +11522,28 @@ Specifies the checking to be done on the argument. - - Gets or sets the checking to be done on the argument. - - The checking that should be done on the argument. + + Gets or sets the checking to be done on the argument. + + The checking that should be done on the argument. - - Gets or sets the long name of the argument. - - The long name of the argument. + + Gets or sets the long name of the argument. + + The long name of the argument. - - Gets or sets the short name of the argument. - - The short name of the argument. + + Gets or sets the short name of the argument. + + The short name of the argument. - - Gets or sets the description of the argument. - - The description of the argument. + + Gets or sets the description of the argument. + + The description of the argument. @@ -10578,11 +11597,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -10615,10 +11634,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -10639,34 +11658,34 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + - - The exception that is thrown when one of the command-line arguments provided - is not valid. - + + The exception that is thrown when one of the command-line arguments provided + is not valid. + @@ -10697,50 +11716,50 @@ The that contains contextual information about the source or destination. - - Used to control parsing of command-line arguments. - + + Used to control parsing of command-line arguments. + - - Indicates that this field is required. An error will be displayed - if it is not present when parsing arguments. - + + Indicates that this field is required. An error will be displayed + if it is not present when parsing arguments. + - - Only valid in conjunction with Multiple. - Duplicate values will result in an error. - + + Only valid in conjunction with Multiple. + Duplicate values will result in an error. + - - Inidicates that the argument may be specified more than once. - Only valid if the argument is a collection - + + Inidicates that the argument may be specified more than once. + Only valid if the argument is a collection + - - Inidicates that if this argument is specified, no other arguments may be specified. - + + Inidicates that if this argument is specified, no other arguments may be specified. + - - The default type for non-collection arguments. - The argument is not required, but an error will be reported if it is specified more than once. - + + The default type for non-collection arguments. + The argument is not required, but an error will be reported if it is specified more than once. + - - The default type for collection arguments. - The argument is permitted to occur multiple times, but duplicate - values will cause an error to be reported. - + + The default type for collection arguments. + The argument is permitted to occur multiple times, but duplicate + values will cause an error to be reported. + - - Commandline parser. - + + Commandline parser. + @@ -10760,28 +11779,28 @@ is a null reference. The of does not match the argument specification that was used to initialize the parser. - - - Splits a string and removes any empty strings from the - result. Same functionality as the - public string[] Split(char[] separator, StringSplitOptions options) - method in .Net 2.0. Replace with that call when 2.0 is standard. - - - - the array of strings + + + Splits a string and removes any empty strings from the + result. Same functionality as the + public string[] Split(char[] separator, StringSplitOptions options) + method in .Net 2.0. Replace with that call when 2.0 is standard. + + + + the array of strings - - Read a response file and parse the arguments as usual. - - + + Read a response file and parse the arguments as usual. + + The response file to load arguments - - Parse the argument list using the - - + + Parse the argument list using the + + @@ -10805,22 +11824,22 @@ - - Gets the usage instructions. - - The usage instructions. + + Gets the usage instructions. + + The usage instructions. - - Gets a value indicating whether no arguments were specified on the - command line. - + + Gets a value indicating whether no arguments were specified on the + command line. + - - Marks a command-line option as being the default option. When the name of - a command-line argument is not specified, this option will be assumed. - + + Marks a command-line option as being the default option. When the name of + a command-line argument is not specified, this option will be assumed. + @@ -10830,30 +11849,42 @@ Specifies the checking to be done on the argument. - - Provides modified version for Copy and Move from the File class that - allow for filter chain processing. - + + Provides modified version for Copy and Move from the File class that + allow for filter chain processing. + - - Copies a file filtering its content through the filter chain. - - The file to copy - The file to copy to - Chain of filters to apply when copying, or is no filters should be applied. - The encoding used to read the soure file. - The encoding used to write the destination file. + + Copies a file filtering its content through the filter chain. + + The file to copy + The file to copy to + Chain of filters to apply when copying, or is no filters should be applied. + The encoding used to read the soure file. + The encoding used to write the destination file. - - Moves a file filtering its content through the filter chain. - - The file to move - The file to move move to - Chain of filters to apply when moving, or is no filters should be applied. - The encoding used to read the soure file. - The encoding used to write the destination file. + + Moves a file filtering its content through the filter chain. + + The file to move. + The file to move move to. + Chain of filters to apply when moving, or is no filters should be applied. + The encoding used to read the soure file. + The encoding used to write the destination file. + + + + Reads a file filtering its content through the filter chain. + + The file to read. + Chain of filters to apply when reading, or is no filters should be applied. + The encoding used to read the file. + + If is , + then the system's ANSI code page will be used to read the file. + @@ -10897,18 +11928,33 @@ is . - - Returns the home directory of the current user. - - - The home directory of the current user. - + + Returns the home directory of the current user. + + + The home directory of the current user. + + + + + Scans a list of directories for the specified filename. + + The list of directories to search. + The name of the file to look for. + Specifies whether the directory should be searched recursively. + + The directories are scanned in the order in which they are defined. + + + The absolute path to the specified file, or null if the file was + not found. + - - Helper class for determining whether assemblies are located in the - Global Assembly Cache. - + + Helper class for determining whether assemblies are located in the + Global Assembly Cache. + @@ -10968,9 +12014,9 @@ - - Holds a value indicating whether the object has been disposed. - + + Holds a value indicating whether the object has been disposed. + @@ -10993,21 +12039,21 @@ - - Determines whether an assembly is installed in the Global - Assembly Cache given its file name or path. - - The name or path of the file that contains the manifest of the assembly. - - if is - installed in the Global Assembly Cache; otherwise, - . - + + Determines whether an assembly is installed in the Global + Assembly Cache given its file name or path. + + The name or path of the file that contains the manifest of the assembly. + + if is + installed in the Global Assembly Cache; otherwise, + . + - - Provides a set of helper methods related to reflection. - + + Provides a set of helper methods related to reflection. + @@ -11039,10 +12085,10 @@ - - Provides resource support to NAnt assemblies. This class cannot - be inherited from. - + + Provides resource support to NAnt assemblies. This class cannot + be inherited from. + @@ -11173,20 +12219,20 @@ - - Determines the manifest resource name of the resource holding the - localized strings. - - The name of the assembly. - - The manifest resource name of the resource holding the localized - strings for the specified assembly. - - - The manifest resource name of the resource holding the localized - strings should match the name of the assembly, minus Tasks - suffix. - + + Determines the manifest resource name of the resource holding the + localized strings. + + The name of the assembly. + + The manifest resource name of the resource holding the localized + strings for the specified assembly. + + + The manifest resource name of the resource holding the localized + strings should match the name of the assembly, minus Tasks + suffix. + @@ -11227,24 +12273,24 @@ - - Converts an empty string ("") to . - - The value to convert. - - if is an empty - string ("") or ; otherwise, . - + + Converts an empty string ("") to . + + The value to convert. + + if is an empty + string ("") or ; otherwise, . + - - Converts to an empty string. - - The value to convert. - - An empty string if is ; - otherwise, . - + + Converts to an empty string. + + The value to convert. + + An empty string if is ; + otherwise, . + @@ -11281,14 +12327,14 @@ - - Thrown whenever an error occurs during the build. - + + Thrown whenever an error occurs during the build. + - - The location of the exception in the build document (xml file). - + + The location of the exception in the build document (xml file). + @@ -11345,155 +12391,155 @@ The destination for this serialization. - - Creates and returns a string representation of the current - exception. - - - A string representation of the current exception. - + + Creates and returns a string representation of the current + exception. + + + A string representation of the current exception. + - - Gets the raw message as specified when the exception was - constructed. - - - The raw message as specified when the exception was - constructed. - + + Gets the raw message as specified when the exception was + constructed. + + + The raw message as specified when the exception was + constructed. + - - Gets the location in the build file of the element from which the - exception originated. - - - The location in the build file of the element from which the - exception originated. - + + Gets the location in the build file of the element from which the + exception originated. + + + The location in the build file of the element from which the + exception originated. + - - Gets a message that describes the current exception. - - - The error message that explains the reason for the exception. - - - Adds location information to the message, if available. - + + Gets a message that describes the current exception. + + + The error message that explains the reason for the exception. + + + Adds location information to the message, if available. + - - Represents the set of command-line options supported by NAnt. - + + Represents the set of command-line options supported by NAnt. + - - Gets or sets the target framework to use (overrides - NAnt.exe.config settings) - - - The framework that should be used. - - - For a list of possible frameworks, see NAnt.exe.config, possible - values include "net-1.0", "net-1.1", etc. - + + Gets or sets the target framework to use (overrides + NAnt.exe.config settings) + + + The framework that should be used. + + + For a list of possible frameworks, see NAnt.exe.config, possible + values include "net-1.0", "net-1.1", etc. + - - Gets or sets the target framework to use (overrides - NAnt.exe.config settings) - - - The framework that should be used. - - - For a list of possible frameworks, see NAnt.exe.config, possible - values include "net-1.0", "net-1.1", etc. - + + Gets or sets the target framework to use (overrides + NAnt.exe.config settings) + + + The framework that should be used. + + + For a list of possible frameworks, see NAnt.exe.config, possible + values include "net-1.0", "net-1.1", etc. + - - Gets or sets the buildfile that should be executed. - - - The buildfile that should be executed. - - - Can be both a file or an URI. - + + Gets or sets the buildfile that should be executed. + + + The buildfile that should be executed. + + + Can be both a file or an URI. + - - Gets or sets a value indicating whether more information should be - displayed during the build process. - - - if more information should be displayed; - otherwise, . The default is . - + + Gets or sets a value indicating whether more information should be + displayed during the build process. + + + if more information should be displayed; + otherwise, . The default is . + - - Gets or sets a value indicating whether debug information should be - displayed during the build process. - - - if debug information should be displayed; - otherwise, . The default is . - + + Gets or sets a value indicating whether debug information should be + displayed during the build process. + + + if debug information should be displayed; + otherwise, . The default is . + - - Gets or sets a value indicating whether only error and debug debug messages should be - displayed during the build process. - - - if only error or warning messages should be - displayed; otherwise, . The default is - . - + + Gets or sets a value indicating whether only error and debug debug messages should be + displayed during the build process. + + + if only error or warning messages should be + displayed; otherwise, . The default is + . + - - Gets or sets a value indicating whether to produce emacs (and other - editor) friendly output. - - - if output is to be unadorned so that emacs - and other editors can parse files names, etc. The default is - . - + + Gets or sets a value indicating whether to produce emacs (and other + editor) friendly output. + + + if output is to be unadorned so that emacs + and other editors can parse files names, etc. The default is + . + - - Gets a value indicating whether parent directories should be searched - for a buildfile. - - - if parent directories should be searched for - a build file; otherwise, . The default is - . - + + Gets a value indicating whether parent directories should be searched + for a buildfile. + + + if parent directories should be searched for + a build file; otherwise, . The default is + . + - - Gets or sets the indentation level of the build output. - - - The indentation level of the build output. The default is 0. - + + Gets or sets the indentation level of the build output. + + + The indentation level of the build output. The default is 0. + - - Gets or sets the list of properties that should be set. - - - The list of properties that should be set. - + + Gets or sets the list of properties that should be set. + + + The list of properties that should be set. + @@ -11509,12 +12555,12 @@ - - Gets or sets the name of the file to log output to. - - - The name of the file to log output to. - + + Gets or sets the name of the file to log output to. + + + The name of the file to log output to. + @@ -11528,12 +12574,12 @@ - - Gets a collection of assemblies to load extensions from. - - - A collection of assemblies to load extensions from. - + + Gets a collection of assemblies to load extensions from. + + + A collection of assemblies to load extensions from. + @@ -11547,75 +12593,75 @@ - - Gets or sets a value indicating whether the logo banner should be - printed. - - - if the logo banner should be printed; otherwise, - . The default is . - + + Gets or sets a value indicating whether the logo banner should be + printed. + + + if the logo banner should be printed; otherwise, + . The default is . + - - Gets or sets a value indicating whether the NAnt help should be - printed. - - - if NAnt help should be printed; otherwise, - . The default is . - + + Gets or sets a value indicating whether the NAnt help should be + printed. + + + if NAnt help should be printed; otherwise, + . The default is . + - - Gets a collection containing the targets that should be executed. - - - A collection that contains the targets that should be executed. - + + Gets a collection containing the targets that should be executed. + + + A collection that contains the targets that should be executed. + - - Custom configuration section handler for the element. - + + Custom configuration section handler for the element. + - - This just passed things through. Return the node read from the config file. - + + This just passed things through. Return the node read from the config file. + - - Main entry point to NAnt that is called by the ConsoleStub. - + + Main entry point to NAnt that is called by the ConsoleStub. + - - Starts NAnt. This is the Main entry point. - - Command Line args, or whatever you want to pass it. They will treated as Command Line args. - - The exit code. - + + Starts NAnt. This is the Main entry point. + + Command Line args, or whatever you want to pass it. They will treated as Command Line args. + + The exit code. + - - Prints the projecthelp to the console. - - The build file to show help for. - - is loaded and transformed with - ProjectHelp.xslt, which is an embedded resource. - + + Prints the projecthelp to the console. + + The build file to show help for. + + is loaded and transformed with + ProjectHelp.xslt, which is an embedded resource. + - - Gets the file name for the build file in the specified directory. - - The directory to look for a build file. When in doubt use Environment.CurrentDirectory for directory. - Look for a build file with this pattern or name. If null look for a file that matches the default build pattern (*.build). - Whether or not to search the parent directories for a build file. - The path to the build file or null if no build file could be found. + + Gets the file name for the build file in the specified directory. + + The directory to look for a build file. When in doubt use Environment.CurrentDirectory for directory. + Look for a build file with this pattern or name. If null look for a file that matches the default build pattern (*.build). + Whether or not to search the parent directories for a build file. + The path to the build file or null if no build file could be found. @@ -11664,17 +12710,37 @@ The to add listeners to. + + Spits out generic help info to the console. + + + - Spits out generic help info to the console. + Write the message of the specified and + the inner exceptions to . + The to write to . - Creates a new instance of the - class for the specified class in the - specified. + Creates a new instance of the class + for the specified class in the specified + . - The containing the . + + An for the specified + is cached for future use. + + The containing the . + The class representing the . + + + + Creates a new instance of the + class for the specified class in the + specified. + + The containing the . The class representing the . @@ -11687,15 +12753,6 @@ using this . - - - Gets the from which the data type will be - created. - - - The containing the data type. - - Gets the name of the data type which the @@ -11770,11 +12827,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -11807,10 +12864,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -11831,28 +12888,28 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + @@ -11866,50 +12923,61 @@ - - Inherits Properties from an existing property - dictionary Instance - - DataType list to inherit + + Inherits Properties from an existing property + dictionary Instance + + DataType list to inherit + + Used for searching filesystem based on given include/exclude rules. + + + Simple client code for testing the class. + + while (true) { + DirectoryScanner scanner = new DirectoryScanner(); + Console.Write("Scan Basedirectory : "); + string s = Console.ReadLine(); + if (s.Length == 0) break; + scanner.BaseDirectory = s; + while(true) { + Console.Write("Include pattern : "); + s = Console.ReadLine(); + if (s.Length == 0) break; + scanner.Includes.Add(s); + } + while(true) { + Console.Write("Exclude pattern : "); + s = Console.ReadLine(); + if (s.Length == 0) break; + scanner.Excludes.Add(s); + } + foreach (string name in scanner.FileNames) + Console.WriteLine("file:" + name); + foreach (string name in scanner.DirectoryNames) + Console.WriteLine("dir :" + name); + Console.WriteLine(""); + } + + + + - Used for searching filesystem based on given include/exclude rules. + Initializes a new instance of the . - - Simple client code for testing the class. - - while (true) { - DirectoryScanner scanner = new DirectoryScanner(); - - Console.Write("Scan Basedirectory : "); - string s = Console.ReadLine(); - if (s.Length == 0) break; - scanner.BaseDirectory = s; - - while(true) { - Console.Write("Include pattern : "); - s = Console.ReadLine(); - if (s.Length == 0) break; - scanner.Includes.Add(s); - } - - while(true) { - Console.Write("Exclude pattern : "); - s = Console.ReadLine(); - if (s.Length == 0) break; - scanner.Excludes.Add(s); - } - - foreach (string name in scanner.FileNames) - Console.WriteLine("file:" + name); - foreach (string name in scanner.DirectoryNames) - Console.WriteLine("dir :" + name); - - Console.WriteLine(""); - } - - + + On unix, patterns are matching case-sensitively; otherwise, they + are matched case-insensitively. + + + + + Initializes a new instance of the + specifying whether patterns are to be match case-sensitively. + + Specifies whether patterns are to be matched case-sensititely. @@ -11926,51 +12994,57 @@ - - Parses specified NAnt search patterns for search directories and - corresponding regex patterns. - - In. NAnt patterns. Absolute or relative paths. - Out. Regex patterns. Absolute canonical paths. - Out. Non-regex files. Absolute canonical paths. - In. Whether to allow a pattern to add search directories. + + Parses specified NAnt search patterns for search directories and + corresponding regex patterns. + + In. NAnt patterns. Absolute or relative paths. + Out. Regex patterns. Absolute canonical paths. + Out. Non-regex files. Absolute canonical paths. + In. Whether to allow a pattern to add search directories. - - Given a NAnt search pattern returns a search directory and an regex - search pattern. - - Whether this pattern is an include or exclude pattern - NAnt searh pattern (relative to the Basedirectory OR absolute, relative paths refering to parent directories ( ../ ) also supported) - Out. Absolute canonical path to the directory to be searched - Out. Whether the pattern is potentially recursive or not - Out. Whether this is a regex pattern or not - Out. Regex search pattern (absolute canonical path) + + Given a NAnt search pattern returns a search directory and an regex + search pattern. + + Whether this pattern is an include or exclude pattern + NAnt searh pattern (relative to the Basedirectory OR absolute, relative paths refering to parent directories ( ../ ) also supported) + Out. Absolute canonical path to the directory to be searched + Out. Whether the pattern is potentially recursive or not + Out. Whether this is a regex pattern or not + Out. Regex search pattern (absolute canonical path) - - Searches a directory recursively for files and directories matching - the search criteria. - - Directory in which to search (absolute canonical path) - Whether to scan recursively or not + + Searches a directory recursively for files and directories matching + the search criteria. + + Directory in which to search (absolute canonical path) + Whether to scan recursively or not - - Converts search pattern to a regular expression pattern. - - Search pattern relative to the search directory. - Regular expresssion + + Converts search pattern to a regular expression pattern. + + Search pattern relative to the search directory. + Regular expresssion + + + + Gets or set a value indicating whether or not to use case-sensitive + pattern matching. + - - Gets the collection of include patterns. - + + Gets the collection of include patterns. + - - Gets the collection of exclude patterns. - + + Gets the collection of exclude patterns. + @@ -11979,19 +13053,19 @@ - - Gets the list of files that match the given patterns. - + + Gets the list of files that match the given patterns. + - - Gets the list of directories that match the given patterns. - + + Gets the list of directories that match the given patterns. + - - Gets the list of directories that were scanned for files. - + + Gets the list of directories that were scanned for files. + @@ -12002,12 +13076,20 @@ + + Creates a string representing a list of the strings in the collection. + + + A string that represents the contents. + + + - Creates a string representing a list of the strings in the collection. + Initialize a new instance of the + class specifying whether or not string comparison should be + case-sensitive. - - A string that represents the contents. - + Specifies whether or not string comparison should be case-sensitive. @@ -12028,8 +13110,8 @@ String comparisons within the - are only case-sensitive if the filesystem on which - is located, is case-sensitive. + are only case-sensitive if is + @@ -12044,86 +13126,122 @@ String comparisons within the - are only case-sensitive if the filesystem on which - is located, is case-sensitive. + are only case-sensitive if is + . - - - Determines whether the filesystem on which the specified path is - located is case-sensitive. - - The path of which should be determined whether its on a case-sensitive filesystem. - - if is located on a - case-sensitive filesystem; otherwise, . - + + + Gets a value indicating whether string comparison is case-sensitive. + + + A value indicating whether string comparison is case-sensitive. + - - Gets the value of the specified property. - - The name of the property to get the value of. - - The value of the specified property. - + + Gets the value of the specified property. + + The name of the property to get the value of. + + The value of the specified property. + - - Splits an input string into a sequence of tokens used during parsing. - + + Splits an input string into a sequence of tokens used during parsing. + - - Available tokens - + + Available tokens + - - Encalsulates information about installed frameworks incuding version - information and directory locations for finding tools. - + + Encalsulates information about installed frameworks incuding version + information and directory locations for finding tools. + - + + + Resolves the specified assembly to a full path by matching it + against the reference assemblies. + + The file name of the assembly to resolve (without path information). + + An absolute path to the assembly, or if the + assembly could not be found or no reference assemblies are configured + for the current framework. + + + Whether the file name is matched case-sensitively depends on the + operating system. + + + - Initializes a new instance of the class - with a name, description, version, runtime engine, directory information - and properties. + Searches the list of tool paths of the current framework for the + given file, and returns the absolute path if found. - The name of the framework. - The family of the framework. - The description of the framework. - The version number of the framework. - The Common Language Runtime version of the framework. - The directory of the framework. - The directory containing the SDK tools for the framework, if available. - The directory containing the system assemblies for the framework. - The name of the runtime engine, if required. - The used to initialized the framework. + The file name of the tool to search for. + + The absolute path to if found in one of the + configured tool paths; otherwise, . + + is . + + + The configured tool paths are scanned in the order in which they + are defined in the framework configuration. + + + The file name of the tool to search should include the extension. + + + + + + Gets the value of the specified attribute from the specified node. + + The node of which the attribute value should be retrieved. + The attribute of which the value should be returned. + + The value of the attribute with the specified name or + if the attribute does not exist or has no value. + - - Gets the name of the framework. - - - The name of the framework. - + + Gets the name of the framework. + + + The name of the framework. + - - Gets the family of the framework. - - - The family of the framework. - + + Gets the family of the framework. + + + The family of the framework. + - - Gets the description of the framework. - - - The description of the framework. - + + Gets the description of the framework. + + + The description of the framework. + + + + + Gets the vendor of the framework. + + + The vendor of the framework. + @@ -12132,24 +13250,44 @@ The version of the framework. + The framework is not valid. + + When is not configured, the framework is not + considered valid. + - Gets the Common Language Runtime of the framework. + Gets the Common Language Runtime version of the framework. - The Common Language Runtime of the framework. + The Common Language Runtime version of the framework. + The framework is not valid. + + When is , the + framework is not considered valid. + + + + + Gets the CLR type of the framework. + + + The CLR type of the framework. + + The framework is not valid. Gets the Visual Studio version that corresponds with this framework. - + The Visual Studio version that corresponds with this framework. - - There is no version of Visual Studio .NET that corresponds with this framework. + + The framework is not valid. + There is no version of Visual Studio that corresponds with this framework. @@ -12158,25 +13296,28 @@ The base directory of the framework tools for the framework. + The framework is not valid. - + - Gets the path to the runtime engine for this framework. + Gets the runtime information for this framework. - The path to the runtime engine for the framework or - if no runtime engine is configured for the framework. + The runtime information for the framework or + if no runtime information is configured for the framework. + The framework is not valid. - Gets the directory where the system assemblies for the framework + Gets the directory where the system assemblies for the framework are located. The directory where the system assemblies for the framework are located. + The framework is not valid. @@ -12184,8 +13325,10 @@ The directory containing the SDK tools for the framework or a null - refererence if the sdk directory + reference if the configured sdk directory does not exist, or is not + valid. + The framework is not valid. @@ -12194,18 +13337,7 @@ The used to initialize this framework. - - - - Gets or sets the collection of environment variables that should be - passed to external programs that are launched in the runtime engine - of the current framework. - - - The collection of environment variables that should be passed to - external programs that are launched in the runtime engine of the - current framework. - + The framework is not valid. @@ -12216,6 +13348,46 @@ The set of assemblies and directories that should be scanned for NAnt tasks, types or functions. + The framework is not valid. + + + + Returns a value indicating whether the current framework is valid. + + + if the framework is installed and correctly + configured; otherwise, . + + + + + Gets the reference assemblies for the current framework. + + + The reference assemblies for the current framework. + + The framework is not valid. + + + + Gets the tool paths for the current framework. + + + The tool paths for the current framework. + + The framework is not valid. + + + + Gets the . + + + The . + + + The defines the current namespace + scope and provides methods for looking up namespace information. + @@ -12228,72 +13400,135 @@ with the specified capacity. + + + Defines the types of frameworks. + + + + + Frameworks that are supported on the current platform, but are not + installed. + + + + + Frameworks that are installed on the current system. + + + + + Retrieves installation state attributes. + + + + + Frameworks that typically target full desktop devices. + + + + + Frameworks that target compact devices. + + + + + Frameworks that run in a browser. + + + + + Retrieves device attributes. + + + + + Frameworks released as part of the open-source Mono + project. + + + + + Frameworks released by Microsoft. + + + + + Retrieves vendor attributes. + + + + + All frameworks supported on the current platform, regarless of their + installation state, target device or vendor. + + - - Stores the file name, line number and column number to record a position - in a text file. - + + Stores the file name, line number and column number to record a position + in a text file. + - - Creates a location consisting of a file name, line number and - column number. - - - can be a local URI resource, e.g., file:///C:/WINDOWS/setuplog.txt. - + + Creates a location consisting of a file name, line number and + column number. + + + can be a local URI resource, e.g., file:///C:/WINDOWS/setuplog.txt. + - - Creates a location consisting of a file name. - - - can be a local URI resource, e.g., file:///C:/WINDOWS/setuplog.txt. - + + Creates a location consisting of a file name. + + + can be a local URI resource, e.g., file:///C:/WINDOWS/setuplog.txt. + - - Creates an "unknown" location. - + + Creates an "unknown" location. + - Private Init function. + Private Init function. - - Returns the file name, line number and a trailing space. An error - message can be appended easily. For unknown locations, returns - an empty string. - + + Returns the file name, line number and a trailing space. An error + message can be appended easily. For unknown locations, returns + an empty string. + - - Gets a string containing the file name for the location. - - - The file name includes both the file path and the extension. - + + Gets a string containing the file name for the location. + + + The file name includes both the file path and the extension. + - - Gets the line number for the location. - - - Lines start at 1. Will be zero if not specified. - + + Gets the line number for the location. + + + Lines start at 1. Will be zero if not specified. + - - Gets the column number for the location. - - - Columns start a 1. Will be zero if not specified. - + + Gets the column number for the location. + + + Columns start a 1. Will be zero if not specified. + - - Maps XML nodes to the text positions from their original source. - + + Maps XML nodes to the text positions from their original source. + @@ -12301,14 +13536,14 @@ - - Determines if a file has been loaded by the current project. - - The file to check. - - if the specified file has already been loaded - by the current project; otherwise, . - + + Determines if a file has been loaded by the current project. + + The file to check. + + if the specified file has already been loaded + by the current project; otherwise, . + @@ -12328,9 +13563,9 @@ - - Represents a position in the build file. - + + Represents a position in the build file. + @@ -12341,47 +13576,47 @@ The column coordinate of the position. - - The line coordinate of the position. - + + The line coordinate of the position. + - - The column coordinate of the position. - + + The column coordinate of the position. + - - Defines the set of levels recognised by the NAnt logging system. - + + Defines the set of levels recognised by the NAnt logging system. + - - Designates fine-grained informational events that are most useful - to debug a build process. - + + Designates fine-grained informational events that are most useful + to debug a build process. + - - Designates events that offer a more detailed view of the build - process. - + + Designates events that offer a more detailed view of the build + process. + - - Designates informational events that are useful for getting a - high-level view of the build process. - + + Designates informational events that are useful for getting a + high-level view of the build process. + - - Designates potentionally harmful events. - + + Designates potentionally harmful events. + - - Designates error events. - + + Designates error events. + @@ -12391,6 +13626,30 @@ No events should be logged with this . + + + Specialized for + that ignores case when converting from string. + + + + + Initializes a new instance of the + class. + + + + + Converts the given object to the type of this converter, using the + specified context and culture information. + + An that provides a format context. + A object. If a is passed, the current culture is assumed. + The to convert. + + An that represents the converted value. + + Class representing an event occurring during a build. @@ -12441,20 +13700,20 @@ The that emitted the event. - - Gets or sets the message associated with this event. - - - The message associated with this event. - + + Gets or sets the message associated with this event. + + + The message associated with this event. + - - Gets or sets the priority level associated with this event. - - - The priority level associated with this event. - + + Gets or sets the priority level associated with this event. + + + The priority level associated with this event. + @@ -12499,10 +13758,10 @@ A that contains the event data. - - Instances of classes that implement this interface can register to be - notified when things happen during a build. - + + Instances of classes that implement this interface can register to be + notified when things happen during a build. + @@ -12576,30 +13835,30 @@ - - Flushes buffered build events or messages to the underlying storage. - + + Flushes buffered build events or messages to the underlying storage. + - - Gets or sets the highest level of message this logger should respond - to. - - The highest level of message this logger should respond to. - - Only messages with a message level higher than or equal to the given - level should actually be written to the log. - + + Gets or sets the highest level of message this logger should respond + to. + + The highest level of message this logger should respond to. + + Only messages with a message level higher than or equal to the given + level should actually be written to the log. + - - Gets or sets a value indicating whether to produce emacs (and other - editor) friendly output. - - - if output is to be unadorned so that emacs - and other editors can parse files names, etc. - + + Gets or sets a value indicating whether to produce emacs (and other + editor) friendly output. + + + if output is to be unadorned so that emacs + and other editors can parse files names, etc. + @@ -12614,9 +13873,9 @@ - - Flushes buffered build events or messages to the underlying storage. - + + Flushes buffered build events or messages to the underlying storage. + @@ -12684,11 +13943,11 @@ - - Empty implementation which allows derived classes to receive the - output that is generated in this logger. - - The message being logged. + + Empty implementation which allows derived classes to receive the + output that is generated in this logger. + + The message being logged. @@ -12715,36 +13974,36 @@ logger. The event to output. - TODO + The number of characters that the message should be indented. - - Holds a stack of reports for all running builds. - + + Holds a stack of reports for all running builds. + - - Gets or sets the highest level of message this logger should respond - to. - - - The highest level of message this logger should respond to. - - - Only messages with a message level higher than or equal to the given - level should be written to the log. - + + Gets or sets the highest level of message this logger should respond + to. + + + The highest level of message this logger should respond to. + + + Only messages with a message level higher than or equal to the given + level should be written to the log. + - - Gets or sets a value indicating whether to produce emacs (and other - editor) friendly output. - - - if output is to be unadorned so that emacs - and other editors can parse files names, etc. The default is - . - + + Gets or sets a value indicating whether to produce emacs (and other + editor) friendly output. + + + if output is to be unadorned so that emacs + and other editors can parse files names, etc. The default is + . + @@ -12756,100 +14015,100 @@ - - Used to store information about a build, to allow better reporting to - the user. - + + Used to store information about a build, to allow better reporting to + the user. + - - Errors encountered so far. - + + Errors encountered so far. + - - Warnings encountered so far. - + + Warnings encountered so far. + - - The start time of the build process. - + + The start time of the build process. + - - Buffers log messages from DefaultLogger, and sends an e-mail with the - results. - - - The following properties are used to send the mail : - - - Property - Description - - - MailLogger.mailhost - Mail server to use. [default: localhost] - - - MailLogger.from - The address of the e-mail sender. - - - MailLogger.failure.notify - Send build failure e-mails ? [default: true] - - - MailLogger.success.notify - Send build success e-mails ? [default: true] - - - MailLogger.failure.to - The address to send build failure messages to. - - - MailLogger.success.to - The address to send build success messages to. - - - MailLogger.failure.subject - The subject of build failure messages. [default: "Build Failure"] - - - MailLogger.success.subject - The subject of build success messages. [default: "Build Success"] - - - MailLogger.success.attachments - The ID of a fileset holdng set of files to attach when the build is successful. - - - MailLogger.failure.attachments - The ID of a fileset holdng set of files to attach when the build fails. - - - MailLogger.body.encoding - The encoding type of the body of the e-mail message. [default: system's ANSI code page] - - - MailLogger.smtp.username - The name of the user to login to the SMTP server. - - - MailLogger.smtp.password - The password of the specified user. - - - MailLogger.smtp.enablessl - Specifies whether to use SSL to encrypt the connection. [default: false] - - - MailLogger.smtp.port - The SMTP server port to connect to. [default: 25] - - - + + Buffers log messages from DefaultLogger, and sends an e-mail with the + results. + + + The following properties are used to send the mail : + + + Property + Description + + + MailLogger.mailhost + Mail server to use. [default: localhost] + + + MailLogger.from + The address of the e-mail sender. + + + MailLogger.failure.notify + Send build failure e-mails ? [default: true] + + + MailLogger.success.notify + Send build success e-mails ? [default: true] + + + MailLogger.failure.to + The address to send build failure messages to. + + + MailLogger.success.to + The address to send build success messages to. + + + MailLogger.failure.subject + The subject of build failure messages. [default: "Build Failure"] + + + MailLogger.success.subject + The subject of build success messages. [default: "Build Success"] + + + MailLogger.success.attachments + The ID of a fileset holdng set of files to attach when the build is successful. + + + MailLogger.failure.attachments + The ID of a fileset holdng set of files to attach when the build fails. + + + MailLogger.body.encoding + The encoding type of the body of the e-mail message. [default: system's ANSI code page] + + + MailLogger.smtp.username + The name of the user to login to the SMTP server. + + + MailLogger.smtp.password + The password of the specified user. + + + MailLogger.smtp.enablessl + Specifies whether to use SSL to encrypt the connection. [default: false] + + + MailLogger.smtp.port + The SMTP server port to connect to. [default: 25] + + + @@ -12876,10 +14135,10 @@ A object that contains the event data. - - Receives and buffers log messages. - - The message being logged. + + Receives and buffers log messages. + + The message being logged. @@ -12896,14 +14155,14 @@ is , and the specified property is not present and no default value has been given. - - Buffer in which the message is constructed prior to sending. - + + Buffer in which the message is constructed prior to sending. + - - Holds the stack of currently executing projects. - + + Holds the stack of currently executing projects. + @@ -12959,11 +14218,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -12996,10 +14255,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -13014,28 +14273,28 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + @@ -13054,27 +14313,27 @@ An object that controls formatting. - - Writes a character array to the buffer. - - The character array to write to the text stream. + + Writes a character array to the buffer. + + The character array to write to the text stream. - - Writes a string to the buffer. - - + + Writes a string to the buffer. + + - - Writes an empty string to the logging infrastructure. - + + Writes an empty string to the logging infrastructure. + - - Writes a string to the logging infrastructure. - - The string to write. If is a null reference, only the line termination characters are written. + + Writes a string to the logging infrastructure. + + The string to write. If is a null reference, only the line termination characters are written. @@ -13085,15 +14344,15 @@ The object array to write into format string. - - Causes any buffered data to be written to the logging infrastructure. - + + Causes any buffered data to be written to the logging infrastructure. + - - Closes the current writer and releases any system resources - associated with the writer. - + + Closes the current writer and releases any system resources + associated with the writer. + @@ -13123,19 +14382,19 @@ - - Used to search for files on the PATH. - - - - The local directory is not searched (since this would already be covered - by normal use of the includes element). - - - Also, advanced pattern matching isn't supported: you need to know the - exact name of the file. - - + + Used to search for files on the PATH. + + + + The local directory is not searched (since this would already be covered + by normal use of the includes element). + + + Also, advanced pattern matching isn't supported: you need to know the + exact name of the file. + + @@ -13154,28 +14413,28 @@ - - Adds a file to the list of files to be scanned for. - - The filename or search pattern to add to the list. + + Adds a file to the list of files to be scanned for. + + The filename or search pattern to add to the list. - - Scans all direcetories in the PATH environment variable for files. - - - List of matching files found in the PATH. - + + Scans all direcetories in the PATH environment variable for files. + + + List of matching files found in the PATH. + - - Scans all directories in the given environment variable for files. - - The environment variable of which the directories should be scanned. - - List of matching files found in the directory of the given - environment variable. - + + Scans all directories in the given environment variable for files. + + The environment variable of which the directories should be scanned. + + List of matching files found in the directory of the given + environment variable. + @@ -13186,6 +14445,37 @@ A shallow copy of the specified . + + + Returns a value indicating whether NAnt is running in 64-bit mode. + + + if NAnt is running in 64-bit mode; otherwise, + . + + + + + Returns a value indicating whether NAnt is running in 32-bit mode. + + + Note that even if the platform is 64-bit, NAnt may be running in + 32-bit mode. + + + if NAnt is running in 32-bit mode; otherwise, + . + + + + + Returns a value indicating whether NAnt is running on Windows. + + + if NAnt is running on Windows; + otherwise, . + + Central representation of a NAnt project. @@ -13216,26 +14506,26 @@ - - Constant for the "visiting" state, used when traversing a DFS of - target dependencies. - + + Constant for the "visiting" state, used when traversing a DFS of + target dependencies. + - - Constant for the "visited" state, used when traversing a DFS of - target dependencies. - + + Constant for the "visited" state, used when traversing a DFS of + target dependencies. + - - Holds the logger for this class. - + + Holds the logger for this class. + - - Holds the default threshold for build loggers. - + + Holds the default threshold for build loggers. + @@ -13323,6 +14613,64 @@ discovery of extension assemblies and framework configuration. + + + Gets the list of supported frameworks filtered by the specified + parameter. + + A bitwise combination of values that filter the frameworks to retrieve. + + An array of type that contains the + frameworks specified by the parameter, + sorted on name. + + + + + Returns the of the given node in an XML + file loaded by NAnt. + + + + The must be from an + that has been loaded by NAnt. + + + NAnt also does not process any of the following node types: + + + + + + + + + + + + + + + + + + + + As a result, no location information is available for these nodes. + + + The to get the for. + + of the given node in an XML file loaded by NAnt, or + if the node was not loaded from + an XML file. + + + is from an XML file that was not loaded by NAnt. + -or + was not processed by NAnt (eg. an XML declaration). + + Dispatches a event to the build listeners @@ -13423,33 +14771,33 @@ - - Executes a specific target, and its dependencies. - - The name of the target to execute. - - Global tasks are not executed. - + + Executes a specific target, and its dependencies. + + The name of the target to execute. + + Global tasks are not executed. + - - Executes a specific target. - - The name of the target to execute. - Whether dependencies should be forced to execute - - Global tasks are not executed. - + + Executes a specific target. + + The name of the target to execute. + Whether dependencies should be forced to execute + + Global tasks are not executed. + - - Executes the default target and wraps in error handling and time - stamping. - - - if the build was successful; otherwise, - . - + + Executes the default target and wraps in error handling and time + stamping. + + + if the build was successful; otherwise, + . + @@ -13534,8 +14882,6 @@ nant.project.buildfile (if doc has baseuri) nant.project.basedir nant.project.default = defaultTarget - nant.tasks.[name] = true - nant.tasks.[name].location = AssemblyFileName An representing the project definition. @@ -13654,20 +15000,20 @@ - - Gets or sets the indentation size of the build output. - - - The indendation size of the build output. - + + Gets or sets the indentation size of the build output. + + + The indendation size of the build output. + - - Gets or sets the default threshold level for build loggers. - - - The default threshold level for build loggers. - + + Gets or sets the default threshold level for build loggers. + + + The default threshold level for build loggers. + @@ -13714,20 +15060,20 @@ - - Gets a collection of available .NET frameworks. - - - A collection of available .NET frameworks. - + + Gets a collection of available .NET frameworks. + + + A collection of available .NET frameworks. + - - Gets the framework in which NAnt is currently running. - - - The framework in which NAnt is currently running. - + + Gets the framework in which NAnt is currently running. + + + The framework in which NAnt is currently running. + @@ -13736,6 +15082,8 @@ The framework to use for compilation. + The value specified is . + The specified framework is not installed, or not configured correctly. We will use compiler tools and system assemblies for this framework in framework-related tasks. @@ -13764,22 +15112,22 @@ NAnt does not support the current platform. - - Gets the current target. - - - The current target, or if no target is - executing. - + + Gets the current target. + + + The current target, or if no target is + executing. + - - Gets the path to the build file. - - - The path to the build file, or if the build - document is not file backed. - + + Gets the path to the build file. + + + The path to the build file, or if the build + document is not file backed. + @@ -13800,70 +15148,70 @@ - - Gets the name of the target that will be executed when no other - build targets are specified. - - - The name of the target that will be executed when no other - build targets are specified, or if no - default target is specified in the build file. - + + Gets the name of the target that will be executed when no other + build targets are specified. + + + The name of the target that will be executed when no other + build targets are specified, or if no + default target is specified in the build file. + - - Gets a value indicating whether tasks should output more build log - messages. - - - if tasks should output more build log message; - otherwise, . - + + Gets a value indicating whether tasks should output more build log + messages. + + + if tasks should output more build log message; + otherwise, . + - - The list of targets to build. - - - Targets are built in the order they appear in the collection. If - the collection is empty the default target will be built. - + + The list of targets to build. + + + Targets are built in the order they appear in the collection. If + the collection is empty the default target will be built. + - - Gets the properties defined in this project. - - The properties defined in this project. - - - This is the collection of properties that are defined by the system - and property task statements. - - - These properties can be used in expansion. - - + + Gets the properties defined in this project. + + The properties defined in this project. + + + This is the collection of properties that are defined by the system + and property task statements. + + + These properties can be used in expansion. + + - - Gets the framework-neutral properties defined in the NAnt - configuration file. - - - The framework-neutral properties defined in the NAnt configuration - file. - - - - This is the collection of read-only properties that are defined in - the NAnt configuration file. - - - These properties can only be used for expansion in framework-specific - and framework-neutral configuration settings. These properties are - not available for expansion in the build file. - - + + Gets the framework-neutral properties defined in the NAnt + configuration file. + + + The framework-neutral properties defined in the NAnt configuration + file. + + + + This is the collection of read-only properties that are defined in + the NAnt configuration file. + + + These properties can only be used for expansion in framework-specific + and framework-neutral configuration settings. These properties are + not available for expansion in the build file. + + @@ -13880,51 +15228,51 @@ - - Gets the targets defined in this project. - - - The targets defined in this project. - + + Gets the targets defined in this project. + + + The targets defined in this project. + - - Gets the build listeners for this project. - - - The build listeners for this project. - + + Gets the build listeners for this project. + + + The build listeners for this project. + - - Allow the project construction to be optimized. - - - Use this with care! - + + Allow the project construction to be optimized. + + + Use this with care! + - - Do not perform any optimizations. - + + Do not perform any optimizations. + - - The project base directory must not be automatically scanned - for extension assemblies. - + + The project base directory must not be automatically scanned + for extension assemblies. + - - Do not scan the project configuration for frameworks, and - do not configure the runtime and target framework. - + + Do not scan the project configuration for frameworks, and + do not configure the runtime and target framework. + - - Holds a value indicating whether a scan for tasks, types and functions - has already been performed for the current runtime framework. - + + Holds a value indicating whether a scan for tasks, types and functions + has already been performed for the current runtime framework. + @@ -13952,23 +15300,16 @@ An representing global properties. - - - Processes the framework environment variables. - - An representing framework environment variables. - The to obtain framework-specific information from. - - - Gets the value of the specified attribute from the specified node. - - The node of which the attribute value should be retrieved. - The attribute of which the value should be returned. - - The value of the attribute with the specified name or - if the attribute does not exist or has no value. - + + Gets the value of the specified attribute from the specified node. + + The node of which the attribute value should be retrieved. + The attribute of which the value should be returned. + + The value of the attribute with the specified name or + if the attribute does not exist or has no value. + @@ -13991,16 +15332,16 @@ - - Constant for the "visiting" state, used when traversing a DFS of - property references. - + + Constant for the "visiting" state, used when traversing a DFS of + property references. + - - Constant for the "visited" state, used when travesing a DFS of - property references. - + + Constant for the "visited" state, used when travesing a DFS of + property references. + @@ -14027,12 +15368,12 @@ The value of the element to remove. - - Performs additional custom processes when validating the element - with the specified key and value. - - The key of the element to validate. - The value of the element to validate. + + Performs additional custom processes when validating the element + with the specified key and value. + + The key of the element to validate. + The value of the element to validate. @@ -14046,45 +15387,45 @@ - - Marks a property as a property of which the value is expanded at - execution time. - - The name of the property to mark as dynamic. + + Marks a property as a property of which the value is expanded at + execution time. + + The name of the property to mark as dynamic. - - Adds a property to the collection. - - The name of the property. - The value to assign to the property. + + Adds a property to the collection. + + The name of the property. + The value to assign to the property. - - Determines whether the specified property is listed as read-only. - - The name of the property to check. - - if the property is listed as read-only; - otherwise, . - + + Determines whether the specified property is listed as read-only. + + The name of the property to check. + + if the property is listed as read-only; + otherwise, . + - - Determines whether the specified property is listed as dynamic. - - The name of the property to check. - - if the property is listed as dynamic; - otherwise, . - + + Determines whether the specified property is listed as dynamic. + + The name of the property to check. + + if the property is listed as dynamic; + otherwise, . + - - Inherits properties from an existing property dictionary Instance. - - Property list to inherit. - The list of properties to exclude during inheritance. + + Inherits properties from an existing property dictionary Instance. + + Property list to inherit. + The list of properties to exclude during inheritance. @@ -14095,20 +15436,20 @@ The expanded and replaced string. - - Determines whether a property already exists. - - The name of the property to check. - - if the specified property already exists; - otherwise, . - + + Determines whether a property already exists. + + The name of the property to check. + + if the specified property already exists; + otherwise, . + - - Removes the property with the specified name. - - The name of the property to remove. + + Removes the property with the specified name. + + The name of the property to remove. @@ -14121,20 +15462,20 @@ The expanded and replaced string. - - Evaluates the given expression string and returns the result - - - - - - + + Evaluates the given expression string and returns the result + + + + + + - - Checks whether the specified property is deprecated. - - The property to check. + + Checks whether the specified property is deprecated. + + The property to check. @@ -14149,33 +15490,33 @@ - - Maintains a list of the property names that are readonly. - + + Maintains a list of the property names that are readonly. + - - Maintains a list of the property names of which the value is expanded - on usage, not at initalization. - + + Maintains a list of the property names of which the value is expanded + on usage, not at initalization. + - - The project for which the dictionary holds properties. - + + The project for which the dictionary holds properties. + - - Indexer property. - + + Indexer property. + - - Gets the project for which the dictionary holds properties. - - - The project for which the dictionary holds properties. - + + Gets the project for which the dictionary holds properties. + + + The project for which the dictionary holds properties. + @@ -14199,14 +15540,14 @@ - - Executes dependent targets first, then the target. - + + Executes dependent targets first, then the target. + - - This indicates whether the target has already executed. - + + This indicates whether the target has already executed. + @@ -14224,19 +15565,19 @@ - - If then the target will be executed; - otherwise, skipped. The default is . - + + If then the target will be executed; + otherwise, skipped. The default is . + - - Gets a value indicating whether the target should be executed. - - - if the target should be executed; otherwise, - . - + + Gets a value indicating whether the target should be executed. + + + if the target should be executed; otherwise, + . + @@ -14246,29 +15587,29 @@ - - Gets a value indicating whether the target should NOT be executed. - - - if the target should NOT be executed; - otherwise, . - + + Gets a value indicating whether the target should NOT be executed. + + + if the target should NOT be executed; + otherwise, . + - - The description of the target. - + + The description of the target. + - - Space separated list of targets that this target depends on. - + + Space separated list of targets that this target depends on. + - - A collection of target names that must be executed before this - target. - + + A collection of target names that must be executed before this + target. + @@ -14305,10 +15646,23 @@ Creates a new instance of the class - for the specified class in the - specified. + for the specified class in the specified + . - The containing the . + + An for the specified + is cached for future use. + + The containing the . + The class representing the . + + + + Creates a new instance of the class + for the specified class in the specified + . + + The containing the . The class representing the . @@ -14321,14 +15675,6 @@ this . - - - Gets the from which the task will be created. - - - The containing the task. - - Gets the name of the task which the @@ -14402,11 +15748,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -14439,10 +15785,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -14463,34 +15809,34 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + - - Comprises all of the loaded, and available, tasks. - Use these static methods to register, initialize and create a task. - + + Comprises all of the loaded, and available, tasks. + Use these static methods to register, initialize and create a task. + @@ -14519,11 +15865,11 @@ indicating whether scanning of the directory should halt on first error. - - Adds any task assemblies in the project base directory - and its tasks subdirectory. - - The project to work from. + + Adds any task assemblies in the project base directory + and its tasks subdirectory. + + The project to work from. @@ -14533,16 +15879,17 @@ The project to work from. Specified whether to scan the for extension assemblies. - + - Looks up a function by name. + Looks up a function by name and argument count. - The name of the function to lookup, including namespace prefix. + The name of the function to lookup, including namespace prefix. + The argument of the function to lookup. The in which the function is invoked. A representing the function, or - if a function with the given name does not - exist. + if a function with the given name and + arguments does not exist. @@ -14556,10 +15903,11 @@ The new instance. - + Scans a given for tasks. + The containing the to scan. The to scan. The which will be used to output messages to the build log. @@ -14567,10 +15915,11 @@ ; otherwise, . - + Scans a given for data type. + The containing the to scan. The to scan. The which will be used to output messages to the build log. @@ -14589,10 +15938,11 @@ valid set of funtions; otherwise, . - + Scans a given for filters. + The containing the to scan. The to scan. The which will be used to output messages to the build log. @@ -14673,84 +16023,15 @@ The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a descriptive message. - - A descriptive message to include with the exception. - - - - Initializes a new instance of the class - with the specified descriptive message and inner exception. - - A descriptive message to include with the exception. - A nested exception that is the cause of the current exception. - - - - Initializes a new instance of the class - with the specified . - - of the invalid volume. - - - - Initializes a new instance of the class - with serialized data. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - - - Represents the different types of drives that may exist in a system. - - - - - Represents the different supporting flags that may be set on a file system. - - - - - Presents information about a volume. - - - - - Initializes a new instance of the class. - - - Uses a private access modifier to prevent instantiation of this class. - - - - - Determines whether the file system is case sensitive. Performs a - P/Invoke to the Win32 API GetVolumeInformation. - - - - if the specified volume is case-sensitive; - otherwise, . - - - - Used to wrap log messages in xml <message/> elements. - + + Used to wrap log messages in xml <message/> elements. + - - Holds the stack of currently executing projects. - + + Holds the stack of currently executing projects. + @@ -14774,9 +16055,9 @@ The destination for this serialization. - - Returns the contents of log captured. - + + Returns the contents of log captured. + @@ -14844,31 +16125,31 @@ - - Flushes buffered build events or messages to the underlying storage. - + + Flushes buffered build events or messages to the underlying storage. + - - Gets or sets the highest level of message this logger should respond - to. - - - The highest level of message this logger should respond to. - - - Only messages with a message level higher than or equal to the given - level should be written to the log. - + + Gets or sets the highest level of message this logger should respond + to. + + + The highest level of message this logger should respond to. + + + Only messages with a message level higher than or equal to the given + level should be written to the log. + - - Gets or sets a value indicating whether to produce emacs (and other - editor) friendly output. - - - as it has no meaning in XML format. - + + Gets or sets a value indicating whether to produce emacs (and other + editor) friendly output. + + + as it has no meaning in XML format. + diff --git a/build-support/tools/nant/bin/NAnt.DotNetTasks.dll b/build-support/tools/nant/bin/NAnt.DotNetTasks.dll index ae0552ce..3c74d585 100644 Binary files a/build-support/tools/nant/bin/NAnt.DotNetTasks.dll and b/build-support/tools/nant/bin/NAnt.DotNetTasks.dll differ diff --git a/build-support/tools/nant/bin/NAnt.DotNetTasks.xml b/build-support/tools/nant/bin/NAnt.DotNetTasks.xml index bded9bcc..50f2ce0a 100644 --- a/build-support/tools/nant/bin/NAnt.DotNetTasks.xml +++ b/build-support/tools/nant/bin/NAnt.DotNetTasks.xml @@ -63,9 +63,9 @@ - - Generates an AssemblyInfo file. - + + Generates an AssemblyInfo file. + @@ -79,66 +79,66 @@ - - Name of the AssemblyInfo file to generate. - - - The name of the AssemblyInfo file to generate. - + + Name of the AssemblyInfo file to generate. + + + The name of the AssemblyInfo file to generate. + - - The code language in which the AssemblyInfo file should be - generated. - + + The code language in which the AssemblyInfo file should be + generated. + - - The assembly-level attributes to generate. - - - The assembly-level attributes to generate. - + + The assembly-level attributes to generate. + + + The assembly-level attributes to generate. + - - The namespaces to import. - - - The namespaces to import. - + + The namespaces to import. + + + The namespaces to import. + - - Assembly files used to locate the types of the specified attributes. - + + Assembly files used to locate the types of the specified attributes. + - - Defines the supported code languages for generating an AssemblyInfo - file. - + + Defines the supported code languages for generating an AssemblyInfo + file. + - - A value for generating C# code. - + + A value for generating C# code. + - - A value for generating JScript code. - + + A value for generating JScript code. + - - A value for generating Visual Basic code. - + + A value for generating Visual Basic code. + - - Encapsulates functionality to generate a code file with imports - and assembly-level attributes. - + + Encapsulates functionality to generate a code file with imports + and assembly-level attributes. + @@ -216,51 +216,66 @@ - - Wraps al.exe, the assembly linker for the .NET Framework. - - - - All specified sources will be embedded using the /embed flag. - Other source types are not supported. - - - - - Create a library containing all icon files in the current directory. - - - - - - - - ]]> - - + + Wraps al.exe, the assembly linker for the .NET Framework. + + + + All specified sources will be embedded using the /embed flag. + Other source types are not supported. + + + + + Create a library containing all icon files in the current directory. + + + + + + + + ]]> + + + + + Create an executable assembly manifest from modules. + + + + + + + + + ]]> + + - - Generates an assembly manifest. - + + Generates an assembly manifest. + - - Determines whether the assembly manifest needs compiling or is - uptodate. - - - if the assembly manifest needs compiling; - otherwise, . - + + Determines whether the assembly manifest needs compiling or is + uptodate. + + + if the assembly manifest needs compiling; + otherwise, . + - - Specifies an algorithm (in hexadecimal) to hash all files in a - multifile assembly except the file that contains the assembly - manifest. The default algorithm is CALG_SHA1. - + + Specifies an algorithm (in hexadecimal) to hash all files in a + multifile assembly except the file that contains the assembly + manifest. The default algorithm is CALG_SHA1. + @@ -299,21 +314,21 @@ - - The culture string associated with the output assembly. - The string must be in RFC 1766 format, such as "en-US". - - - - Corresponds with the /c[ulture]: flag. - - + + The culture string associated with the output assembly. + The string must be in RFC 1766 format, such as "en-US". + + + + Corresponds with the /c[ulture]: flag. + + - - Specifies whether the assembly should be partially signed. The default - is . - + + Specifies whether the assembly should be partially signed. The default + is . + @@ -328,194 +343,199 @@ - - Security evidence file to embed. - - - The security evidence file to embed. - - - - Corresponds with the /e[vidence] flag. - - + + Security evidence file to embed. + + + The security evidence file to embed. + + + + Corresponds with the /e[vidence] flag. + + - - Specifies a string for the File Version field in the assembly. - - - A string for the File Version field in the assembly. - + + Specifies a string for the File Version field in the assembly. + + + A string for the File Version field in the assembly. + - - Specifies a value (in hexadecimal) for the Flags field in - the assembly. - - - A value (in hexadecimal) for the Flags field in the assembly. - + + Specifies a value (in hexadecimal) for the Flags field in + the assembly. + + + A value (in hexadecimal) for the Flags field in the assembly. + - - Specifies a container that holds a key pair. - + + Specifies a container that holds a key pair. + - - Specifies a file (filename) that contains a key pair or - just a public key to sign an assembly. - - - The complete path to the key file. - - - - Corresponds with the /keyf[ile]: flag. - - + + Specifies a file (filename) that contains a key pair or + just a public key to sign an assembly. + + + The complete path to the key file. + + + + Corresponds with the /keyf[ile]: flag. + + - - Specifies the fully-qualified name (class.method) of the method to - use as an entry point when converting a module to an executable file. - - - The fully-qualified name (class.method) of the method to use as an - entry point when converting a module to an executable file. - + + Specifies the fully-qualified name (class.method) of the method to + use as an entry point when converting a module to an executable file. + + + The fully-qualified name (class.method) of the method to use as an + entry point when converting a module to an executable file. + + + + + One or more modules to be compiled into an assembly. + - - The name of the output file for the assembly manifest. - - - The complete output path for the assembly manifest. - - - - Corresponds with the /out flag. - - + + The name of the output file for the assembly manifest. + + + The complete output path for the assembly manifest. + + + + Corresponds with the /out flag. + + - - The target type (one of lib, exe, or winexe). - - - - Corresponds with the /t[arget]: flag. - - + + The target type (one of lib, exe, or winexe). + + + + Corresponds with the /t[arget]: flag. + + - - Specifies a string for the Product field in the assembly. - - - A string for the Product field in the assembly. - + + Specifies a string for the Product field in the assembly. + + + A string for the Product field in the assembly. + - - Specifies a string for the Product Version field in the assembly. - - - A string for the Product Version field in the assembly. - + + Specifies a string for the Product Version field in the assembly. + + + A string for the Product Version field in the assembly. + - - The set of resources to embed. - + + The set of resources to embed. + - - The set of compiled resources to embed. - - - Do not yet expose this to build authors. - + + The set of compiled resources to embed. + + + Do not yet expose this to build authors. + - - Indicates whether the assembly linker for a given target framework - supports the "template" option, which takes an assembly from which - to get all options except the culture field. - The default is . - - - TODO: remove this once Mono bug #74814 is fixed. - + + Indicates whether the assembly linker for a given target framework + supports the "template" option, which takes an assembly from which + to get all options except the culture field. + The default is . + + + TODO: remove this once Mono bug #74814 is fixed. + - - Specifies an assembly from which to get all options except the - culture field. - - - The complete path to the assembly template. - - - - Corresponds with the /template: flag. - - + + Specifies an assembly from which to get all options except the + culture field. + + + The complete path to the assembly template. + + + + Corresponds with the /template: flag. + + - - Specifies a string for the Title field in the assembly. - - - A string for the Title field in the assembly. - + + Specifies a string for the Title field in the assembly. + + + A string for the Title field in the assembly. + - - Specifies a string for the Trademark field in the assembly. - - - A string for the Trademark field in the assembly. - + + Specifies a string for the Trademark field in the assembly. + + + A string for the Trademark field in the assembly. + - - Specifies version information for the assembly. The format of the - version string is major.minor.build.revision. - + + Specifies version information for the assembly. The format of the + version string is major.minor.build.revision. + - - Icon to associate with the assembly. - + + Icon to associate with the assembly. + - - Inserts a Win32 resource (.res file) in the output file. - + + Inserts a Win32 resource (.res file) in the output file. + - - Gets the command-line arguments for the external program. - - - The command-line arguments for the external program or - if the task is not being executed. - + + Gets the command-line arguments for the external program. + + + The command-line arguments for the external program or + if the task is not being executed. + - - Provides the abstract base class for compiler tasks. - + + Provides the abstract base class for compiler tasks. + - - Contains a list of extensions for all file types that should be treated as - 'code-behind' when looking for resources. Ultimately this will determine - if we use the "namespace+filename" or "namespace+classname" algorithm, since - code-behind will use the "namespace+classname" algorithm. - + + Contains a list of extensions for all file types that should be treated as + 'code-behind' when looking for resources. Ultimately this will determine + if we use the "namespace+filename" or "namespace+classname" algorithm, since + code-behind will use the "namespace+classname" algorithm. + @@ -532,9 +552,9 @@ - - Compiles the sources and resources. - + + Compiles the sources and resources. + @@ -565,14 +585,14 @@ - - Extracts the associated namespace/classname linkage found in the - given stream. - - The read-only stream of the source file to search. - - The namespace/classname of the source file matching the resource. - + + Extracts the associated namespace/classname linkage found in the + given stream. + + The read-only stream of the source file to search. + + The namespace/classname of the source file matching the resource. + @@ -628,45 +648,45 @@ The name of the option which should be passed to the compiler. The value of the option which should be passed to the compiler. - The combination of and + The combination of and (separated by a colon) is quoted unless is already surrounded by quotes. - - Determines whether compilation is needed. - + + Determines whether compilation is needed. + - - Finds the correct namespace/classname for a resource file from the - given dependent source file. - - The file from which the resource linkage of the resource file should be determined. - The culture of the resource file for which the resource linkage should be determined. - - The namespace/classname of the source file matching the resource or - if the dependent source file does not exist. - - - This behaviour may be overidden by each particular compiler to - support the namespace/classname syntax for that language. - + + Finds the correct namespace/classname for a resource file from the + given dependent source file. + + The file from which the resource linkage of the resource file should be determined. + The culture of the resource file for which the resource linkage should be determined. + + The namespace/classname of the source file matching the resource or + if the dependent source file does not exist. + + + This behaviour may be overidden by each particular compiler to + support the namespace/classname syntax for that language. + - - Link a list of files into a resource assembly. - - The collection of resources. - Resource assembly to generate - Culture of the generated assembly. + + Link a list of files into a resource assembly. + + The collection of resources. + Resource assembly to generate + Culture of the generated assembly. - - Compiles a set of resx files to a .resources files. - - The set of resx files to compile. + + Compiles a set of resx files to a .resources files. + + The set of resx files to compile. @@ -681,140 +701,157 @@ - - Generate debug output. The default is . - - - Only used for <jsc> tasks, but retained for backward - compatibility (Clover.NET). - + + Generate debug output. The default is . + + + Only used for <jsc> tasks, but retained for backward + compatibility (Clover.NET). + - - The output file created by the compiler. - + + The output file created by the compiler. + - - Output type. Possible values are exe, winexe, - library or module. - + + Output type. Possible values are exe, winexe, + library or module. + - - Define conditional compilation symbol(s). - - - - Corresponds to /d[efine]: flag. - - + + Define conditional compilation symbol(s). + + + + Corresponds to /d[efine]: flag. + + - - Icon to associate with the application. - - - - Corresponds to /win32icon: flag. - - + + Icon to associate with the application. + + + + Corresponds to /win32icon: flag. + + + + + + Specifies a Win32 resource file (.res). + + + + Corresponds to /win32res[ource]: flag. + + - - Instructs the compiler to treat all warnings as errors. The default - is . - - - - Corresponds to the /warnaserror[+|-] flag of the compiler. - - - When this property is set to , any messages - that would ordinarily be reported as warnings will instead be - reported as errors. - - + + Instructs the compiler to treat all warnings as errors. The default + is . + + + + Corresponds to the /warnaserror[+|-] flag of the compiler. + + + When this property is set to , any messages + that would ordinarily be reported as warnings will instead be + reported as errors. + + - - Controls which warnings should be reported as errors. - + + Controls which warnings should be reported as errors. + - - Specifies a comma-separated list of warnings that should be suppressed - by the compiler. - - - Comma-separated list of warnings that should be suppressed by the - compiler. - - - - Corresponds with the /nowarn flag. - - + + Specifies a comma-separated list of warnings that should be suppressed + by the compiler. + + + Comma-separated list of warnings that should be suppressed by the + compiler. + + + + Corresponds with the /nowarn flag. + + - - Specifies a list of warnings that you want the compiler to suppress. - + + Specifies a list of warnings that you want the compiler to suppress. + - - Instructs NAnt to recompile the output file regardless of the file timestamps. - - - When this parameter is to , NAnt will always - run the compiler to rebuild the output file, regardless of the file timestamps. - + + Instructs NAnt to recompile the output file regardless of the file timestamps. + + + When this parameter is to , NAnt will always + run the compiler to rebuild the output file, regardless of the file timestamps. + - - Specifies which type contains the Main method that you want to use - as the entry point into the program. - - - - Corresponds to the /m[ain]: flag of the compiler. - - - Use this property when creating an executable file. If this property - is not set, the compiler searches for a valid Main method in all - public classes. - - + + Specifies which type contains the Main method that you want to use + as the entry point into the program. + + + + Corresponds to the /m[ain]: flag of the compiler. + + + Use this property when creating an executable file. If this property + is not set, the compiler searches for a valid Main method in all + public classes. + + - - Specifies the key pair container used to strongname the assembly. - + + Specifies the key pair container used to strongname the assembly. + + + Specifies a strong name key file. + + + - Specifies a strong name key file. + Specifies whether to delay sign the assembly using only the public + portion of the strong name key. The default is + . - - Additional directories to search in for assembly references. - - - - Corresponds with the /lib[path]: flag. - - + + Additional directories to search in for assembly references. + + + + Corresponds with the /lib[path]: flag. + + - - Reference metadata from the specified assembly files. - + + Reference metadata from the specified assembly files. + - - Specifies list of packages to reference. - + + Specifies list of packages to reference. + @@ -844,79 +881,85 @@ - - Link the specified modules into this assembly. - + + Link the specified modules into this assembly. + - - The set of source files for compilation. - + + The set of source files for compilation. + - - Indicates whether package references are supported by compiler for - a given target framework. The default is . - + + Indicates whether package references are supported by compiler for + a given target framework. The default is . + - - Indicates whether the compiler for a given target framework supports - the "warnaserror" option that takes a list of warnings. The default - is . - + + Indicates whether the compiler for a given target framework supports + the "warnaserror" option that takes a list of warnings. The default + is . + - - Indicates whether the compiler for a given target framework supports - a command line option that allows a list of warnings to be - suppressed. The default is . - + + Indicates whether the compiler for a given target framework supports + a command line option that allows a list of warnings to be + suppressed. The default is . + - - Indicates whether the compiler for a given target framework supports - the "keycontainer" option. The default is . - + + Indicates whether the compiler for a given target framework supports + the "keycontainer" option. The default is . + - - Indicates whether the compiler for a given target framework supports - the "keyfile" option. The default is . - + + Indicates whether the compiler for a given target framework supports + the "keyfile" option. The default is . + + + + + Indicates whether the compiler for a given target framework supports + the "delaysign" option. The default is . + - - Gets the file extension required by the current compiler. - - - The file extension required by the current compiler. - + + Gets the file extension required by the current compiler. + + + The file extension required by the current compiler. + - - Gets the class name regular expression for the language of the current compiler. - - class name regular expression for the language of the current compiler + + Gets the class name regular expression for the language of the current compiler. + + class name regular expression for the language of the current compiler - - Gets the namespace regular expression for the language of the current compiler. - - namespace regular expression for the language of the current compiler + + Gets the namespace regular expression for the language of the current compiler. + + namespace regular expression for the language of the current compiler - - Gets the command-line arguments for the external program. - - - The command-line arguments for the external program. - + + Gets the command-line arguments for the external program. + + + The command-line arguments for the external program. + - - Holds class and namespace information for resource (*.resx) linkage. - + + Holds class and namespace information for resource (*.resx) linkage. + @@ -927,12 +970,12 @@ The class name the resource is associated with. - - Returns the resource linkage as a string. - - - A string representation of the resource linkage. - + + Returns the resource linkage as a string. + + + A string representation of the resource linkage. + @@ -967,29 +1010,29 @@ - - Gets the name of namespace the resource is under. - - - The name of namespace the resource is under. - + + Gets the name of namespace the resource is under. + + + The name of namespace the resource is under. + - - Gets the name of the class (most likely a form) that the resource - is associated with. - - - The name of the class the resource is associated with. - + + Gets the name of the class (most likely a form) that the resource + is associated with. + + + The name of the class the resource is associated with. + - - Gets the culture that the resource is associated with. - - - The culture that the resource is associated with. - + + Gets the culture that the resource is associated with. + + + The culture that the resource is associated with. + @@ -1036,23 +1079,23 @@ to which the compiler options should be written. - - Determines whether compilation is needed. - + + Determines whether compilation is needed. + - - The preferred base address at which to load a DLL. The default base - address for a DLL is set by the .NET Framework common language - runtime. - - - The preferred base address at which to load a DLL. - - - This address can be specified as a decimal, hexadecimal, or octal - number. - + + The preferred base address at which to load a DLL. The default base + address for a DLL is set by the .NET Framework common language + runtime. + + + The preferred base address at which to load a DLL. + + + This address can be specified as a decimal, hexadecimal, or octal + number. + @@ -1067,184 +1110,184 @@ - - The name of the XML documentation file to generate. - - - - Corresponds with the /doc: flag. - - + + The name of the XML documentation file to generate. + + + + Corresponds with the /doc: flag. + + - - Specifies the size of sections in the output file. Valid values are - 512, 1024, 2048, 4096, and 8192. - - - The size of sections in the output file. - + + Specifies the size of sections in the output file. Valid values are + 512, 1024, 2048, 4096, and 8192. + + + The size of sections in the output file. + - - Instructs the compiler not to import mscorlib.dll. The default is - . - - - - Corresponds with the /nostdlib[+|-] flag. - - + + Instructs the compiler not to import mscorlib.dll. The default is + . + + + + Corresponds with the /nostdlib[+|-] flag. + + - - Instructs the compiler not to use implicit references to assemblies. - The default is . - - - - Corresponds with the /noconfig flag. - - + + Instructs the compiler not to use implicit references to assemblies. + The default is . + + + + Corresponds with the /noconfig flag. + + - - Specifies whether an integer arithmetic statement that is not in - the scope of the checked or unchecked keywords and - that results in a value outside the range of the data type should - cause a run-time exception. The default is . - - - - Corresponds with the /checked[+|-] flag. - - + + Specifies whether an integer arithmetic statement that is not in + the scope of the checked or unchecked keywords and + that results in a value outside the range of the data type should + cause a run-time exception. The default is . + + + + Corresponds with the /checked[+|-] flag. + + - - Instructs the compiler to allow code that uses the unsafe - keyword. The default is . - - - - Corresponds with the /unsafe[+|-] flag. - - + + Instructs the compiler to allow code that uses the unsafe + keyword. The default is . + + + + Corresponds with the /unsafe[+|-] flag. + + - - Causes the compiler to only accept syntax that is included in a - given specification. - - - - Corresponds with the /langversion flag. - - + + Causes the compiler to only accept syntax that is included in a + given specification. + + + + Corresponds with the /langversion flag. + + - - Specifies whether the compiler should perform optimizations to the - make output files smaller, faster, and more effecient. The default - is . - - - if the compiler should perform optimizations; - otherwise, . - - - - Corresponds with the /optimize[+|-] flag. - - + + Specifies whether the compiler should perform optimizations to the + make output files smaller, faster, and more effecient. The default + is . + + + if the compiler should perform optimizations; + otherwise, . + + + + Corresponds with the /optimize[+|-] flag. + + - - Specifies which platform version of common language runtime (CLR) - can run the output file. - - - The platform version of common language runtime (CLR) that can run - the output file. - - - - Corresponds with the /platform flag. - - + + Specifies which platform version of common language runtime (CLR) + can run the output file. + + + The platform version of common language runtime (CLR) that can run + the output file. + + + + Corresponds with the /platform flag. + + - - Specifies the warning level for the compiler to display. Valid values - are 0-4. The default is 4. - - - The warning level for the compiler to display. - - - - Corresponds with the /warn flag. - - + + Specifies the warning level for the compiler to display. Valid values + are 0-4. The default is 4. + + + The warning level for the compiler to display. + + + + Corresponds with the /warn flag. + + - - Specifies the code page to use for all source code files in the - compilation. - - - - Corresponds with the /codepage flag. - - + + Specifies the code page to use for all source code files in the + compilation. + + + + Corresponds with the /codepage flag. + + - - Specifies whether the compiler for the active target framework - supports generation of XML Documentation file. The default is - . - + + Specifies whether the compiler for the active target framework + supports generation of XML Documentation file. The default is + . + - - Specifies whether the compiler for the active target framework - supports limiting the platform on which the compiled code can run. - The default is . - + + Specifies whether the compiler for the active target framework + supports limiting the platform on which the compiled code can run. + The default is . + - - Specifies whether the compiler for the active target framework - supports accepting only a specific language syntax. - The default is . - + + Specifies whether the compiler for the active target framework + supports accepting only a specific language syntax. + The default is . + - - Gets the file extension required by the current compiler. - - - For the C# compiler, the file extension is always cs. - + + Gets the file extension required by the current compiler. + + + For the C# compiler, the file extension is always cs. + - - Gets the class name regular expression for the language of the - current compiler. - - - Class name regular expression for the language of the current - compiler. - + + Gets the class name regular expression for the language of the + current compiler. + + + Class name regular expression for the language of the current + compiler. + - - Gets the namespace regular expression for the language of the current compiler. - - - Namespace regular expression for the language of the current - compiler. - + + Gets the namespace regular expression for the language of the current compiler. + + + Namespace regular expression for the language of the current + compiler. + @@ -1272,61 +1315,61 @@ - - Converts a single file or group of files. - + + Converts a single file or group of files. + - - List of assemblies/executables to sign. - + + List of assemblies/executables to sign. + - - Specifies the filesystem path to the signing key. - + + Specifies the filesystem path to the signing key. + - - Specifies the key container. - + + Specifies the key container. + - - Gets the command line arguments for the external program. - - - The command line arguments for the external program. - + + Gets the command line arguments for the external program. + + + The command line arguments for the external program. + - - Compiles ILASM programs. - - - - Compiles helloworld.il to helloworld.exe. - - - - - - - - ]]> - - + + Compiles ILASM programs. + + + + Compiles helloworld.il to helloworld.exe. + + + + + + + + ]]> + + - - Compiles the sources. - + + Compiles the sources. + - - Writes the compiler options. - + + Writes the compiler options. + @@ -1359,88 +1402,88 @@ - - Determines whether or not compilation is needed. - - - if compilation is needed; otherwise, - . - + + Determines whether or not compilation is needed. + + + if compilation is needed; otherwise, + . + - - Specifies whether or not the compiler should measure and report - the compilation times. - - - if the compilation times should be - measured and reported; otherwise, . The - default is . - - - - Corresponds to the /CLOCK flag. - - + + Specifies whether or not the compiler should measure and report + the compilation times. + + + if the compilation times should be + measured and reported; otherwise, . The + default is . + + + + Corresponds to the /CLOCK flag. + + - - Specifies whether or not the compiler should generate debug - information. - - - if debug information should be generated; - otherwise, . The default is - . - - - - Corresponds to the /DEBUG flag. - - + + Specifies whether or not the compiler should generate debug + information. + + + if debug information should be generated; + otherwise, . The default is + . + + + + Corresponds to the /DEBUG flag. + + - - Specifies whether or not the compiler should attempt to create a - PE file even if compilation errors have been reported. - - - if a PE file has to be created even if - compilation errors have been reported; otherwise, - . The default is . - - - - Corresponds to the /ERROR flag. - - + + Specifies whether or not the compiler should attempt to create a + PE file even if compilation errors have been reported. + + + if a PE file has to be created even if + compilation errors have been reported; otherwise, + . The default is . + + + + Corresponds to the /ERROR flag. + + - - Instructs NAnt to recompile the output file regardless of the file - timestamps. - - - if the output file should be recompiled - regardless of its timestamps; otherwise . - The default is . - + + Instructs NAnt to recompile the output file regardless of the file + timestamps. + + + if the output file should be recompiled + regardless of its timestamps; otherwise . + The default is . + - - Specifies whether or not the compiler should type a formatted - listing of the compilation result. - - - if a formatted listing of the compilation - result should be typed; otherwise, . The - default is . - - - - Corresponds to the /LISTING flag. - - + + Specifies whether or not the compiler should type a formatted + listing of the compilation result. + + + if a formatted listing of the compilation + result should be typed; otherwise, . The + default is . + + + + Corresponds to the /LISTING flag. + + @@ -1600,21 +1643,21 @@ - - Compiles JScript.NET programs. - - - Compile helloworld.js to helloworld.exe. - - - - - - - ]]> - - + + Compiles JScript.NET programs. + + + Compile helloworld.js to helloworld.exe. + + + + + + + ]]> + + @@ -1628,189 +1671,246 @@ to which the compiler options should be written. - + + + Automatically references assemblies if they have the same name as + an imported namespace or as a type annotation when declaring a + variable. The default is . + + + + Corresponds with the /autoref flag. + + + + - Specifies which platform version of common language runtime (CLR) - can run the output file. + Instructs the compiler not to import standard library, and changes + to . The default is + . - - The platform version of common language runtime (CLR) that can run - the output file. - - Corresponds with the /platform flag. + Corresponds with the /noconfig flag. + + + Specifies which platform version of common language runtime (CLR) + can run the output file. + + + The platform version of common language runtime (CLR) that can run + the output file. + + + + Corresponds with the /platform flag. + + + + + + Causes the compiler to generate errors for implicit method + overrides. The default is . + + + + Corresponds with the /versionsafe flag. + + + - - Specifies the warning level for the compiler to display. Valid - values are 0-4. The default is 4. - - - The warning level for the compiler to display. - - - - Corresponds with the /warn flag. - - + + Specifies the warning level for the compiler to display. Valid + values are 0-4. The default is 4. + + + The warning level for the compiler to display. + + + + Corresponds with the /warn flag. + + - - Controls which warnings should be reported as errors. - - - Override to avoid exposing this to build authors, as the JScript.NET - compiler does not allow control over which warnings should be - reported as errors. - + + Controls which warnings should be reported as errors. + + + Override to avoid exposing this to build authors, as the JScript.NET + compiler does not allow control over which warnings should be + reported as errors. + - - Specifies a comma-separated list of warnings that should be suppressed - by the compiler. - - - Override to avoid exposing this to build authors, as the JScript.NET - compiler does not support package references. - + + Specifies a comma-separated list of warnings that should be suppressed + by the compiler. + + + Override to avoid exposing this to build authors, as the JScript.NET + compiler does not support package references. + - - Specifies a list of warnings that you want the compiler to suppress. - - - Override to avoid exposing this to build authors, as the JScript.NET - compiler does not support suppressing warnings. - + + Specifies a list of warnings that you want the compiler to suppress. + + + Override to avoid exposing this to build authors, as the JScript.NET + compiler does not support suppressing warnings. + - - Specifies the code page to use for all source code files in the - compilation. - - - - Corresponds with the /codepage flag. - - + + Specifies the code page to use for all source code files in the + compilation. + + + + Corresponds with the /codepage flag. + + - - Specifies the key pair container used to strongname the assembly. - - - Override to avoid exposing this to build authors, as the JScript.NET - does not support this. - + + Specifies the key pair container used to strongname the assembly. + + + Override to avoid exposing this to build authors, as the JScript.NET + does not support this. + - - Specifies a strong name key file. - - - Override to avoid exposing this to build authors, as the JScript.NET - does not support this. - + + Specifies a strong name key file. + + + Override to avoid exposing this to build authors, as the JScript.NET + does not support this. + + + + + Specifies whether to delay sign the assembly using only the public + portion of the strong name key. + + + Override to avoid exposing this to build authors, as the JScript.NET + does not support this. + - - Indicates whether the compiler for a given target framework supports - the "keycontainer" option. The default is . - - - . - - - Override to avoid exposing this to build authors, as the JScript.NET - does not support this. - + + Indicates whether the compiler for a given target framework supports + the "keycontainer" option. The default is . + + + . + + + Override to avoid exposing this to build authors, as the JScript.NET + does not support this. + - - Indicates whether the compiler for a given target framework supports - the "keyfile" option. The default is . - - - . - - - Override to avoid exposing this to build authors, as the JScript.NET - does not support this. - + + Indicates whether the compiler for a given target framework supports + the "keyfile" option. The default is . + + + . + + + Override to avoid exposing this to build authors, as the JScript.NET + does not support this. + + + + + Indicates whether the compiler for a given target framework supports + the "delaysign" option. The default is . + + + . + + + Override to avoid exposing this to build authors, as the JScript.NET + does not support this. + - - Specifies whether the compiler for the active target framework - supports limiting the platform on which the compiled code can run. - The default is . - + + Specifies whether the compiler for the active target framework + supports limiting the platform on which the compiled code can run. + The default is . + - - Link the specified modules into this assembly. - - - Override to avoid exposing this to build authors, as the JScript.NET - compiler does not support linking modules. - + + Link the specified modules into this assembly. + + + Override to avoid exposing this to build authors, as the JScript.NET + compiler does not support linking modules. + - - Gets the file extension required by the current compiler. - - - For the JScript.NET compiler, the file extension is always js. - + + Gets the file extension required by the current compiler. + + + For the JScript.NET compiler, the file extension is always js. + - - Gets the class name regular expression for the language of the - current compiler. - - - Class name regular expression for the language of the current - compiler. - + + Gets the class name regular expression for the language of the + current compiler. + + + Class name regular expression for the language of the current + compiler. + - - Gets the namespace regular expression for the language of the - current compiler. - - - Namespace regular expression for the language of the current - compiler. - + + Gets the namespace regular expression for the language of the + current compiler. + + + Namespace regular expression for the language of the current + compiler. + - - Generates a .licence file from a .licx file. - - - - If no output file is specified, the default filename is the name of the - target file with the extension .licenses appended. - - - - - Generate the file component.exe.licenses file from component.licx. - - - - ]]> - - + + Generates a .licence file from a .licx file. + + + + If no output file is specified, the default filename is the name of the + target file with the extension .licenses appended. + + + + + Generate the file component.exe.licenses file from component.licx. + + + + ]]> + + - + Initializes the class. - The used to initialize the task. @@ -1820,104 +1920,104 @@ The of which the should be updated. - - Generates the license file. - + + Generates the license file. + - - Determines whether the .licenses file needs to be recompiled - or is uptodate. - - The .licenses file. - - if the .licenses file needs compiling; - otherwise, . - + + Determines whether the .licenses file needs to be recompiled + or is uptodate. + + The .licenses file. + + if the .licenses file needs compiling; + otherwise, . + - - Input file to process. - + + Input file to process. + - - Name of the license file to output. - + + Name of the license file to output. + - - Names of the references to scan for the licensed component. - + + Names of the references to scan for the licensed component. + - - Specifies the executable for which the .licenses file is generated. - + + Specifies the executable for which the .licenses file is generated. + - - Specifies the executable for which the .licenses file is generated. - + + Specifies the executable for which the .licenses file is generated. + - - Indicates whether assembly references are supported by the current - target framework. The default is . - - - Applies only to frameworks having a command line tool for compiling - licenses files. - + + Indicates whether assembly references are supported by the current + target framework. The default is . + + + Applies only to frameworks having a command line tool for compiling + licenses files. + - - Indicates whether the current target framework has a command line - tool for compiling licenses files. The default is - . - + + Indicates whether the current target framework has a command line + tool for compiling licenses files. The default is + . + - - Gets the working directory for the application. - - - The working directory for the application. - + + Gets the working directory for the application. + + + The working directory for the application. + - - The command-line arguments for the external program. - - - Override to avoid exposing these elements in build file. - + + The command-line arguments for the external program. + + + Override to avoid exposing these elements in build file. + - - Gets the command-line arguments for the external program. - - - The command-line arguments for the external program. - + + Gets the command-line arguments for the external program. + + + The command-line arguments for the external program. + - - Gets the filename of the external program to start. - - - The filename of the external program. - - - Override in derived classes to explicitly set the location of the - external tool. - + + Gets the filename of the external program to start. + + + The filename of the external program. + + + Override in derived classes to explicitly set the location of the + external tool. + - - Responsible for reading the license and writing them to a license - file. - + + Responsible for reading the license and writing them to a license + file. + @@ -1939,15 +2039,15 @@ The .licenses file to create. - - Determines whether the given object is serializable in binary - format. - - The object to check. - - if is - serializable in binary format; otherwise, . - + + Determines whether the given object is serializable in binary + format. + + The object to check. + + if is + serializable in binary format; otherwise, . + @@ -2024,16 +2124,15 @@ - - - Initializes the taks and verifies the parameters. - - containing the XML fragment used to define this task instance. + + + Initializes the taks and verifies the parameters. + - - Generates an NDoc project and builds the documentation. - + + Generates an NDoc project and builds the documentation. + @@ -2069,104 +2168,104 @@ for which expansion should be performed. - - The set of assemblies to document. - + + The set of assemblies to document. + - - The set of namespace summary files. - + + The set of namespace summary files. + - - Specifies the formats in which the documentation should be generated. - + + Specifies the formats in which the documentation should be generated. + - - Collection of additional directories to search for referenced - assemblies. - + + Collection of additional directories to search for referenced + assemblies. + - - Installs or removes .NET Services. - - - - This tasks provides the same functionality as the regsvcs tool - provided in the .NET SDK. - - - It performs the following actions: - - - - Loads and registers an assembly. - - - Generates, registers, and installs a type library into a specified COM+ application. - - - Configures services that are added programmatically to your class. - - - - Refer to the .NET Services Installation Tool (Regsvcs.exe) for more information. - - - - - Adds all public classes contained in myTest.dll to a COM+ - application and produces the myTest.tlb type library. If the - application already exists, it is overwritten. - - - - ]]> - - - - - Adds all public classes contained in myTest.dll to myTargetApp - and produces the myTest.tlb type library. If the application already - exists, it is overwritten. - - - - ]]> - - - - - Adds all public classes contained in myTest.dll to a COM+ - application and produces the myTest.tlb type library. A new - application is always created. - - - - ]]> - - - - - Uninstalls the COM+ application contained in myTest.dll. - - - - ]]> - - + + Installs or removes .NET Services. + + + + This tasks provides the same functionality as the regsvcs tool + provided in the .NET SDK. + + + It performs the following actions: + + + + Loads and registers an assembly. + + + Generates, registers, and installs a type library into a specified COM+ application. + + + Configures services that are added programmatically to your class. + + + + Refer to the .NET Services Installation Tool (Regsvcs.exe) for more information. + + + + + Adds all public classes contained in myTest.dll to a COM+ + application and produces the myTest.tlb type library. If the + application already exists, it is overwritten. + + + + ]]> + + + + + Adds all public classes contained in myTest.dll to myTargetApp + and produces the myTest.tlb type library. If the application already + exists, it is overwritten. + + + + ]]> + + + + + Adds all public classes contained in myTest.dll to a COM+ + application and produces the myTest.tlb type library. A new + application is always created. + + + + ]]> + + + + + Uninstalls the COM+ application contained in myTest.dll. + + + + ]]> + + - - Performs the specified action. - + + Performs the specified action. + @@ -2175,78 +2274,78 @@ - - The source assembly file. - - - The assembly must be signed with a strong name. - + + The source assembly file. + + + The assembly must be signed with a strong name. + - - Specifies the type library file to install. - + + Specifies the type library file to install. + - - Uses an existing type library. The default is . - + + Uses an existing type library. The default is . + - - Do not reconfigure an existing target application. - The default is . - + + Do not reconfigure an existing target application. + The default is . + - - Configures components only; ignores methods and interfaces. - The default is . - + + Configures components only; ignores methods and interfaces. + The default is . + - - Expect an existing application. The default is . - + + Expect an existing application. The default is . + - - Specifies the name of the COM+ application to either find or create. - + + Specifies the name of the COM+ application to either find or create. + - - Specifies the name or id of the COM+ application to either find or - create. - + + Specifies the name or id of the COM+ application to either find or + create. + - - Gets the command-line arguments for the external program. - - - The command-line arguments for the external program. - + + Gets the command-line arguments for the external program. + + + The command-line arguments for the external program. + - - Defines the possible actions for a .NET Service. - + + Defines the possible actions for a .NET Service. + - - Finds or creates the target application. - + + Finds or creates the target application. + - - Creates the target application. - + + Creates the target application. + - - Uninstalls the target application. - + + Uninstalls the target application. + @@ -2292,155 +2391,155 @@ The of which the should be updated. - - Converts a single file or group of files. - + + Converts a single file or group of files. + - - Cleans up generated files. - + + Cleans up generated files. + - - Determines whether the specified input file needs to be compiled. - - The input file. - The output file. - - if the input file need to be compiled; - otherwise . - + + Determines whether the specified input file needs to be compiled. + + The input file. + The output file. + + if the input file need to be compiled; + otherwise . + - - Determines the full path and extension for the output file. - - The output file for which the full path and extension should be determined. - - The full path (with extensions) for the specified file. - + + Determines the full path and extension for the output file. + + The output file for which the full path and extension should be determined. + + The full path (with extensions) for the specified file. + - - Determines whether the specified resource file references third - party assemblies by checking whether a <data> element exists - with a "type" attribute that does not start with - "System.". - - The resource file to check. - - if the resource file references third party - assemblies, or an error occurred; otherwise, . - - - This check will only be accurate for 1.0 resource file, but the - 2.0 resx files can only be compiled with a resgen tool that supported - assembly references, so this method will not be used anyway. - + + Determines whether the specified resource file references third + party assemblies by checking whether a <data> element exists + with a "type" attribute that does not start with + "System.". + + The resource file to check. + + if the resource file references third party + assemblies, or an error occurred; otherwise, . + + + This check will only be accurate for 1.0 resource file, but the + 2.0 resx files can only be compiled with a resgen tool that supports + assembly references, so this method will not be used anyway. + - - Returns a list of external file references for the specified file. - - The resx file for which a list of external file references should be returned. - - A list of external file references for the specified file, or - if does not - exist or does not support external file references. - + + Returns a list of external file references for the specified file. + + The resx file for which a list of external file references should be returned. + + A list of external file references for the specified file, or + if does not + exist or does not support external file references. + - - Input file to process. - - - The full path to the input file. - + + Input file to process. + + + The full path to the input file. + - - The resource file to output. - + + The resource file to output. + - - The target type. The default is resources. - + + The target type. The default is resources. + - - The directory to which outputs will be stored. - + + The directory to which outputs will be stored. + - - Use each source file's directory as the current directory for - resolving relative file paths. The default is . - Only supported when targeting .NET 2.0 (or higher). - + + Use each source file's directory as the current directory for + resolving relative file paths. The default is . + Only supported when targeting .NET 2.0 (or higher). + - - Takes a list of .resx or .txt files to convert to .resources files. - + + Takes a list of .resx or .txt files to convert to .resources files. + - - Reference metadata from the specified assembly files. - + + Reference metadata from the specified assembly files. + - - Indicates whether assembly references are supported by the - resgen tool for the current target framework. The default - is . - + + Indicates whether assembly references are supported by the + resgen tool for the current target framework. The default + is . + - - Indicates whether external file references are supported by the - resgen tool for the current target framework. The default - is . - + + Indicates whether external file references are supported by the + resgen tool for the current target framework. The default + is . + - - For internal use only ! - + + For internal use only ! + - - Gets the working directory for the application. - - - The working directory for the application. - + + Gets the working directory for the application. + + + The working directory for the application. + - - Gets the command line arguments for the external program. - - - The command line arguments for the external program. - + + Gets the command line arguments for the external program. + + + The command line arguments for the external program. + - - Gets the filename of the external program to start. - - - The filename of the external program. - - - Override in derived classes to explicitly set the location of the - external tool. - + + Gets the filename of the external program to start. + + + The filename of the external program. + + + Override in derived classes to explicitly set the location of the + external tool. + - - For internal use only ! - + + For internal use only ! + @@ -2451,37 +2550,44 @@ The compiled resource. - - Gets the resource file to compile. - - - The resource file to compile. - + + Gets the resource file to compile. + + + The resource file to compile. + - - Gets the compiled resource file. - - - The compiled resource file. - + + Gets the compiled resource file. + + + The compiled resource file. + - Executes the code contained within the task. This code can include custom extension function definitions. - Once the script task has executed those custom functions will be available for use in the buildfile. + Executes the code contained within the task. +
Code
The must contain a single code element, which in turn contains the script code. - A static entry point named ScriptMain is required if no custom functions have been defined. It must - have a single parameter. + This code can include extensions such as functions, or tasks. Once + the script task has executed those extensions will be available for + use in the buildfile. - The following namespaces are loaded by default: + If no extensions have been defined, a static entry point named + ScriptMain - which must have a single + argument - is required. + +
Namespaces
+ + The following namespaces are imported by default: @@ -2490,22 +2596,28 @@ System.Collections - - System.Collections.Specialized - System.IO System.Text - - System.Text.RegularExpressions - NAnt.Core + + NAnt.Core.Attributes + +
Assembly References
+ + The assembly references that are specified will be used to compile + the script, and will be loaded into the NAnt appdomain. + + + By default, only the NAnt.Core and mscorlib assemblies + are referenced. +
Run C# code that writes a message to the build log. @@ -2602,24 +2714,17 @@ [TaskName("usertask")] public class TestTask : Task { #region Private Instance Fields - - private string _message; - - #endregion Private Instance Fields - - #region Public Instance Properties - - [TaskAttribute("message", Required=true)] + private string _message; + #endregion Private Instance Fields + #region Public Instance Properties + [TaskAttribute("message", Required=true)] public string FileName { get { return _message; } set { _message = value; } } - - #endregion Public Instance Properties - - #region Override implementation of Task - - protected override void ExecuteTask() { + #endregion Public Instance Properties + #region Override implementation of Task + protected override void ExecuteTask() { Log(Level.Info, _message.ToUpper()); } #endregion Override implementation of Task @@ -2650,15 +2755,15 @@
- - - Initializes the task using the specified xml node. - + + + Initializes the task. + - - Executes the script block. - + + Executes the script block. + @@ -2668,31 +2773,31 @@ - - Any required references. - + + Any required references. + - - The name of the main class containing the static ScriptMain - entry point. - + + The name of the main class containing the static ScriptMain + entry point. + - - The namespace prefix for any custom functions defined in the script. - If ommitted the prefix will default to 'script' - + + The namespace prefix for any custom functions defined in the script. + If ommitted the prefix will default to 'script' + - - The namespaces to import. - + + The namespaces to import. + - - The code to execute. - + + The code to execute. + @@ -2769,22 +2874,22 @@ to which the compiler options should be written. - - Determines whether compilation is needed. - + + Determines whether compilation is needed. + - - The preferred base address at which to load a DLL. The default base - address for a DLL is set by the .NET Framework common language - runtime. - - - The preferred base address at which to load a DLL. - - - This address must be specified as a hexadecimal number. - + + The preferred base address at which to load a DLL. The default base + address for a DLL is set by the .NET Framework common language + runtime. + + + The preferred base address at which to load a DLL. + + + This address must be specified as a hexadecimal number. + @@ -2799,179 +2904,179 @@ - - The name of the XML documentation file to generate. Only supported - when targeting .NET 2.0 (or higher). - - - - Corresponds with the /doc: flag. - - + + The name of the XML documentation file to generate. Only supported + when targeting .NET 2.0 (or higher). + + + + Corresponds with the /doc: flag. + + - - Specifies whether the /imports option gets passed to the - compiler. - - - The value of this attribute is a string that contains one or more - namespaces separated by commas. - - - See the Microsoft.NET Framework SDK documentation for details. - - Example of an imports attribute - - + + Specifies whether the /imports option gets passed to the + compiler. + + + The value of this attribute is a string that contains one or more + namespaces separated by commas. + + + See the Microsoft.NET Framework SDK documentation for details. + + Example of an imports attribute + + - - The namespaces to import. - + + The namespaces to import. + - - Instructs the compiler not to reference standard libraries - (system.dll and VBC.RSP). The default is . - Only supported when targeting .NET 2.0 (or higher). - - - - Corresponds with the /nostdlib flag. - - + + Instructs the compiler not to reference standard libraries + (system.dll and VBC.RSP). The default is . + Only supported when targeting .NET 2.0 (or higher). + + + + Corresponds with the /nostdlib flag. + + - - Specifies whether /optioncompare option gets passed to the - compiler. - - - text, binary, or an empty string. If the value is - or an empty string, the option will not be - passed to the compiler. - - See the Microsoft.NET Framework SDK documentation for details. + + Specifies whether /optioncompare option gets passed to the + compiler. + + + text, binary, or an empty string. If the value is + or an empty string, the option will not be + passed to the compiler. + + See the Microsoft.NET Framework SDK documentation for details. - - Specifies whether the /optionexplicit option gets passed to - the compiler. The default is . - - - if the option should be passed to the compiler; - otherwise, . - - See the Microsoft.NET Framework SDK documentation for details. + + Specifies whether the /optionexplicit option gets passed to + the compiler. The default is . + + + if the option should be passed to the compiler; + otherwise, . + + See the Microsoft.NET Framework SDK documentation for details. - - Specifies whether the /optimize option gets passed to the - compiler. The default is . - - - if the option should be passed to the compiler; - otherwise, . - - See the Microsoft.NET Framework SDK documentation for details. + + Specifies whether the /optimize option gets passed to the + compiler. The default is . + + + if the option should be passed to the compiler; + otherwise, . + + See the Microsoft.NET Framework SDK documentation for details. - - Specifies whether the /optionstrict option gets passed to - the compiler. The default is . - - - if the option should be passed to the compiler; - otherwise, . - - See the Microsoft.NET Framework SDK documentation for details. + + Specifies whether the /optionstrict option gets passed to + the compiler. The default is . + + + if the option should be passed to the compiler; + otherwise, . + + See the Microsoft.NET Framework SDK documentation for details. - - Specifies which platform version of common language runtime (CLR) - can run the output file. - - - The platform version of common language runtime (CLR) that can run - the output file. - - - - Corresponds with the /platform flag. - - + + Specifies which platform version of common language runtime (CLR) + can run the output file. + + + The platform version of common language runtime (CLR) that can run + the output file. + + + + Corresponds with the /platform flag. + + - - Specifies whether the /removeintchecks option gets passed to - the compiler. The default is . - - - if the option should be passed to the compiler; - otherwise, . - - See the Microsoft.NET Framework SDK documentation for details. + + Specifies whether the /removeintchecks option gets passed to + the compiler. The default is . + + + if the option should be passed to the compiler; + otherwise, . + + See the Microsoft.NET Framework SDK documentation for details. - - Specifies whether the /rootnamespace option gets passed to - the compiler. - - - The value of this attribute is a string that contains the root - namespace of the project. - - See the Microsoft.NET Framework SDK documentation for details. + + Specifies whether the /rootnamespace option gets passed to + the compiler. + + + The value of this attribute is a string that contains the root + namespace of the project. + + See the Microsoft.NET Framework SDK documentation for details. - - Specifies whether the compiler for the active target framework - supports generation of XML Documentation file. The default is - . - + + Specifies whether the compiler for the active target framework + supports generation of XML Documentation file. The default is + . + - - Specifies whether the compiler for the active target framework - supports NOT referencing standard libraries (system.dll and VBC.RSP). - The default is . - + + Specifies whether the compiler for the active target framework + supports NOT referencing standard libraries (system.dll and VBC.RSP). + The default is . + - - Specifies whether the compiler for the active target framework - supports limiting the platform on which the compiled code can run. - The default is . - + + Specifies whether the compiler for the active target framework + supports limiting the platform on which the compiled code can run. + The default is . + - - Gets the file extension required by the current compiler. - - - For the VB.NET compiler, the file extension is always vb. - + + Gets the file extension required by the current compiler. + + + For the VB.NET compiler, the file extension is always vb. + - - Gets the class name regular expression for the language of the - current compiler. - - - Class name regular expression for the language of the current - compiler. - + + Gets the class name regular expression for the language of the + current compiler. + + + Class name regular expression for the language of the current + compiler. + - - Gets the namespace regular expression for the language of the - current compiler. - - - Namespace regular expression for the language of the current - compiler. - + + Gets the namespace regular expression for the language of the + current compiler. + + + Namespace regular expression for the language of the current + compiler. + @@ -3023,18 +3128,18 @@ to which the compiler options should be written. - - The preferred base address at which to load a DLL. The default base - address for a DLL is set by the .NET Framework common language - runtime. - - - The preferred base address at which to load a DLL. - - - This address can be specified as a decimal, hexadecimal, or octal - number. - + + The preferred base address at which to load a DLL. The default base + address for a DLL is set by the .NET Framework common language + runtime. + + + The preferred base address at which to load a DLL. + + + This address can be specified as a decimal, hexadecimal, or octal + number. + @@ -3049,185 +3154,185 @@ - - Specifies whether package-scoped members are accessible outside of - the assembly. In other words, package scope is treated as assembly - scope when emitting metadata. The default is . - - - if the option should be passed to the compiler; - otherwise, . - - - - Corresponds to the /securescoping flag. - - - See the Visual J# Reference for details. - - - - ]]> - + + Specifies whether package-scoped members are accessible outside of + the assembly. In other words, package scope is treated as assembly + scope when emitting metadata. The default is . + + + if the option should be passed to the compiler; + otherwise, . + + + + Corresponds to the /securescoping flag. + + + See the Visual J# Reference for details. + + + + ]]> + - - Specifies whether to disable language extensions. - - - The value of this property must be either all, net, - or an empty string. - - - - Corresponds to the /x flag. - - - See the Visual J# Reference for details. - - - - To disable only the .NET Framework extensions: - ]]> - To disable the .NET Framework extensions and the VJ++ 6.0 extensions: - ]]> - + + Specifies whether to disable language extensions. + + + The value of this property must be either all, net, + or an empty string. + + + + Corresponds to the /x flag. + + + See the Visual J# Reference for details. + + + + To disable only the .NET Framework extensions: + ]]> + To disable the .NET Framework extensions and the VJ++ 6.0 extensions: + ]]> + - - Specifies the location of assemblies referenced by way of the /reference flag. - - - - Corresponds to the /libpath:dir[;dir2] flag. - - - See the Visual J# Reference for details. - - + + Specifies the location of assemblies referenced by way of the /reference flag. + + + + Corresponds to the /libpath:dir[;dir2] flag. + + + See the Visual J# Reference for details. + + - - Associate Java-language/COM package names. - - - The value of this propery. must be package=namespace, @filename, - or an empty string. - - - - Corresponds to the /jcpa:package=namespace and /jcpa:@filename flags. - - - See the Visual J# Reference for details. - - - - Map package 'x' to namespace 'y': - ]]> - + + Associate Java-language/COM package names. + + + The value of this propery. must be package=namespace, @filename, + or an empty string. + + + + Corresponds to the /jcpa:package=namespace and /jcpa:@filename flags. + + + See the Visual J# Reference for details. + + + + Map package 'x' to namespace 'y': + ]]> + - - Specifies the code page to use for all source code files in the - compilation. - - - - Corresponds with the /codepage flag. - - - See the Visual J# Reference for details. - - + + Specifies the code page to use for all source code files in the + compilation. + + + + Corresponds with the /codepage flag. + + + See the Visual J# Reference for details. + + - - Specifies the warning level for the compiler to display. Valid values - are 0-4. The default is 4. - - - The warning level for the compiler to display. - - - - Corresponds with the /warn option. - - + + Specifies the warning level for the compiler to display. Valid values + are 0-4. The default is 4. + + + The warning level for the compiler to display. + + + + Corresponds with the /warn option. + + - - Controls which warnings should be reported as errors. - - - Override to avoid exposing this to build authors, as the Visual J# - compiler does not allow control over which warnings should be - reported as errors. - + + Controls which warnings should be reported as errors. + + + Override to avoid exposing this to build authors, as the Visual J# + compiler does not allow control over which warnings should be + reported as errors. + - - Reference packages - - - Override to avoid exposing this to build authors, as the Visual J# - compiler does not support package references. - + + Reference packages + + + Override to avoid exposing this to build authors, as the Visual J# + compiler does not support package references. + - - Link the specified modules into this assembly. - - - Override to avoid exposing this to build authors, as the Visual J# - compiler does not support linking modules. - + + Link the specified modules into this assembly. + + + Override to avoid exposing this to build authors, as the Visual J# + compiler does not support linking modules. + - - Gets the file extension required by the current compiler. - - - For the J# compiler, the file extension is always jsl. - + + Gets the file extension required by the current compiler. + + + For the J# compiler, the file extension is always jsl. + - - Gets the class name regular expression for the language of the - current compiler. - - - Class name regular expression for the language of the current - compiler. - + + Gets the class name regular expression for the language of the + current compiler. + + + Class name regular expression for the language of the current + compiler. + - - Gets the namespace regular expression for the language of the - current compiler. - - - Namespace regular expression for the language of the current - compiler. - + + Gets the namespace regular expression for the language of the + current compiler. + + + Namespace regular expression for the language of the current + compiler. + - - Override to avoid exposing the configuration setting for this - task as Visual J# will never support package references. - - - , as the Visual J# compiler will never - support package references. - + + Override to avoid exposing the configuration setting for this + task as Visual J# will never support package references. + + + , as the Visual J# compiler will never + support package references. + - - Represents an assembly-level attribute. - + + Represents an assembly-level attribute. + @@ -3236,43 +3341,43 @@ - - Typename of the assembly-level attribute. - + + Typename of the assembly-level attribute. + - - Value of the attribute. - + + Value of the attribute. + - - If then the value of the attribute will be - set as is, without actually looking for a matching constructor or - named properties. The default is . - - - if the value of the attribute should be set - as is; otherwise, . - + + If then the value of the attribute will be + set as is, without actually looking for a matching constructor or + named properties. The default is . + + + if the value of the attribute should be set + as is; otherwise, . + - - Indicates if the attribute should be generated. - - - if the attribute should be generated; - otherwise, . - + + Indicates if the attribute should be generated. + + + if the attribute should be generated; + otherwise, . + - - Indicates if the attribute should be not generated. - - - if the attribute should be not generated; - otherwise, . - + + Indicates if the attribute should be not generated. + + + if the attribute should be not generated; + otherwise, . + @@ -3339,11 +3444,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -3376,10 +3481,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -3400,28 +3505,28 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + @@ -3440,11 +3545,11 @@ - - override this. We will always use the base directory of the parent. - overriding without the TaskAttribute attribute prevents it being set - in the source xml - + + override this. We will always use the base directory of the parent. + overriding without the TaskAttribute attribute prevents it being set + in the source xml + @@ -3468,10 +3573,15 @@ - The assembly directory of the current target framework. + The list of reference assemblies of the current target framework. + + The reference assemblies of a given target framework are defined using + <reference-assemblies> filesets in the <framework> node + of the NAnt configuration file. + @@ -3533,17 +3643,17 @@ - - copy constructor for FileSet. Required in order to - assign references of FileSet type where - AssemblyFileSets are used - - + + copy constructor for FileSet. Required in order to + assign references of FileSet type where + AssemblyFileSets are used + + - - Do a normal scan and then resolve assemblies. - + + Do a normal scan and then resolve assemblies. + @@ -3552,37 +3662,37 @@ - - Additional directories to search in for assembly references. - - - - loosely Corresponds with the /lib[path]: flag of the various compiler tasks. - - + + Additional directories to search in for assembly references. + + + + loosely Corresponds with the /lib[path]: flag of the various compiler tasks. + + - - Represents a compiler warning. - + + Represents a compiler warning. + - - A warning number, or comma-separated list of warnings, that you want - the compiler to suppress or report. - + + A warning number, or comma-separated list of warnings, that you want + the compiler to suppress or report. + - - If then the element will be processed; - otherwise, skipped. The default is . - + + If then the element will be processed; + otherwise, skipped. The default is . + - - If then the element will be skipped; - otherwise, processed. The default is . - + + If then the element will be skipped; + otherwise, processed. The default is . + @@ -3636,11 +3746,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -3673,10 +3783,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -3691,28 +3801,28 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + @@ -3752,25 +3862,25 @@ - - Create no debug information. - + + Create no debug information. + - - Enable attaching a debugger to the running program. - + + Enable attaching a debugger to the running program. + - - Enable attaching a debugger to the running program. - + + Enable attaching a debugger to the running program. + - - Only display assembler when the running program is attached to the - debugger. - + + Only display assembler when the running program is attached to the + debugger. + @@ -3798,14 +3908,82 @@ An that represents the converted value. - + - Represents an embedded resource. + Specifies whether the generated assembly is strongly named and will + be signed later. - Do not yet expose this to build authors. + + For backward compatibility, the following string values can also be + used in build files: + + + + Value + Corresponding field + + + "true" + + + + "false" + + + + + + Not specified. + + + + + Fully sign the assembly. + + + + + Only place the public key in the assembly, allowing the signature + to be added later. + + + + + Specialized that also supports + case-insensitive conversion of "true" to + and "false" to + . + + + + + Initializes a new instance of the + class. + + + + + Converts the given object to the type of this converter, using the + specified context and culture information. + + An that provides a format context. + A object. If a is passed, the current culture is assumed. + The to convert. + + An that represents the converted value. + + + + + Represents an embedded resource. + + + Do not yet expose this to build authors. + + Initializes a new instance of the @@ -3815,20 +3993,20 @@ The manifest resource name of the embedded resource. - - Gets the physical location of the resource to embed. - - - The physical location of the resource to embed. - + + Gets the physical location of the resource to embed. + + + The physical location of the resource to embed. + - - Gets the manifest resource name to use when embedding the resource. - - - The manifest resource name to use when embedding the resource. - + + Gets the manifest resource name to use when embedding the resource. + + + The manifest resource name to use when embedding the resource. + @@ -3839,9 +4017,9 @@ - - Base class for collections that needs to be globally referencable. - + + Base class for collections that needs to be globally referencable. + @@ -3867,15 +4045,15 @@ - - Removes an item at a specific index. - - The zero-based index of the item to remove. + + Removes an item at a specific index. + + The zero-based index of the item to remove. - - Removes all items from the collection. - + + Removes all items from the collection. + @@ -3885,53 +4063,53 @@ The instance to verify. - - Checks whether the specified index is within the range of this - collection. - - The index to check. + + Checks whether the specified index is within the range of this + collection. + + The index to check. - - Gets a value indicating whether access to the collection is - synchronized (thread-safe). - - - . - + + Gets a value indicating whether access to the collection is + synchronized (thread-safe). + + + . + - - Gets the number of items in the collection. - - - The number of items in the collection. - + + Gets the number of items in the collection. + + + The number of items in the collection. + - - Gets an object that can be used to synchronize access to the - collection. - - - An object that can be used to synchronize access to the collection. - + + Gets an object that can be used to synchronize access to the + collection. + + + An object that can be used to synchronize access to the collection. + - - Gets a value indicating whether the collection has a fixed size. - - - . - + + Gets a value indicating whether the collection has a fixed size. + + + . + - - Gets a value indicating whether the collection has a fixed size. - - - . - + + Gets a value indicating whether the collection has a fixed size. + + + . + @@ -3964,7 +4142,7 @@ Inserts a into the collection at the specified index. - The zero-based index at which should be inserted. + The zero-based index at which should be inserted. The to insert. @@ -4027,7 +4205,7 @@ Inserts a into the collection at the specified index. - The zero-based index at which should be inserted. + The zero-based index at which should be inserted. The to insert. @@ -4062,10 +4240,10 @@ - - Gets or sets the item at the specified index. - - The zero-based index of the item to get or set. + + Gets or sets the item at the specified index. + + The zero-based index of the item to get or set. @@ -4083,10 +4261,10 @@ - - Gets or sets the item at the specified index. - - The zero-based index of the item to get or set. + + Gets or sets the item at the specified index. + + The zero-based index of the item to get or set. @@ -4101,41 +4279,372 @@ The collection that should be enumerated. - - Advances the enumerator to the next item of the collection. - - - if the enumerator was successfully advanced - to the next item; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next item of the collection. + + + if the enumerator was successfully advanced + to the next item; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first item in the collection. - + + Sets the enumerator to its initial position, which is before the + first item in the collection. + - - Gets the current item in the collection. - - - The current item in the collection. - + + Gets the current item in the collection. + + + The current item in the collection. + + + Gets the current item in the collection. + + + The current item in the collection. + + + + + Represents a metadata file without assembly manifest. + + + + + Returns a textual representation of the module, which can be used as + argument for command-line tools. + + + A textual representation of the path, file[,target]. + + + + + The path of the module. + + + + + File name where the module should be copied to before it is compiled + into an assembly. + + + - Gets the current item in the collection. + Gets or sets the that contains the module. + + + + + Contains a collection of items. + + + Do not yet expose this to build authors. + + + + + Initializes a new instance of the + for the specified . + + The containing the collection. + is . + + + + Returns an enumerator that can iterate through the collection. - The current item in the collection. + A for the entire collection. - + - Represents a namespace to import. + Copies the items of the collection to an , + starting at a particular index. + The one-dimensional that is the destination of the items copied from the collection. The must have zero-based indexing. + The zero-based index in at which copying begins. + + + + Removes all items from the collection. + + + + + Inserts a into the collection at the + specified index. + + The zero-based index at which should be inserted. + The to insert. + + + + Removes the specified from the + collection. + + The to remove from the collection. + + + + Removes an item at a specific index. + + The zero-based index of the item to remove. + The parameter is less than 0 or greater than or equal to the value of the property of the . + + + + Determines whether a is in the collection. + + The to locate in the collection. + + if is found in the + collection; otherwise, . + + + + + Gets the location of a in the collection. + + The object to locate. + + The zero-based location of the in the + collection. + + + If the is not currently a member of + the collection, -1 is returned. + + + + + Adds a to the end of the collection. + + The to be added to the end of the collection. + + The position into which the new item was inserted. + + + + + Adds the items of a to the end of the collection. + + The to be added to the end of the collection. + + + + Adds a to the end of the collection. + + The to be added to the end of the collection. + + The position into which the new item was inserted. + + + + + Returns an enumerator that can iterate through the collection. + + + A for the entire collection. + + + + + Inserts a into the collection at the + specified index. + + The zero-based index at which should be inserted. + The to insert. + + + + Removes the specified from the + collection. + + The to remove from the collection. + + + + Determines whether a is in the collection. + + The to locate in the collection. + + if is found in the + collection; otherwise, . + + + + + Gets the location of a in the collection. + + The object to locate. + + The zero-based location of the in the + collection. + + + If the is not currently a member of + the collection, -1 is returned. + + + + + Gets or sets the item at the specified index. + + The zero-based index of the item to get or set. + The parameter is less than 0 or greater than or equal to the value of the property of the . + + + + Gets the list of elements contained in the + instance. + + + An containing the elements of the + collection. + + + + + Gets a value indicating whether access to the collection is + synchronized (thread-safe). + + + . + + + + + Gets the number of items in the collection. + + + The number of items in the collection. + + + + + Gets an object that can be used to synchronize access to the + collection. + + + An object that can be used to synchronize access to the collection. + + + + + Gets a value indicating whether the collection has a fixed size. + + + . + + + + + Gets a value indicating whether the collection has a fixed size. + + + . + + + + + Gets or sets the item at the specified index. + + The zero-based index of the item to get or set. + The parameter is less than 0 or greater than or equal to the value of the property of the . + + + + Enumerates the items of a . + + + + + Initializes a new instance of the class + with the specified . + + The collection that should be enumerated. + + + + Advances the enumerator to the next item of the collection. + + + if the enumerator was successfully advanced + to the next item; if the enumerator has + passed the end of the collection. + + + + + Sets the enumerator to its initial position, which is before the + first item in the collection. + + + + + Gets the current item in the collection. + + + The current item in the collection. + + + + + Gets the current item in the collection. + + + The current item in the collection. + + + + + + One or more modules to compile into an assembly. + + + + + Define a global <moduleset> that can be referenced by + other tasks or types. + + + + + + + ]]> + + + + + + Initializes a new instance of the class. + + + + + The base of the directory of this . + The default is the project base directory. + + + + + The modules to add to this . + + + + + Represents a namespace to import. + @@ -4152,38 +4661,38 @@ is . - - The name of the namespace to import. - - - The name of the namespace to import. - + + The name of the namespace to import. + + + The name of the namespace to import. + - - The name of the namespace to import. - - - The name of the namespace to import. - + + The name of the namespace to import. + + + The name of the namespace to import. + - - Indicates if the import should be generated. - - - if the import should be generated; otherwise, - . - + + Indicates if the import should be generated. + + + if the import should be generated; otherwise, + . + - - Indicates if the import should be not generated. - - - if the import should be not generated; - otherwise, . - + + Indicates if the import should be not generated. + + + if the import should be not generated; + otherwise, . + @@ -4241,7 +4750,7 @@ Inserts a into the collection at the specified index. - The zero-based index at which should be inserted. + The zero-based index at which should be inserted. The to insert. @@ -4304,7 +4813,7 @@ Inserts a into the collection at the specified index. - The zero-based index at which should be inserted. + The zero-based index at which should be inserted. The to insert. @@ -4339,10 +4848,10 @@ - - Gets or sets the item at the specified index. - - The zero-based index of the item to get or set. + + Gets or sets the item at the specified index. + + The zero-based index of the item to get or set. @@ -4359,10 +4868,10 @@ - - Gets or sets the item at the specified index. - - The zero-based index of the item to get or set. + + Gets or sets the item at the specified index. + + The zero-based index of the item to get or set. @@ -4377,62 +4886,62 @@ The collection that should be enumerated. - - Advances the enumerator to the next item of the collection. - - - if the enumerator was successfully advanced - to the next item; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next item of the collection. + + + if the enumerator was successfully advanced + to the next item; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first item in the collection. - + + Sets the enumerator to its initial position, which is before the + first item in the collection. + - - Gets the current item in the collection. - - - The current item in the collection. - + + Gets the current item in the collection. + + + The current item in the collection. + - - Gets the current item in the collection. - - - The current item in the collection. - + + Gets the current item in the collection. + + + The current item in the collection. + - - Represents a package. - + + Represents a package. + - - Name of the package to reference. Multiple package can be specified - with a single element as a semi-colon separated list of - package names. - + + Name of the package to reference. Multiple package can be specified + with a single element as a semi-colon separated list of + package names. + - - Indicates if the package should be passed to the task. - If then the package will be passed; - otherwise, skipped. The default is . - + + Indicates if the package should be passed to the task. + If then the package will be passed; + otherwise, skipped. The default is . + - - Indicates if the package should not be passed to the task. - If then the package will be passed; - otherwise, skipped. The default is . - + + Indicates if the package should not be passed to the task. + If then the package will be passed; + otherwise, skipped. The default is . + @@ -4487,11 +4996,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -4524,10 +5033,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -4542,32 +5051,32 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + - Specialized class for managing resource files. + Specialized class for managing resource files. @@ -4576,12 +5085,12 @@ - - copy constructor for FileSet. Required in order to - assign references of FileSet type where - ResourceFileSet are used - - + + copy constructor for FileSet. Required in order to + assign references of FileSet type where + ResourceFileSet are used + + @@ -4592,41 +5101,41 @@ - - Gets the manifest resource name for the specified resource file. - - The physical path of the resource file. - - The manifest resource name to be sent to the compiler. - + + Gets the manifest resource name for the specified resource file. + + The physical path of the resource file. + + The manifest resource name to be sent to the compiler. + - - Gets the manifest resource name for the file using both its physical - and logical path. - - The physical path of the resource file. - The logical location of the resource file. - - The manifest resource name to be sent to the compiler. - - - We use the relative path of the logical path, but the filename and - and the extension of the physical path to match VS.NET - + + Gets the manifest resource name for the file using both its physical + and logical path. + + The physical path of the resource file. + The logical location of the resource file. + + The manifest resource name to be sent to the compiler. + + + We use the relative path of the logical path, but the filename and + and the extension of the physical path to match VS.NET + - - Indicates the prefix to prepend to the actual resource. - This is usually the default namspace of the assembly. - + + Indicates the prefix to prepend to the actual resource. + This is usually the default namspace of the assembly. + - - Indicates that prefixes should be dynamically generated by taking - the path of the resource relative to the basedir and appending it - to the specified prefix. - + + Indicates whether prefixes should be dynamically generated by taking + the path of the resource relative to the basedir and appending it + to the specified prefix. The default is . + @@ -4697,11 +5206,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -4734,10 +5243,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -4752,59 +5261,59 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + - - Controls the behaviour of a compiler with regards to the reporting of - warnings. - - - - Instruct a compiler to report warning 0519 as an error. - - - - - - ]]> - - - - - Instruct a compiler not to report warning 0519 as an error, if the - release property is . - - - - - - ]]> - - + + Controls the behaviour of a compiler with regards to the reporting of + warnings. + + + + Instruct a compiler to report warning 0519 as an error. + + + + + + ]]> + + + + + Instruct a compiler not to report warning 0519 as an error, if the + release property is . + + + + + + ]]> + + diff --git a/build-support/tools/nant/bin/NAnt.MSNetTasks.dll b/build-support/tools/nant/bin/NAnt.MSNetTasks.dll index a679416a..be8f81e6 100644 Binary files a/build-support/tools/nant/bin/NAnt.MSNetTasks.dll and b/build-support/tools/nant/bin/NAnt.MSNetTasks.dll differ diff --git a/build-support/tools/nant/bin/NAnt.MSNetTasks.xml b/build-support/tools/nant/bin/NAnt.MSNetTasks.xml index 31e25845..51409dc7 100644 --- a/build-support/tools/nant/bin/NAnt.MSNetTasks.xml +++ b/build-support/tools/nant/bin/NAnt.MSNetTasks.xml @@ -49,22 +49,21 @@ - - - Checks whether the task is initialized with valid attributes. - - The used to initialize the task. + + + Checks whether the task is initialized with valid attributes. + - - Disassembles the PE file(s). - + + Disassembles the PE file(s). + - - Disassembles the specified PE file. - - The PE file to disassemble. + + Disassembles the specified PE file. + + The PE file to disassemble. @@ -81,9 +80,9 @@ The path of the output file could not be determined. - - Writes the disassembler options. - + + Writes the disassembler options. + @@ -116,76 +115,76 @@ - - Determines whether or not disassembling is needed. - - - if disassembling is needed; otherwise, - . - + + Determines whether or not disassembling is needed. + + + if disassembling is needed; otherwise, + . + - - Specifies whether or not the disassembler should combine the - /HEADER, /BYTE, and /TOKENS options. The default - is . - - - if the disassembler should combine the - /HEADER, /BYTE, and /TOKENS options; - otherwise, . The default is - . - - - - Corresponds to the /ALL flag. - - + + Specifies whether or not the disassembler should combine the + /HEADER, /BYTE, and /TOKENS options. The default + is . + + + if the disassembler should combine the + /HEADER, /BYTE, and /TOKENS options; + otherwise, . The default is + . + + + + Corresponds to the /ALL flag. + + - - Specifies whether or not the disassembler should generate the - IL stream bytes (in hexadecimal notation) as instruction comments. - The default is . - - - if the IL stream bytes should be generated - as instruction comments; otherwise, . The - default is . - - - - Corresponds to the /BYTE flag. - - + + Specifies whether or not the disassembler should generate the + IL stream bytes (in hexadecimal notation) as instruction comments. + The default is . + + + if the IL stream bytes should be generated + as instruction comments; otherwise, . The + default is . + + + + Corresponds to the /BYTE flag. + + - - Instructs NAnt to rebuild the output file regardless of the file - timestamps. The default is . - - - if the output file should be rebuilt - regardless of its timestamps; otherwise . - The default is . - + + Instructs NAnt to rebuild the output file regardless of the file + timestamps. The default is . + + + if the output file should be rebuilt + regardless of its timestamps; otherwise . + The default is . + - - Specifies whether or not the disassembler should include PE header - information and runtime header information in the output. The default - is . - - - if PE header information and runtime header - information should be included in the output; otherwise, - . The default is . - - - - Corresponds to the /HEADER flag. - - + + Specifies whether or not the disassembler should include PE header + information and runtime header information in the output. The default + is . + + + if PE header information and runtime header + information should be included in the output; otherwise, + . The default is . + + + + Corresponds to the /HEADER flag. + + @@ -197,36 +196,36 @@ - - Specifies whether or not the disassembler should include - references to original source lines. The default is . - - - if references to original source lines - should be included; otherwise, . The - default is . - - - - Corresponds to the /LINENUM flag. - - + + Specifies whether or not the disassembler should include + references to original source lines. The default is . + + + if references to original source lines + should be included; otherwise, . The + default is . + + + + Corresponds to the /LINENUM flag. + + - - Specifies whether or not the disassembler should suppress ILASM - code output. The default is . - - - if ILASM code output should be suppresses; - otherwise, . The default is - . - - - - Corresponds to the /NOIL flag. - - + + Specifies whether or not the disassembler should suppress ILASM + code output. The default is . + + + if ILASM code output should be suppresses; + otherwise, . The default is + . + + + + Corresponds to the /NOIL flag. + + @@ -246,103 +245,103 @@ - - Specifies whether or not the disassembler should enclose all names - in single quotation marks. By default, only names that don't match - the ILASM definition of a simple name are quoted. The default is - . - - - if all names should be enclosed in single - quotation marks; otherwise, . The default - is . - - - - Corresponds to the /QUOTEALLNAMES flag. - - + + Specifies whether or not the disassembler should enclose all names + in single quotation marks. By default, only names that don't match + the ILASM definition of a simple name are quoted. The default is + . + + + if all names should be enclosed in single + quotation marks; otherwise, . The default + is . + + + + Corresponds to the /QUOTEALLNAMES flag. + + - - Specifies whether or not the disassembler should generate - structured exception handling clauses in canonical (label) form. - The default is . - - - if structured exception handling clauses - should be generated in canonical form; otherwise, - . The default is . - - - - Corresponds to the /RAWEH flag. - - + + Specifies whether or not the disassembler should generate + structured exception handling clauses in canonical (label) form. + The default is . + + + if structured exception handling clauses + should be generated in canonical form; otherwise, + . The default is . + + + + Corresponds to the /RAWEH flag. + + - - Specifies whether or not the disassembler should generate - original source lines as comments. The default is . - - - if original source lines should be - generated as comments; otherwise, . - The default is . - - - - Corresponds to the /SOURCE flag. - - + + Specifies whether or not the disassembler should generate + original source lines as comments. The default is . + + + if original source lines should be + generated as comments; otherwise, . + The default is . + + + + Corresponds to the /SOURCE flag. + + - - Specifies whether or not the disassembler should generate metadata - token values as comments. The default is . - - - if metadata token values should be - generated as comments; otherwise, . The - default is . - - - - Corresponds to the /TOKENS flag. - - + + Specifies whether or not the disassembler should generate metadata + token values as comments. The default is . + + + if metadata token values should be + generated as comments; otherwise, . The + default is . + + + + Corresponds to the /TOKENS flag. + + - - Specifies whether or not the disassembler should use the UNICODE - encoding when generating the output. The default is ANSI. - - - if the output should be generated using - the UNICODE encoding; otherwise, . The - default is . - - - - Corresponds to the /UNICODE flag. - - + + Specifies whether or not the disassembler should use the UNICODE + encoding when generating the output. The default is ANSI. + + + if the output should be generated using + the UNICODE encoding; otherwise, . The + default is . + + + + Corresponds to the /UNICODE flag. + + - - Specifies whether or not the disassembler should use the UTF-8 - encoding when generating the output. The default is ANSI. - - - if the output should be generated using - the UTF-8 encoding; otherwise, . The - default is . - - - - Corresponds to the /UTF8 flag. - - + + Specifies whether or not the disassembler should use the UTF-8 + encoding when generating the output. The default is ANSI. + + + if the output should be generated using + the UTF-8 encoding; otherwise, . The + default is . + + + + Corresponds to the /UTF8 flag. + + @@ -409,13 +408,13 @@ - - The command-line arguments for the external program. - - - Overridden to ensure the <arg> elements would not be exposed - to build authors. - + + The command-line arguments for the external program. + + + Overridden to ensure the <arg> elements would not be exposed + to build authors. + @@ -427,25 +426,25 @@ - - Allows a Windows service to be controlled. - - - Starts the World Wide Web Publishing Service on the local computer. - - - ]]> - - - - Stops the Alerter service on computer 'MOTHER'. - - - ]]> - - + + Allows a Windows service to be controlled. + + + Starts the World Wide Web Publishing Service on the local computer. + + + ]]> + + + + Stops the Alerter service on computer 'MOTHER'. + + + ]]> + + @@ -454,9 +453,9 @@ - - Peforms actions on the service in order to reach the desired status. - + + Peforms actions on the service in order to reach the desired status. + @@ -504,77 +503,77 @@ instance for controlling the service identified by and . - - Holds the name of the service that should be controlled. - + + Holds the name of the service that should be controlled. + - - Holds the name of the computer on which the service resides. - + + Holds the name of the computer on which the service resides. + - - Holds the action that should be performed on the service. - + + Holds the action that should be performed on the service. + - - Holds the time, in milliseconds, the task will wait for a service - to reach the desired status. - + + Holds the time, in milliseconds, the task will wait for a service + to reach the desired status. + - - The name of the service that should be controlled. - + + The name of the service that should be controlled. + - - The name of the computer on which the service resides. The default - is the local computer. - + + The name of the computer on which the service resides. The default + is the local computer. + - - The action that should be performed on the service. - + + The action that should be performed on the service. + - - The time, in milliseconds, the task will wait for the service to - reach the desired status. The default is 5000 milliseconds. - + + The time, in milliseconds, the task will wait for the service to + reach the desired status. The default is 5000 milliseconds. + - - Defines the actions that can be performed on a service. - + + Defines the actions that can be performed on a service. + - - Starts a service. - + + Starts a service. + - - Stops a service. - + + Stops a service. + - - Restarts a service. - + + Restarts a service. + - - Pauses a running service. - + + Pauses a running service. + - - Continues a paused service. - + + Continues a paused service. + diff --git a/build-support/tools/nant/bin/NAnt.NUnit.dll b/build-support/tools/nant/bin/NAnt.NUnit.dll index e78b7b7f..70aa55b7 100644 Binary files a/build-support/tools/nant/bin/NAnt.NUnit.dll and b/build-support/tools/nant/bin/NAnt.NUnit.dll differ diff --git a/build-support/tools/nant/bin/NAnt.NUnit.xml b/build-support/tools/nant/bin/NAnt.NUnit.xml index 39d46d6b..e5dfa343 100644 --- a/build-support/tools/nant/bin/NAnt.NUnit.xml +++ b/build-support/tools/nant/bin/NAnt.NUnit.xml @@ -5,31 +5,31 @@ - - Carries data specified through the formatter element. - + + Carries data specified through the formatter element. + - - Gets or sets the type of the formatter. - - The type of the formatter. + + Gets or sets the type of the formatter. + + The type of the formatter. - - Gets or sets a value indicating whether output should be persisted - to a file. - - - if output should be written to a file; otherwise, - . The default is . - + + Gets or sets a value indicating whether output should be persisted + to a file. + + + if output should be written to a file; otherwise, + . The default is . + - - Gets or sets the extension to append to the output filename. - - The extension to append to the output filename. + + Gets or sets the extension to append to the output filename. + + The extension to append to the output filename. @@ -92,11 +92,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -129,10 +129,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -147,64 +147,64 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + - - The built-in formatter types. - + + The built-in formatter types. + - - A plaintext formatter. - + + A plaintext formatter. + - - An XML formatter. - + + An XML formatter. + - - Represents the FormatterElement of the NUnit task. - + + Represents the FormatterElement of the NUnit task. + - - Type of formatter. - + + Type of formatter. + - - Extension to append to the output filename. - + + Extension to append to the output filename. + - - Determines whether output should be persisted to a file. The default - is . - + + Determines whether output should be persisted to a file. The default + is . + @@ -271,11 +271,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -308,10 +308,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -326,28 +326,28 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + diff --git a/build-support/tools/nant/bin/NAnt.NUnit1Tasks.dll b/build-support/tools/nant/bin/NAnt.NUnit1Tasks.dll index a95b4d01..62b7379f 100644 Binary files a/build-support/tools/nant/bin/NAnt.NUnit1Tasks.dll and b/build-support/tools/nant/bin/NAnt.NUnit1Tasks.dll differ diff --git a/build-support/tools/nant/bin/NAnt.NUnit1Tasks.xml b/build-support/tools/nant/bin/NAnt.NUnit1Tasks.xml index 941273b9..1dc317da 100644 --- a/build-support/tools/nant/bin/NAnt.NUnit1Tasks.xml +++ b/build-support/tools/nant/bin/NAnt.NUnit1Tasks.xml @@ -5,14 +5,14 @@ - - The whole test suite started. - + + The whole test suite started. + - - The whole test suite ended. - + + The whole test suite ended. + @@ -72,11 +72,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -109,10 +109,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -127,42 +127,42 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + - - Prints information about running tests directly to the build log. - + + Prints information about running tests directly to the build log. + - Not used, all output goes to Log class. + Not used, all output goes to Log class. - Called when the whole test suite has started. + Called when the whole test suite has started. - Called when the whole test suite has ended. + Called when the whole test suite has ended. Convert a stack trace line into something that can be clicked on in an IDE output window. @@ -207,35 +207,35 @@ - - Stops running tests when a test causes an error. The default is - . - - - Implies haltonfailure. - + + Stops running tests when a test causes an error. The default is + . + + + Implies haltonfailure. + - - Stops running tests if a test fails (errors are considered failures - as well). The default is . - + + Stops running tests if a test fails (errors are considered failures + as well). The default is . + - - Cancel the individual tests if they do not finish in the specified - time (measured in milliseconds). Ignored if fork is disabled. - + + Cancel the individual tests if they do not finish in the specified + time (measured in milliseconds). Ignored if fork is disabled. + - - Tests to run. - + + Tests to run. + - - Formatters to output results of unit tests. - + + Formatters to output results of unit tests. + @@ -243,25 +243,25 @@ - - Base name of the test result. The full filename is determined by this - attribute and the extension of formatter. - + + Base name of the test result. The full filename is determined by this + attribute and the extension of formatter. + - - Directory to write the reports to. - + + Directory to write the reports to. + - - Class name of the test. - + + Class name of the test. + - - Assembly to load the test from. - + + Assembly to load the test from. + @@ -269,20 +269,20 @@ - - Stop the build process if an error occurs during the test run. - + + Stop the build process if an error occurs during the test run. + - - Stop the build process if a test fails (errors are considered failures - as well). - + + Stop the build process if a test fails (errors are considered failures + as well). + - - The application configuration file to use for the NUnit test domain. - + + The application configuration file to use for the NUnit test domain. + @@ -336,11 +336,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -373,10 +373,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -391,98 +391,98 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + - - Carries data specified through the test element. - + + Carries data specified through the test element. + - - Determines if the unit test needs running. - - - if unit test needs running, otherwise, - . - - - - Determines if the test needs running by looking at the date stamp - of the test assembly and the test results log. - - + + Determines if the unit test needs running. + + + if unit test needs running, otherwise, + . + + + + Determines if the test needs running by looking at the date stamp + of the test assembly and the test results log. + + - - Runs a Suite extracted from a TestCase subclass. - + + Runs a Suite extracted from a TestCase subclass. + - - Creates the formatters to be used when running this test. - + + Creates the formatters to be used when running this test. + - - Returns the output file or null if does not use a file. - + + Returns the output file or null if does not use a file. + - - Returns the test suite from a given class. - - - The assemblyQualifiedName parameter needs to be in form: - "full.qualified.class.name,Assembly" - + + Returns the test suite from a given class. + + + The assemblyQualifiedName parameter needs to be in form: + "full.qualified.class.name,Assembly" + - - Gets the collection of registered formatters. - - Collection of registered formatters. + + Gets the collection of registered formatters. + + Collection of registered formatters. - - Gets the result of the test. - - The result of the test. + + Gets the result of the test. + + The result of the test. - - Prints information about running tests in plain text. - + + Prints information about running tests in plain text. + - Sets the Writer the formatter is supposed to write its results to. + Sets the Writer the formatter is supposed to write its results to. - Called when the whole test suite has started. + Called when the whole test suite has started. - Called when the whole test suite has ended. + Called when the whole test suite has ended. Convert a stack trace line into something that can be clicked on in an IDE output window. @@ -502,15 +502,15 @@ - - Gets or sets the total run-time of a test. - - The total run-time of a test. + + Gets or sets the total run-time of a test. + + The total run-time of a test. - - Prints detailed information about running tests in XML format. - + + Prints detailed information about running tests in XML format. + @@ -525,14 +525,14 @@ - - Called when the whole test suite has started. - + + Called when the whole test suite has started. + - - Called when the whole test suite has ended. - + + Called when the whole test suite has ended. + diff --git a/build-support/tools/nant/bin/NAnt.NUnit2Tasks.dll b/build-support/tools/nant/bin/NAnt.NUnit2Tasks.dll index 7eab179c..da3d6b60 100644 Binary files a/build-support/tools/nant/bin/NAnt.NUnit2Tasks.dll and b/build-support/tools/nant/bin/NAnt.NUnit2Tasks.dll differ diff --git a/build-support/tools/nant/bin/NAnt.NUnit2Tasks.xml b/build-support/tools/nant/bin/NAnt.NUnit2Tasks.xml index 4e16c35b..95682c6a 100644 --- a/build-support/tools/nant/bin/NAnt.NUnit2Tasks.xml +++ b/build-support/tools/nant/bin/NAnt.NUnit2Tasks.xml @@ -34,36 +34,36 @@ - - Specifies a list of categories to include. - + + Specifies a list of categories to include. + - - Specifies a list of categories to exclude. - + + Specifies a list of categories to exclude. + - - Represents a certain group of test cases or fixtures. - + + Represents a certain group of test cases or fixtures. + - - A name of a category, or comma-separated list of names. - + + A name of a category, or comma-separated list of names. + - - If then the category will be processed; - otherwise, skipped. The default is . - + + If then the category will be processed; + otherwise, skipped. The default is . + - - If then the category will be skipped; - otherwise, processed. The default is . - + + If then the category will be skipped; + otherwise, processed. The default is . + @@ -138,11 +138,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -175,10 +175,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -199,158 +199,28 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - - - - - Contains a strongly typed collection of objects. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with the specified instance. - - - - - Initializes a new instance of the class - with the specified array of instances. - - - - - Adds a to the end of the collection. - - The to be added to the end of the collection. - The position into which the new element was inserted. - - - - Adds the elements of a array to the end of the collection. - - The array of elements to be added to the end of the collection. - - - - Adds the elements of a to the end of the collection. - - The to be added to the end of the collection. - - - - Determines whether a is in the collection. - - The to locate in the collection. - - if is found in the - collection; otherwise, . - - - - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. - - - - Retrieves the index of a specified object in the collection. - - The object for which the index is returned. - - The index of the specified . If the is not currently a member of the collection, it returns -1. - - - - - Inserts a into the collection at the specified index. - - The zero-based index at which should be inserted. - The to insert. - - - - Returns an enumerator that can iterate through the collection. - - - A for the entire collection. - - - - - Removes a member from the collection. - - The to remove from the collection. - - - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. - - - - Enumerates the elements of a . - - - - - Initializes a new instance of the class - with the specified . - - The collection that should be enumerated. - - - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - - - - - Sets the enumerator to its initial position, which is before the - first element in the collection. - - - - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + @@ -422,6 +292,10 @@ + + + + ]]> @@ -429,24 +303,24 @@ - - Runs the tests and sets up the formatters. - + + Runs the tests and sets up the formatters. + - - Stop the test run if a test fails. The default is . - + + Stop the test run if a test fails. The default is . + - - Tests to run. - + + Tests to run. + - - Formatters to output results of unit tests. - + + Formatters to output results of unit tests. + @@ -454,30 +328,35 @@ - - Name of the assembly to search for tests. - + + Name of the assembly to search for tests. + - - Name of a specific testfixture to run. If not specified then all - testfixtures are run. - + + Name of a specific testfixture to run. If not specified then all + testfixtures are run. + - - Assemblies to include in test. - + + Assemblies to include in test. + + + + + Assemblies to scan for missing assembly references. + - - Categories of test cases to include or exclude. - + + Categories of test cases to include or exclude. + - - Build fails on failure. The default is . - + + Build fails on failure. The default is . + @@ -486,25 +365,155 @@ - - The application configuration file to use for the NUnit test domain. - If not specified, NAnt will try to use a configuration name matching - the file name of the assembly with extension ".config". - + + The application configuration file to use for the NUnit test domain. + If not specified, NAnt will try to use a configuration name matching + the file name of the assembly with extension ".config". + + + Gets all assemblies specified for these tests. + + + All assemblies specified for these tests. + + + - Gets all assemblies specified for these tests. + Contains a strongly typed collection of objects. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with the specified instance. + + + + + Initializes a new instance of the class + with the specified array of instances. + + + + + Adds a to the end of the collection. + + The to be added to the end of the collection. + The position into which the new element was inserted. + + + + Adds the elements of a array to the end of the collection. + + The array of elements to be added to the end of the collection. + + + + Adds the elements of a to the end of the collection. + + The to be added to the end of the collection. + + + + Determines whether a is in the collection. + + The to locate in the collection. - All assemblies specified for these tests. + if is found in the + collection; otherwise, . - + + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. + + - Custom TestDomain, similar to the one included with NUnit, in order - to workaround some limitations in it. + Retrieves the index of a specified object in the collection. + The object for which the index is returned. + + The index of the specified . If the is not currently a member of the collection, it returns -1. + + + + + Inserts a into the collection at the specified index. + + The zero-based index at which should be inserted. + The to insert. + + + + Returns an enumerator that can iterate through the collection. + + + A for the entire collection. + + + + + Removes a member from the collection. + + The to remove from the collection. + + + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. + + + + Enumerates the elements of a . + + + + + Initializes a new instance of the class + with the specified . + + The collection that should be enumerated. + + + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + + + + + Sets the enumerator to its initial position, which is before the + first element in the collection. + + + + + Gets the current element in the collection. + + + The current element in the collection. + + + + + Custom TestDomain, similar to the one included with NUnit, in order + to workaround some limitations in it. + @@ -512,24 +521,25 @@ class. - - - Runs a single testcase. - - The test assembly. - The application configuration file for the test domain. - - The result of the test. - + + + Runs a single testcase. + + The test assembly. + The application configuration file for the test domain. + List of files to scan for missing assembly references. + + The result of the test. + - - Helper class called when an assembly resolve event is raised. - + + Helper class called when an assembly resolve event is raised. + - + - Initializes an instanse of the + Initializes an instanse of the class. @@ -554,15 +564,21 @@ An that contains the event data. - - Holds the list of directories that will be scanned for missing - assembly references. - + + Holds the list of directories that will be scanned for missing + assembly references. + + + + + Holds the list of assemblies that can be scanned for missing + assembly references. + - - Holds the loaded assemblies. - + + Holds the loaded assemblies. + diff --git a/build-support/tools/nant/bin/NAnt.SourceControlTasks.dll b/build-support/tools/nant/bin/NAnt.SourceControlTasks.dll index c44fd3a5..756484b9 100644 Binary files a/build-support/tools/nant/bin/NAnt.SourceControlTasks.dll and b/build-support/tools/nant/bin/NAnt.SourceControlTasks.dll differ diff --git a/build-support/tools/nant/bin/NAnt.SourceControlTasks.xml b/build-support/tools/nant/bin/NAnt.SourceControlTasks.xml index e8bc7664..e01efa61 100644 --- a/build-support/tools/nant/bin/NAnt.SourceControlTasks.xml +++ b/build-support/tools/nant/bin/NAnt.SourceControlTasks.xml @@ -5,44 +5,44 @@ - - A base class for creating tasks for executing CVS client commands on a - CVS repository. - + + A base class for creating tasks for executing CVS client commands on a + CVS repository. + - - A base class for creating tasks for executing CVS client commands on a - CVS repository. - + + A base class for creating tasks for executing CVS client commands on a + CVS repository. + - - Name of the environmental variable specifying a users' home - in a *nix environment. - + + Name of the environmental variable specifying a users' home + in a *nix environment. + - - Used on windows to specify the location of application data. - + + Used on windows to specify the location of application data. + - - The environment variable that holds path information. - + + The environment variable that holds path information. + - - The environment variable that holds the location of the - .cvspass file. - + + The environment variable that holds the location of the + .cvspass file. + - - Property name used to specify the source control executable. This is - used as a readonly property. - + + Property name used to specify the source control executable. This is + used as a readonly property. + @@ -51,245 +51,245 @@ - - Build up the command line arguments, determine which executable is being - used and find the path to that executable and set the working - directory. - - The process to prepare. + + Build up the command line arguments, determine which executable is being + used and find the path to that executable and set the working + directory. + + The process to prepare. - - Adds a new global option if none exists. If one does exist then - the use switch is toggled on or of. - - The common name of the option. - The option value or command line switch - of the option. - true if the option should be - appended to the commandline, otherwise false. + + Adds a new global option if none exists. If one does exist then + the use switch is toggled on or of. + + The common name of the option. + The option value or command line switch + of the option. + true if the option should be + appended to the commandline, otherwise false. - - Adds a new command option if none exists. If one does exist then - the use switch is toggled on or of. - - The common name of the option. - The option value or command line switch - of the option. - true if the option should be - appended to the commandline, otherwise false. + + Adds a new command option if none exists. If one does exist then + the use switch is toggled on or of. + + The common name of the option. + The option value or command line switch + of the option. + true if the option should be + appended to the commandline, otherwise false. - - Set up the environment variables for a process. - - A process to setup. + + Set up the environment variables for a process. + + A process to setup. - - Append the files specified in the fileset to the command line argument. - Files are changed to use a relative path from the working directory - that the task is spawned in. - + + Append the files specified in the fileset to the command line argument. + Files are changed to use a relative path from the working directory + that the task is spawned in. + - - Derive the location of the version control system from the environment - variable PATH. - - The file information of the version control system, - or null if this cannot be found. + + Derive the location of the version control system from the environment + variable PATH. + + The file information of the version control system, + or null if this cannot be found. - - The name of the passfile, overriden for each version control system (VCS). - + + The name of the passfile, overriden for each version control system (VCS). + - - The path to the specific home directory of the version control system, - this can be where the binary files are kept, or other app - information. - + + The path to the specific home directory of the version control system, + this can be where the binary files are kept, or other app + information. + - - The environment variable that defines where the version control system - (VCS) home variable is kept. - + + The environment variable that defines where the version control system + (VCS) home variable is kept. + - - The name of the version control system (VCS) executable file. - + + The name of the version control system (VCS) executable file. + - - - The root variable contains information on how to locate a repository. - Although this information is in different formats it typically must - define the following: - - server location - protocol used to communicate with the repository - repository location on the server - project location in the repository - - - + + + The root variable contains information on how to locate a repository. + Although this information is in different formats it typically must + define the following: + + server location + protocol used to communicate with the repository + repository location on the server + project location in the repository + + + - - Destination directory for the local sandbox. If destination is not specified - then the current directory is used. - - - Root path of the local sandbox. - - - - Root path of the local sandbox. - - + + Destination directory for the local sandbox. If destination is not specified + then the current directory is used. + + + Root path of the local sandbox. + + + + Root path of the local sandbox. + + - - The password for logging in to the repository. - - - The password for logging in to the repository. - + + The password for logging in to the repository. + + + The password for logging in to the repository. + - - The full path to the cached password file. If not specified then the - environment variables are used to try and locate the file. - + + The full path to the cached password file. If not specified then the + environment variables are used to try and locate the file. + - - Holds a collection of globally available options. - + + Holds a collection of globally available options. + - - A collection of options that can be used to modify the default behavoir - of the version control commands. See the sub-tasks for implementation - specifics. - + + A collection of options that can be used to modify the default behavoir + of the version control commands. See the sub-tasks for implementation + specifics. + - - Command-line arguments for the program. The command line arguments are used to specify - any cvs command options that are not available as attributes. These are appended - after the command itself and are additive to whatever attributes are currently specified. - - - <cvs-checkout cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" - module="nant" - destination="e:\test\merillcornish\working" - readonly="true" - quiet="true" - commandline="-n" - cvsfullpath="C:\Program Files\TortoiseCVS\cvs.exe" - /> -
- Produces the cvs command: - c:\Program Files\TortoiseCVS\cvs.exe -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant -q checkout -n nant -
+ + Command-line arguments for the program. The command line arguments are used to specify + any cvs command options that are not available as attributes. These are appended + after the command itself and are additive to whatever attributes are currently specified. + + + <cvs-checkout cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" + module="nant" + destination="e:\test\merillcornish\working" + readonly="true" + quiet="true" + commandline="-n" + cvsfullpath="C:\Program Files\TortoiseCVS\cvs.exe" + /> +
+ Produces the cvs command: + c:\Program Files\TortoiseCVS\cvs.exe -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant -q checkout -n nant +
- - The name of the command that is going to be executed. - + + The name of the command that is going to be executed. + - - Used to specify the version control system (VCS) files that are going - to be acted on. - + + Used to specify the version control system (VCS) files that are going + to be acted on. + - - The executable to use for ssh communication. - + + The executable to use for ssh communication. + - - The environment name for the ssh variable. - + + The environment name for the ssh variable. + - - The name of the version control system executable. - + + The name of the version control system executable. + - - Get the command line arguments for the task. - + + Get the command line arguments for the task. + - - Default value for the recursive directive. The default is - . - + + Default value for the recursive directive. The default is + . + - - Default value for the quiet command. - + + Default value for the quiet command. + - - Default value for the really quiet command. - + + Default value for the really quiet command. + - - An environment variable that holds path information about where - cvs is located. - + + An environment variable that holds path information about where + cvs is located. + - - Name of the password file that cvs stores pserver - cvsroot/ password pairings. - + + Name of the password file that cvs stores pserver + cvsroot/ password pairings. + - - The default compression level to use for cvs commands. - + + The default compression level to use for cvs commands. + - - The default use of binaries, defaults to use sharpcvs. - + + The default use of binaries, defaults to use sharpcvs. + - - The name of the cvs executable. - + + The name of the cvs executable. + - - The temporary name of the sharpcvslib binary file, to avoid - conflicts in the path variable. - + + The temporary name of the sharpcvslib binary file, to avoid + conflicts in the path variable. + - - Environment variable that holds the executable name that is used for - ssh communication. - + + Environment variable that holds the executable name that is used for + ssh communication. + - - Property name used to specify on a project level whether sharpcvs is - used or not. - + + Property name used to specify on a project level whether sharpcvs is + used or not. + @@ -298,246 +298,246 @@ - - Build up the command line arguments, determine which executable is being - used and find the path to that executable and set the working - directory. - - The process to prepare. + + Build up the command line arguments, determine which executable is being + used and find the path to that executable and set the working + directory. + + The process to prepare. - - Override to append any commands before the modele and files. - + + Override to append any commands before the modele and files. + - - Append the command line options or commen names for the options - to the generic options collection. This is then piped to the - command line as a switch. - + + Append the command line options or commen names for the options + to the generic options collection. This is then piped to the + command line as a switch. + - - Add the given argument to the command line options. Note that are not explicitly - quoted are split into seperate arguments. This is to resolve a recent issue - with quoting command line arguments. - - + + Add the given argument to the command line options. Note that are not explicitly + quoted are split into seperate arguments. This is to resolve a recent issue + with quoting command line arguments. + + - - The environment name for the ssh variable. - + + The environment name for the ssh variable. + - - The name of the cvs binary, or cvs.exe at the time this - was written. - + + The name of the cvs binary, or cvs.exe at the time this + was written. + - - The name of the pass file, or .cvspass at the time - of this writing. - + + The name of the pass file, or .cvspass at the time + of this writing. + - - The name of the version control system specific home environment - variable. - + + The name of the version control system specific home environment + variable. + - - Specify if the module is needed for this cvs command. It is - only needed if there is no module information on the local file - system. - + + Specify if the module is needed for this cvs command. It is + only needed if there is no module information on the local file + system. + - - Used to specify the version control system (VCS) files that are going - to be acted on. - + + Used to specify the version control system (VCS) files that are going + to be acted on. + - - Get the cvs file set. - + + Get the cvs file set. + - - The name of the cvs executable. - + + The name of the cvs executable. + - - The full path to the cvs binary used. The cvs tasks will attempt to - "guess" the location of your cvs binary based on your path. If the - task is unable to resolve the location, or resolves it incorrectly - this can be used to manually specify the path. - - - A full path (i.e. including file name) of your cvs binary: - On Windows: c:\vcs\cvs\cvs.exe - On *nix: /usr/bin/cvs - + + The full path to the cvs binary used. The cvs tasks will attempt to + "guess" the location of your cvs binary based on your path. If the + task is unable to resolve the location, or resolves it incorrectly + this can be used to manually specify the path. + + + A full path (i.e. including file name) of your cvs binary: + On Windows: c:\vcs\cvs\cvs.exe + On *nix: /usr/bin/cvs + - - - The cvs root variable has the following components: - - - [protocol]:[username]@[servername]:[server path] -
    -
  • protocol: ext, pserver, ssh (sharpcvslib); if you are not using sharpcvslib consult your cvs documentation.
  • -
  • username: [username]
  • -
  • servername: cvs.sourceforge.net
  • -
  • server path: /cvsroot/nant
  • -
-
-
- - NAnt anonymous cvsroot: - - :pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant - - + + + The cvs root variable has the following components: + + + [protocol]:[username]@[servername]:[server path] +
    +
  • protocol: ext, pserver, ssh (sharpcvslib); if you are not using sharpcvslib consult your cvs documentation.
  • +
  • username: [username]
  • +
  • servername: cvs.sourceforge.net
  • +
  • server path: /cvsroot/nant
  • +
+
+
+ + NAnt anonymous cvsroot: + + :pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant + +
- - The module to perform an operation on. - - - The module to perform an operation on. This is a normal file/folder - name without path information. - - - In NAnt the module name would be: - nant - + + The module to perform an operation on. + + + The module to perform an operation on. This is a normal file/folder + name without path information. + + + In NAnt the module name would be: + nant + - - - if the SharpCvsLib binaries that come bundled - with NAnt should be used to perform the cvs commands, - otherwise. - - - You may also specify an override value for all cvs tasks instead - of specifying a value for each. To do this set the property - sourcecontrol.usesharpcvslib to . - - - If you choose not to use SharpCvsLib to checkout from cvs you will - need to include a cvs.exe binary in your path. - - - - To use a cvs client in your path instead of sharpcvslib specify - the property: - >property name="sourcecontrol.usesharpcvslib" value="false"< - - The default settings is to use sharpcvslib and the setting closest - to the task execution is used to determine which value is used - to execute the process. - - For instance if the attribute usesharpcvslib was set to false - and the global property was set to true, the usesharpcvslib is - closes to the point of execution and would be used and is false. - Therefore the sharpcvslib binary would NOT be used. - + + + if the SharpCvsLib binaries that come bundled + with NAnt should be used to perform the cvs commands, + otherwise. + + + You may also specify an override value for all cvs tasks instead + of specifying a value for each. To do this set the property + sourcecontrol.usesharpcvslib to . + + + If you choose not to use SharpCvsLib to checkout from cvs you will + need to include a cvs.exe binary in your path. + + + + To use a cvs client in your path instead of sharpcvslib specify + the property: + >property name="sourcecontrol.usesharpcvslib" value="false"< + + The default settings is to use sharpcvslib and the setting closest + to the task execution is used to determine which value is used + to execute the process. + + For instance if the attribute usesharpcvslib was set to false + and the global property was set to true, the usesharpcvslib is + closes to the point of execution and would be used and is false. + Therefore the sharpcvslib binary would NOT be used. + - - The executable to use for ssh communication. - + + The executable to use for ssh communication. + - - Indicates if the output from the cvs command should be supressed. - The default is . - + + Indicates if the output from the cvs command should be supressed. + The default is . + - - Indicates if the output from the cvs command should be stopped. - The default is . - + + Indicates if the output from the cvs command should be stopped. + The default is . + - - if the sandbox files should be checked out in - read only mode. The default is . - + + if the sandbox files should be checked out in + read only mode. The default is . + - - if the sandbox files should be checked out in - read/write mode. The default is . - + + if the sandbox files should be checked out in + read/write mode. The default is . + - - Compression level to use for all net traffic. This should be a value from 1-9. -
-
- NOTE: This is not available on sharpcvslib. -
+ + Compression level to use for all net traffic. This should be a value from 1-9. +
+
+ NOTE: This is not available on sharpcvslib. +
- - Produces an XML report that represents the cvs changes from the given - start day, to a given end date. - - - Report changes in NAnt from 1st of June 2004 until 25th of July 2004. - - - ]]> - - + + Produces an XML report that represents the cvs changes from the given + start day, to a given end date. + + + Report changes in NAnt from 1st of June 2004 until 25th of July 2004. + + + ]]> + + - - The command being executed. - + + The command being executed. + - - Name of the xml file that will contain the cvs log information. - + + Name of the xml file that will contain the cvs log information. + - - The earliest change to use in the cvs log command. - + + The earliest change to use in the cvs log command. + - - The latest date to use in the cvs log command. - + + The latest date to use in the cvs log command. + - - The cvs command to execute. - + + The cvs command to execute. + - - Override use of sharpcvslib, needs to be true. - + + Override use of sharpcvslib, needs to be true. + @@ -567,61 +567,61 @@ - - Checks out a CVS module to the required directory. - - - Checkout NAnt. - - - ]]> - - - - - Checkout NAnt revision named 0_85 to the - folder c:\src\nant\v0.85. - - - - ]]> - - So the nant module tagged with revision 0_85 will be checked - out in the folder v0.85 under the working/ destination directory. -
This could be used to work on different - branches of a repository at the same time.
-
- - - Checkout NAnt with specified revision date to the - folder c:\src\nant\2003_08_16. - - - - ]]> - - + + Checks out a CVS module to the required directory. + + + Checkout NAnt. + + + ]]> + + + + + Checkout NAnt revision named 0_85 to the + folder c:\src\nant\v0.85. + + + + ]]> + + So the nant module tagged with revision 0_85 will be checked + out in the folder v0.85 under the working/ destination directory. +
This could be used to work on different + branches of a repository at the same time.
+
+ + + Checkout NAnt with specified revision date to the + folder c:\src\nant\2003_08_16. + + + + ]]> + +
- - The command being executed. - + + The command being executed. + @@ -629,168 +629,167 @@ - - Specify the revision to checkout. This corresponds to the "sticky-tag" - of the file. - + + Specify the revision to checkout. This corresponds to the "sticky-tag" + of the file. + - - Sticky tag or revision to checkout. - + + Sticky tag or revision to checkout. + - - Specify the revision date to checkout. The date specified is validated - and then passed to the cvs binary in a standard format recognized by - cvs. - + + Specify the revision date to checkout. The date specified is validated + and then passed to the cvs binary in a standard format recognized by + cvs. + - - Specify a directory name to replace the module name. Valid names - include any valid filename, excluding path information. - + + Specify a directory name to replace the module name. Valid names + include any valid filename, excluding path information. + - - Specify a directory name to replace the module name. Valid names - include any valid filename, excluding path information. - + + Specify a directory name to replace the module name. Valid names + include any valid filename, excluding path information. + - - The name of the cvs command that is going to be executed. - + + The name of the cvs command that is going to be executed. + - - Executes the cvs login command which appends or updates an entry to the - specified .cvspass file. - - - Update .cvspass file to include the NAnt anonymous login. - - - ]]> - - + + Executes the cvs login command which appends or updates an entry to the + specified .cvspass file. + + + Update .cvspass file to include the NAnt anonymous login. + + + ]]> + + - + Ensures all information is available to execute the . - The used to initialize the . - - Update the .cvspass file with the given password. If the passfile - is not specified then the default search locations are used: - - CVS_PASSFILE/.cvspass - HOME/.cvspass - USERPROFILE/.cvspass TODO: Confirm that this is valid - behavior or if it is going to give problems with the - cvsnt implementation. - - + + Update the .cvspass file with the given password. If the passfile + is not specified then the default search locations are used: + + CVS_PASSFILE/.cvspass + HOME/.cvspass + USERPROFILE/.cvspass TODO: Confirm that this is valid + behavior or if it is going to give problems with the + cvsnt implementation. + + - - Password to append or update to the .cvspass file. - + + Password to append or update to the .cvspass file. + - - The full path to the .cvspass file. The default is ~/.cvspass. - - + + The full path to the .cvspass file. The default is ~/.cvspass. + + - - The current working directory. - + + The current working directory. + - - The repository root string. - + + The repository root string. + - - Executes the cvs command specified by the command attribute. - - - Checkout NAnt. - - - ]]> - - + + Executes the cvs command specified by the command attribute. + + + Checkout NAnt. + + + ]]> + + - - The cvs command to execute. - + + The cvs command to execute. + - - Specify if the module is needed for this cvs command. - + + Specify if the module is needed for this cvs command. + - - Exports a cvs module in preperation for a release (i.e. the CVS version - folders are not exported). - - - Export the most recent NAnt sources from cvs. - - - ]]> - - - - - Export NAnt revision named your_favorite_revision_here to the - folder c:\src\nant\replacement_for_module_directory_name. - - **NOTE**: filesets names for the export task must be - prefixed with the module name. This is different than other tasks. - - - - - - - - - ]]> - - + + Exports a cvs module in preperation for a release (i.e. the CVS version + folders are not exported). + + + Export the most recent NAnt sources from cvs. + + + ]]> + + + + + Export NAnt revision named your_favorite_revision_here to the + folder c:\src\nant\replacement_for_module_directory_name. + + **NOTE**: filesets names for the export task must be + prefixed with the module name. This is different than other tasks. + + + + + + + + + ]]> + + - - The command being executed. - + + The command being executed. + @@ -804,9 +803,9 @@ - - No shortening. Do not shorten module paths if -d specified. - + + No shortening. Do not shorten module paths if -d specified. + @@ -820,84 +819,82 @@ - - If a directory is specified indicates whether sub-directories should - also be processed. - - - if the sub-directories should be tagged; - otherwise, . The default is . - + + If a directory is specified indicates whether sub-directories should + also be processed. + + + if the sub-directories should be tagged; + otherwise, . The default is . + - - Specify the revision to update the file to. This corresponds to the "sticky-tag" - of the file. - + + Specify the revision to update the file to. This corresponds to the "sticky-tag" + of the file. + - - Specify the revision date to update to. The version of the file that - existed at the date specified is retrieved. - - - A valid date time value, which is then converted to a format that - cvs can parse. - + + Specify the revision date to update to. The version of the file that + existed at the date specified is retrieved. + + + A valid date time value, which is then converted to a format that + cvs can parse. + - - Specify a directory name to replace the module name. Valid names - include any valid filename, excluding path information. - + + Specify a directory name to replace the module name. Valid names + include any valid filename, excluding path information. + - - The export command name for the cvs client. - + + The export command name for the cvs client. + - - Tags all sources in the remote repository with a given tag. - - - - Unlike tag, the rtag command acts only on sources that are in the repository. - Any modified sources on the local file system will NOT be tagged with this - command, so a commit should be performed before an rtag is done. - - - NOTE: Although a working directory is not necessary to perform the command - one must be specified in order to remain in compliance with the cvs library. - - - - Tag NAnt sources remotely. - - - ]]> - - - - Remove a tag from the remote repository. - - - ]]> - - + + Tags all sources in the remote repository with a given tag. + + + + Unlike tag, the rtag command acts only on sources that are in the repository. + Any modified sources on the local file system will NOT be tagged with this + command, so a commit should be performed before an rtag is done. + + + NOTE: Although a working directory is not necessary to perform the command + one must be specified in order to remain in compliance with the cvs library. + + + + Tag NAnt sources remotely. + + + ]]> + + + + Remove a tag from the remote repository. + + + ]]> + + @@ -906,17 +903,17 @@ - - Append the tag information to the commandline. - + + Append the tag information to the commandline. + - - The name of the tag to assign or remove. - - - The name of the tag to assign or remove. - + + The name of the tag to assign or remove. + + + The name of the tag to assign or remove. + @@ -940,14 +937,14 @@ - - If a directory is specified indicates whether sub-directories should - also be processed. - - - if the sub-directories should be tagged; - otherwise, . The default is . - + + If a directory is specified indicates whether sub-directories should + also be processed. + + + if the sub-directories should be tagged; + otherwise, . The default is . + @@ -961,14 +958,14 @@ - - Indicates the revision date of the file that the tag should be - applied to. - - - A valid date which specifies the revision point that the tag will - be applied to. - + + Indicates the revision date of the file that the tag should be + applied to. + + + A valid date which specifies the revision point that the tag will + be applied to. + @@ -982,9 +979,9 @@ - - The name of the cvs command that is going to be executed. - + + The name of the cvs command that is going to be executed. + @@ -1006,8 +1003,7 @@ ]]> @@ -1019,8 +1015,7 @@ @@ -1029,9 +1024,9 @@ - - Cvs command to be executed. - + + Cvs command to be executed. + @@ -1040,17 +1035,17 @@ - - Append the tag information to the commandline. - + + Append the tag information to the commandline. + - - The name of the tag to assign or remove. - - - The name of the tag to assign or remove. - + + The name of the tag to assign or remove. + + + The name of the tag to assign or remove. + @@ -1074,14 +1069,14 @@ - - If a directory is specified indicates whether sub-directories should - also be processed. - - - if the sub-directories should be tagged; - otherwise, . The default is . - + + If a directory is specified indicates whether sub-directories should + also be processed. + + + if the sub-directories should be tagged; + otherwise, . The default is . + @@ -1095,14 +1090,14 @@ - - Indicates the revision date of the file that the tag should be - applied to. - - - A valid date which specifies the revision point that the tag will - be applied to. - + + Indicates the revision date of the file that the tag should be + applied to. + + + A valid date which specifies the revision point that the tag will + be applied to. + @@ -1127,64 +1122,64 @@ - - The name of the cvs command that is going to be executed. - + + The name of the cvs command that is going to be executed. + - - Not used - + + Not used + - - Specify if the module is needed for this cvs command. It is - only needed if there is no module information on the local file - system. - + + Specify if the module is needed for this cvs command. It is + only needed if there is no module information on the local file + system. + - - Updates a CVS module in a local working directory. - - - Update nant. - - - ]]> - - - - - Update your NAnt revision named your_favorite_revision_here in - the folder c:\src\nant\replacement_for_module_directory_name. - - - - - - - - ]]> - - + + Updates a CVS module in a local working directory. + + + Update nant. + + + ]]> + + + + + Update your NAnt revision named your_favorite_revision_here in + the folder c:\src\nant\replacement_for_module_directory_name. + + + + + + + + ]]> + + - - The command being executed. - + + The command being executed. + @@ -1197,69 +1192,69 @@ - - If . new directories will be created on the local - sandbox. The default is . - + + If . new directories will be created on the local + sandbox. The default is . + - - If empty directories copied down from the - remote repository will be removed from the local sandbox. - The default is . - + + If empty directories copied down from the + remote repository will be removed from the local sandbox. + The default is . + - - If the local copy of the file will be - overwritten with the copy from the remote repository. The default - is . - + + If the local copy of the file will be + overwritten with the copy from the remote repository. The default + is . + - - Specifies if the command should be executed recursively. The - default is . - - - The -R option is on by default in cvs. - + + Specifies if the command should be executed recursively. The + default is . + + + The -R option is on by default in cvs. + - - Specify the revision to update the file to. This corresponds to the - "sticky-tag" of the file. - + + Specify the revision to update the file to. This corresponds to the + "sticky-tag" of the file. + - - Sticky tag or revision to update the local file to. - - - A valid cvs tag. - + + Sticky tag or revision to update the local file to. + + + A valid cvs tag. + - - Specify the revision date to update to. The version of the file that - existed at the date specified is retrieved. - - - A valid date time value, which is then converted to a format that - cvs can parse. - + + Specify the revision date to update to. The version of the file that + existed at the date specified is retrieved. + + + A valid date time value, which is then converted to a format that + cvs can parse. + - - Specify if the module is needed for this cvs command. It is - only needed if there is no module information on the local file - system. - + + Specify if the module is needed for this cvs command. It is + only needed if there is no module information on the local file + system. + - - The name of the cvs command that is going to be executed. - + + The name of the cvs command that is going to be executed. + @@ -1267,19 +1262,18 @@ attributes useful in the context of the . - + Initialize the object and locate the .cvsignore files to add to the exclude list. - - - Indicates whether the entires in the .cvsignore should be used to limit the - file list; to exclude files in .cvsignore, otherwise - . The default is . - + + Indicates whether the entires in the .cvsignore should be used to limit the + file list; to exclude files in .cvsignore, otherwise + . The default is . + diff --git a/build-support/tools/nant/bin/NAnt.VSNetTasks.dll b/build-support/tools/nant/bin/NAnt.VSNetTasks.dll index da9d9754..a09a89d6 100644 Binary files a/build-support/tools/nant/bin/NAnt.VSNetTasks.dll and b/build-support/tools/nant/bin/NAnt.VSNetTasks.dll differ diff --git a/build-support/tools/nant/bin/NAnt.VSNetTasks.xml b/build-support/tools/nant/bin/NAnt.VSNetTasks.xml index a782968c..8108b824 100644 --- a/build-support/tools/nant/bin/NAnt.VSNetTasks.xml +++ b/build-support/tools/nant/bin/NAnt.VSNetTasks.xml @@ -5,9 +5,9 @@ - - Analyses Microsoft Visual Studio .NET 2003 (Everett) solution files. - + + Analyses Microsoft Visual Studio .NET 2003 (Everett) solution files. + @@ -20,14 +20,14 @@ No project with unique identifier could be located. - - Logs a message with the given priority. - - The message priority at which the specified message is to be logged. - The message to be logged. - - The actual logging is delegated to the underlying task. - + + Logs a message with the given priority. + + The message priority at which the specified message is to be logged. + The message to be logged. + + The actual logging is delegated to the underlying task. + @@ -51,17 +51,17 @@ A project GUID in the solution file does not match the actual GUID of the project in the project file. - - Translates a project path, in the form of a relative file path or - a URL, to an absolute file path. - - The directory of the solution. - The project path to translate to an absolute file path. - - The project path translated to an absolute file path. - + + Translates a project path, in the form of a relative file path or + a URL, to an absolute file path. + + The directory of the solution. + The project path to translate to an absolute file path. + + The project path translated to an absolute file path. + - + Converts assembly references to projects to project references, adding a build dependency.c @@ -83,176 +83,21 @@ yet been built; otherwise, . - - - Gets or sets the in memory representation of the project. - - - The in memory representation of the project, or - if the project is not (yet) loaded. - - - This property will always be for - projects that are not supported. - - - - - Contains a collection of elements. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with the specified instance. - - - - - Initializes a new instance of the class - with the specified array of instances. - - - - - Adds a to the end of the collection. - - The to be added to the end of the collection. - - The position into which the new element was inserted. - - - - - Adds the elements of a array to the end of the collection. - - The array of elements to be added to the end of the collection. - - - - Adds the elements of a to the end of the collection. - - The to be added to the end of the collection. - - - - Determines whether a is in the collection. - - The to locate in the collection. - - if is found in the - collection; otherwise, . - - - - - Determines whether a with the specified - GUID is in the collection, using a case-insensitive lookup. - - The GUID to locate in the collection. - - if a with GUID - is found in the collection; otherwise, - . - - - - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. - - - - Retrieves the index of a specified object in the collection. - - The object for which the index is returned. - - The index of the specified . If the is not currently a member of the collection, it returns -1. - - - - - Inserts a into the collection at the specified index. - - The zero-based index at which should be inserted. - The to insert. - - - - Returns an enumerator that can iterate through the collection. - - - A for the entire collection. - - - - - Removes a member from the collection. - - The to remove from the collection. - - - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. - - - - Gets the with the specified GUID. - - The GUID of the to get. - - Performs a case-insensitive lookup. - - - - - Enumerates the elements of a . - - - - - Initializes a new instance of the class - with the specified . - - The collection that should be enumerated. - - - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - - - - - Sets the enumerator to its initial position, which is before the - first element in the collection. - - - - - Gets the current element in the collection. - - - The current element in the collection. - + + + Returns a number representing how much this file fits this project type. + + + + + + This enables the override in other providers. Do not return big numbers, mainly when compring only on filename. + - - Analyses Microsoft Visual Studio .NET 2002 (Rainier) solution files. - + + Analyses Microsoft Visual Studio .NET 2002 (Rainier) solution files. + @@ -417,29 +262,29 @@ The macro cannot be expanded. - - Builds the list of folders that should be scanned for assembly - references. - - - The list of folders that should be scanned for assembly references. - + + Builds the list of folders that should be scanned for assembly + references. + + + The list of folders that should be scanned for assembly references. + - - The projects to build. - + + The projects to build. + - - The projects to scan, but not build. - - - These projects are used to resolve project references and are - generally external to the solution being built. References to - these project's output files are converted to use the appropriate - solution configuration at build time. - + + The projects to scan, but not build. + + + These projects are used to resolve project references and are + generally external to the solution being built. References to + these project's output files are converted to use the appropriate + solution configuration at build time. + @@ -453,42 +298,52 @@ - - The name of the solution configuration to build. - - - - Generally release or debug. Not case-sensitive. - - + + The name of the solution configuration to build. + + + + Generally release or debug. Not case-sensitive. + + + + + + The name of platform to build the solution for. + + + + + Gets the solution configuration to build. + - - The directory where compiled targets will be placed. This - overrides path settings contained in the solution/project. - + + The directory where compiled targets will be placed. This + overrides path settings contained in the solution/project. + - - WebMap of URL's to project references. - + + WebMap of URL's to project references. + - - Fileset of projects to exclude. - + + Fileset of projects to exclude. + - - Set of folders where references are searched when not found in path - from project file (HintPath). - + + Set of folders where references are searched when not found in path + from project file (HintPath). + - - Includes Visual Studio search folders in reference search path. - The default is . - + + Includes Visual Studio search folders in reference search path. + The default is . + @@ -502,153 +357,153 @@ - - Gets the list of folders to scan for assembly references. - - - The list of folders to scan for assembly references. - + + Gets the list of folders to scan for assembly references. + + + The list of folders to scan for assembly references. + - - Defines how the project is using the ATL library. - + + Defines how the project is using the ATL library. + - - Don't use ATL. - + + Don't use ATL. + - - Use ATL in a Static Library. - + + Use ATL in a Static Library. + - - Use ATL in a Shared DLL. - + + Use ATL in a Shared DLL. + - - Defines how the project is using the MFC library. - + + Defines how the project is using the MFC library. + - - Don't use MFC. - + + Don't use MFC. + - - Use MFC in a Static Library. - + + Use MFC in a Static Library. + - - Use MFC in a Shared DLL. - + + Use MFC in a Shared DLL. + - - Indicates the possible ways in which precompiled header file use is - specified in a Visual C++ project. - - - The integer values assigned match those specified in the Visual C++ - project file for each setting. - > + + Indicates the possible ways in which precompiled header file use is + specified in a Visual C++ project. + + + The integer values assigned match those specified in the Visual C++ + project file for each setting. + > - - Precompiled header file use not specified. - + + Precompiled header file use not specified. + - - Don't use a precompiled header file. - - - For further information on the use of this option - see the Microsoft documentation on the C++ compiler flag /Yc. - + + Don't use a precompiled header file. + + + For further information on the use of this option + see the Microsoft documentation on the C++ compiler flag /Yc. + - - Create precompiled header file. - - - For further information on the use of this option - see the Microsoft documentation on the C++ compiler flag /Yc. - + + Create precompiled header file. + + + For further information on the use of this option + see the Microsoft documentation on the C++ compiler flag /Yc. + - - Automatically create precompiled header file if necessary. - - - For further information on the use of this option - see the Microsoft documentation on the C++ compiler flag /Yc. - + + Automatically create precompiled header file if necessary. + + + For further information on the use of this option + see the Microsoft documentation on the C++ compiler flag /Yc. + - - Use a precompiled header file. - - - For further information on the use of this option - see the Microsoft documentation on the C++ compiler flag /Yu. - + + Use a precompiled header file. + + + For further information on the use of this option + see the Microsoft documentation on the C++ compiler flag /Yu. + - - Represents a single mapping from URL project path to physical project - path. - + + Represents a single mapping from URL project path to physical project + path. + - - Specifies the URL of the project file, or a URL fragment to match. - - - The URL of the project file or the URL fragment to match. - + + Specifies the URL of the project file, or a URL fragment to match. + + + The URL of the project file or the URL fragment to match. + - - Specifies the actual path to the project file, or the path fragment - to replace. - - - The actual path to the project file or the path fragment to replace - the URL fragment with. - + + Specifies the actual path to the project file, or the path fragment + to replace. + + + The actual path to the project file or the path fragment to replace + the URL fragment with. + - - Specifies whether the mapping is case-sensitive or not. - - - A boolean flag representing the case-sensitivity of the mapping. Default is . - + + Specifies whether the mapping is case-sensitive or not. + + + A boolean flag representing the case-sensitivity of the mapping. Default is . + - - Indicates if the URL of the project file should be mapped. - - - if the URL of the project file should be - mapped; otherwise, . - + + Indicates if the URL of the project file should be mapped. + + + if the URL of the project file should be + mapped; otherwise, . + - - Indicates if the URL of the project file should not be mapped. - - - if the URL of the project file should not - be mapped; otherwise, . - + + Indicates if the URL of the project file should not be mapped. + + + if the URL of the project file should not + be mapped; otherwise, . + @@ -721,11 +576,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -758,10 +613,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -782,40 +637,40 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + - - - Gets the output path of the reference, without taking the "copy local" - setting into consideration. - - The solution configuration that is built. - - The full output path of the reference. - + + + Gets the output path of the reference, without taking the "copy local" + setting into consideration. + + The solution configuration that is built. + + The full output path of the reference. + - + Gets the complete set of output files of the reference for the specified configuration. @@ -828,36 +683,36 @@ the output directory. - - - Gets the complete set of assemblies that need to be referenced when - a project references this component. - - The solution configuration that is built. - - The complete set of assemblies that need to be referenced when a - project references this component. - + + + Gets the complete set of assemblies that need to be referenced when + a project references this component. + + The solution configuration that is built. + + The complete set of assemblies that need to be referenced when a + project references this component. + - - - Gets the timestamp of the reference. - - The solution configuration that is built. - - The timestamp of the reference. - + + + Gets the timestamp of the reference. + + The solution configuration that is built. + + The timestamp of the reference. + - - - Gets a value indicating whether the reference is managed for the - specified configuration. - - The solution configuration that is built. - - if the reference is managed for the - specified configuration; otherwise, . - + + + Gets a value indicating whether the reference is managed for the + specified configuration. + + The solution configuration that is built. + + if the reference is managed for the + specified configuration; otherwise, . + @@ -872,14 +727,14 @@ - - Logs a message with the given priority. - - The message priority at which the specified message is to be logged. - The message to be logged. - - The actual logging is delegated to the underlying task. - + + Logs a message with the given priority. + + The message priority at which the specified message is to be logged. + The message to be logged. + + The actual logging is delegated to the underlying task. + @@ -893,39 +748,39 @@ - - Gets a value indicating whether the output file(s) of this reference - should be copied locally. - - - if the output file(s) of this reference - should be copied locally; otherwise, . - + + Gets a value indicating whether the output file(s) of this reference + should be copied locally. + + + if the output file(s) of this reference + should be copied locally; otherwise, . + - - Gets a value indicating whether this reference represents a system - assembly. - - - if this reference represents a system - assembly; otherwise, . - + + Gets a value indicating whether this reference represents a system + assembly. + + + if this reference represents a system + assembly; otherwise, . + - - Gets the project in which the reference is defined. - + + Gets the project in which the reference is defined. + - - - Gets a value indicating whether the reference is managed for the - specified configuration. - - The build configuration of the reference. - - . - + + + Gets a value indicating whether the reference is managed for the + specified configuration. + + The build configuration of the reference. + + . + @@ -940,17 +795,17 @@ the output directory. - - - Gets the path of the reference, without taking the "copy local" - setting into consideration. - - The solution configuration that is built. - - The output path of the reference. - + + + Gets the path of the reference, without taking the "copy local" + setting into consideration. + + The solution configuration that is built. + + The output path of the reference. + - + Gets the complete set of output files for the referenced project. @@ -962,56 +817,56 @@ the output directory. - - - Gets the complete set of assemblies that need to be referenced when - a project references this component. - - The solution configuration that is built. - - The complete set of assemblies that need to be referenced when a - project references this component. - + + + Gets the complete set of assemblies that need to be referenced when + a project references this component. + + The solution configuration that is built. + + The complete set of assemblies that need to be referenced when a + project references this component. + - - - Gets the timestamp of the reference. - - The solution configuration that is built. - - The timestamp of the reference. - + + + Gets the timestamp of the reference. + + The solution configuration that is built. + + The timestamp of the reference. + - - Resolves an assembly reference. - - - The full path to the resolved assembly, or - if the assembly reference could not be resolved. - + + Resolves an assembly reference. + + + The full path to the resolved assembly, or + if the assembly reference could not be resolved. + - - Searches for the given file in all paths in . - - The folders to search. - The file to search for. - - The path of the assembly if was found - in ; otherwise, . - + + Searches for the given file in all paths in . + + The folders to search. + The file to search for. + + The path of the assembly if was found + in ; otherwise, . + - - Resolves an assembly reference in the framework assembly directory - of the target framework. - - The file to search for. - - The full path of the assembly file if the assembly could be located - in the framework assembly directory; otherwise, . - + + Resolves an assembly reference in the framework assembly directory + of the target framework. + + The file to search for. + + The full path of the assembly file if the assembly could be located + in the framework assembly directory; otherwise, . + @@ -1025,68 +880,223 @@ - - Gets a value indicating whether the output file(s) of this reference - should be copied locally. - - - if the output file(s) of this reference - should be copied locally; otherwise, . - + + Gets a value indicating whether the output file(s) of this reference + should be copied locally. + + + if the output file(s) of this reference + should be copied locally; otherwise, . + - - Gets a value indicating whether this reference represents a system - assembly. - - - if this reference represents a system - assembly; otherwise, . - + + Gets a value indicating whether this reference represents a system + assembly. + + + if this reference represents a system + assembly; otherwise, . + - + - Base class for all project classes. + Initializes a new instance of the + class with the given . + The project of the configuration. - + - Initializes a new instance of the class. + Expands the given macro. + The macro to expand. + + The expanded macro. + + + The macro is not supported. + -or- + The macro is not implemented. + -or- + The macro cannot be expanded. + + + Expansion of a given macro is not yet implemented. + - + - Gets the complete set of output files for the project. + Is called each time a regular expression match is found during a + operation. + + The resulting from a single regular expression match during a . + + The expanded . + + + + + Gets the project. + + + + + Gets the name of the configuration. + + + + + Get the directory in which intermediate build output will be stored + for this configuration. + + + + This is a directory relative to the project directory named + obj\<configuration name>. + + + .resx and .licx files will only be recompiled if the + compiled resource files in the are not + uptodate. + + + + + + Gets the output directory. + + + + + Gets the path for the output file. + + + + + Gets the path in which the output file will be created before its + copied to the actual output path. + + + + + Get the path of the output directory relative to the project + directory. + + + + + Gets the platform that the configuration targets. + + + The platform targeted by the configuration. + + + + + Gets the set of output files that is specific to the project configuration. - The solution configuration that is built. - The set of output files to be updated. + + The set of output files that is specific to the project + configuration. + The key of the case-insensitive is the full path of the output file and the value is the path relative to the output directory. - + - Gets a value indicating whether building the project for the specified - build configuration results in managed output. + Initializes a new instance of the class. - The build configuration. - - if the project output for the given build - configuration is managed; otherwise, . - + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the + class with the specified initial capacity. + + The appropriate number of entries that the can initially contain. + + + + Gets the platform that the configuration targets. + + + The platform targeted by the configuration. + + + + + Gets the path in which the output file will be created before its + copied to the actual output path. + + + + + Gets a value indicating whether to register the project output for + use with COM components. + + + if the project output should be registered + for use with COM components; otherwise, . + + + + + Base class for all project classes. + + + + + Initializes a new instance of the class. + + + + + Gets the complete set of output files for the project configuration + matching the specified solution configuration. + + The solution configuration that is built. + The set of output files to be updated. + + + The key of the case-insensitive is the + full path of the output file and the value is the path relative to + the output directory. + + + If the project is not configured to be built for the specified + solution configuration, then no output files are added. + + + + + + Gets a value indicating whether building the project for the specified + build configuration results in managed output. + + The build configuration. + + if the project output for the given build + configuration is managed; otherwise, . + - - Expands the given macro. - - The macro to expand. - - The expanded macro or if the macro is not - supported. - + + Expands the given macro. + + The macro to expand. + + The expanded macro or if the macro is not + supported. + @@ -1116,15 +1126,15 @@ The XML fragment does not represent a valid project (for this ). - - - Prepares the project for being built. - - The solution configuration that is built. - - The default implementation will ensure that none of the output files - are marked read-only. - + + + Prepares the project for being built. + + The solution configuration that is built. + + The default implementation will ensure that none of the output files + are marked read-only. + @@ -1136,14 +1146,14 @@ The in which context the operation will be performed. - - Logs a message with the given priority. - - The message priority at which the specified message is to be logged. - The message to be logged. - - The actual logging is delegated to the underlying task. - + + Logs a message with the given priority. + + The message priority at which the specified message is to be logged. + The message to be logged. + + The actual logging is delegated to the underlying task. + @@ -1157,40 +1167,40 @@ - - Gets the Visual Studio product version of the project. - - - The Visual Studio product version of the project. - + + Gets the Visual Studio product version of the project. + + + The Visual Studio product version of the project. + - - Gets the name of the VS.NET project. - + + Gets the name of the VS.NET project. + - - Gets the type of the project. - - - The type of the project. - + + Gets the type of the project. + + + The type of the project. + - - Gets the path of the VS.NET project. - + + Gets the path of the VS.NET project. + - - Gets the directory containing the VS.NET project. - + + Gets the directory containing the VS.NET project. + - - Get the location of the project. - + + Get the location of the project. + @@ -1209,35 +1219,25 @@ - - Gets or sets the unique identifier of the VS.NET project. - + + Gets or sets the unique identifier of the VS.NET project. + - - Gets a case-insensitive list of project configurations. - - - The key of the is the name of the - configuration and the value is a - instance. - + + Gets a list of all configurations defined in the project. + - - Gets a list of project configurations that can be build. - - - - Project configurations that are not in this list do not need to be - compiled (unless the project was not loaded through a solution file). - - - The key of the is the name of the - configuration and the value is a - instance. - - + + Gets a list of project configurations that can be build. + + + + Project configurations that are not in this list do not need to be + compiled. + + @@ -1253,36 +1253,55 @@ - - Gets the set of projects that the project depends on. - - - The set of projects that the project depends on. - + + Gets the set of projects that the project depends on. + + + The set of projects that the project depends on. + - - TODO: refactor this !!! - + + TODO: refactor this !!! + - + + + Gets a value indicating whether building the project for the specified + build configuration results in managed output. + + The solution configuration that is built. + + . + + + + + Prepares the project for being built. + + The solution configuration that is built. + + Ensures the configuration-level object directory exists and ensures + that none of the output files are marked read-only. + + + - Gets a value indicating whether building the project for the specified - build configuration results in managed output. - - The solution configuration that is built. - - . - - - - - Prepares the project for being built. + Gets the complete set of output files for the project configuration + matching the specified solution configuration. The solution configuration that is built. + The set of output files to be updated. - Ensures the configuration-level object directory exists and ensures - that none of the output files are marked read-only. + + The key of the case-insensitive is the + full path of the output file and the value is the path relative to + the output directory. + + + If the project is not configured to be built for the specified + solution configuration, then no output files are added. + @@ -1312,35 +1331,37 @@ - - Gets the absolute path of the type library for the project - output. - - The configuration to build. - - The absolute path of the type library for the project output. - + + Gets the absolute path of the type library for the project + output. + + The configuration to build. + + The absolute path of the type library for the project output. + - - - Generates a type library for the specified assembly, registers it. - - The project configuration that is built. - The path of the type library to generate. - - The regasm tool is used to generate the type library. - + + + Generates a type library for the specified assembly, registers it. + + The project configuration that is built. + The solution configuration that is built. + The path of the type library to generate. + + The regasm tool is used to generate the type library. + - - - Unregister a type library for the specified assembly, and the types - in that assembly. - - The project configuration that is built. - - The regasm tool is used to unregister the type library, and - remove the COM registration for types in the specified assembly. - + + + Unregister a type library for the specified assembly, and the types + in that assembly. + + The project configuration that is built. + The solution configuration that is built. + + The regasm tool is used to unregister the type library, and + remove the COM registration for types in the specified assembly. + @@ -1405,12 +1426,12 @@ - - Gets the default file extension of sources for this project. - - - The default file extension of sources for this project. - + + Gets the default file extension of sources for this project. + + + The default file extension of sources for this project. + @@ -1428,29 +1449,29 @@ - - Gets the name of the VS.NET project. - + + Gets the name of the VS.NET project. + - - Gets the path of the VS.NET project. - + + Gets the path of the VS.NET project. + - - Gets the directory containing the VS.NET project. - + + Gets the directory containing the VS.NET project. + - - Get the location of the project. - + + Get the location of the project. + - - Gets or sets the unique identifier of the VS.NET project. - + + Gets or sets the unique identifier of the VS.NET project. + @@ -1466,15 +1487,15 @@ A . - - Gets the intermediate build directory in which the satellite - assembly is built. - - The project build configuration. - - The intermediate build directory in which the satellite assembly - is built. - + + Gets the intermediate build directory in which the satellite + assembly is built. + + The project build configuration. + + The intermediate build directory in which the satellite assembly + is built. + @@ -1489,15 +1510,15 @@ - - Gets path of the satellite assembly, relative to the output - directory. - - The project settings. - - The path of the satellite assembly, relative to the output - directory. - + + Gets path of the satellite assembly, relative to the output + directory. + + The project settings. + + The path of the satellite assembly, relative to the output + directory. + @@ -1506,9 +1527,9 @@ - - Gets the set of localized resources. - + + Gets the set of localized resources. + @@ -1594,157 +1615,25 @@ - - Gets the type of the project. - - - The type of the project. - + + Gets the type of the project. + + + The type of the project. + - - Gets the default file extension of sources for this project. - - - For C# projects, the default file extension is ".cs". - - - - - Initializes a new instance of the - class with the given . - - The project of the configuration. - - - - Expands the given macro. - - The macro to expand. - - The expanded macro. - - - The macro is not supported. - -or- - The macro is not implemented. - -or- - The macro cannot be expanded. - - - Expansion of a given macro is not yet implemented. - - - - - Is called each time a regular expression match is found during a - operation. - - The resulting from a single regular expression match during a . - - The expanded . - - - - - Gets the project. - - - - - Gets the name of the configuration. - - - - - Get the directory in which intermediate build output will be stored - for this configuration. - - - - This is a directory relative to the project directory named - obj\<configuration name>. - - - .resx and .licx files will only be recompiled if the - compiled resource files in the are not - uptodate. - - - - - - Gets the output directory. - - - - - Gets the path for the output file. - - - - - Gets the path in which the output file will be created before its - copied to the actual output path. - - - - - Get the path of the output directory relative to the project - directory. - - - - - Gets the platform that the configuration targets. - - - The platform targeted by the configuration. - - - - - Gets the set of output files that is specific to the project - configuration. - - - The set of output files that is specific to the project - configuration. - - - The key of the case-insensitive is the - full path of the output file and the value is the path relative to - the output directory. - - - - - Gets the platform that the configuration targets. - - - The platform targeted by the configuration. - - - - - Gets the path in which the output file will be created before its - copied to the actual output path. - - - - - Gets a value indicating whether to register the project output for - use with COM components. - - - if the project output should be registered - for use with COM components; otherwise, . - + + Gets the default file extension of sources for this project. + + + For C# projects, the default file extension is ".cs". + - - Supports grouping of individual projects, and treating them as a solution. - + + Supports grouping of individual projects, and treating them as a solution. + @@ -1774,15 +1663,15 @@ The product version is not supported. - - - Prepares the project for being built. - - The solution configuration that is built. - - Ensures the configuration-level object directory exists and ensures - that none of the output files are marked read-only. - + + + Prepares the project for being built. + + The solution configuration that is built. + + Ensures the configuration-level object directory exists and ensures + that none of the output files are marked read-only. + @@ -1840,112 +1729,112 @@ - - Gets the type of the project. - - - The type of the project. - + + Gets the type of the project. + + + The type of the project. + - - Gets the default file extension of sources for this project. - - - For J# projects, the default file extension is ".jsl". - + + Gets the default file extension of sources for this project. + + + For J# projects, the default file extension is ".jsl". + - - Resolves an assembly reference. - - - The full path to the resolved assembly, or - if the assembly reference could not be resolved. - - - - Visual Studio .NET uses the following search mechanism : - - - - - The project directory. - - - - - The directories specified in the "ReferencePath" property, - which is stored in the .USER file. - - - - - The .NET Framework directory (see KB306149) - - - - - - The directories specified under the following registry - keys: - - - - - HKLM\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders - - - - - HKCU\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders - - - - - HKLM\SOFTWARE\Microsoft\VisualStudio\<major version>.<minor version>\AssemblyFolders - - - - - HKCU\SOFTWARE\Microsoft\VisualStudio\<major version>.<minor version>\AssemblyFolders - - - - - Future versions of Visual Studio .NET will also check - in: - - - - - HKLM\SOFTWARE\Microsoft\.NETFramework\AssemblyFoldersEx - - - - - HKCU\SOFTWARE\Microsoft\.NETFramework\AssemblyFoldersEx - - - - - - - - The HintPath. - - - - + + Resolves an assembly reference. + + + The full path to the resolved assembly, or + if the assembly reference could not be resolved. + + + + Visual Studio .NET uses the following search mechanism : + + + + + The project directory. + + + + + The directories specified in the "ReferencePath" property, + which is stored in the .USER file. + + + + + The .NET Framework directory (see KB306149) + + + + + + The directories specified under the following registry + keys: + + + + + HKLM\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders + + + + + HKCU\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders + + + + + HKLM\SOFTWARE\Microsoft\VisualStudio\<major version>.<minor version>\AssemblyFolders + + + + + HKCU\SOFTWARE\Microsoft\VisualStudio\<major version>.<minor version>\AssemblyFolders + + + + + Future versions of Visual Studio .NET will also check + in: + + + + + HKLM\SOFTWARE\Microsoft\.NETFramework\AssemblyFoldersEx + + + + + HKCU\SOFTWARE\Microsoft\.NETFramework\AssemblyFoldersEx + + + + + + + + The HintPath. + + + + - - Gets the name of the referenced assembly. - - - The name of the referenced assembly, or if - the name could not be determined. - + + Gets the name of the referenced assembly. + + + The name of the referenced assembly, or if + the name could not be determined. + @@ -1964,39 +1853,39 @@ - - Indentifies the different output types of a managed project. - - - Visual Studio .NET does not support modules. - + + Indentifies the different output types of a managed project. + + + Visual Studio .NET does not support modules. + - - A class library. - + + A class library. + - - A console application. - + + A console application. + - - A Windows program. - + + A Windows program. + - - - Gets the output path of the reference, without taking the "copy local" - setting into consideration. - - The solution configuration that is built. - - The output path of the reference. - + + + Gets the output path of the reference, without taking the "copy local" + setting into consideration. + + The solution configuration that is built. + + The output path of the reference. + - + Gets the complete set of output files for the referenced project. @@ -2011,89 +1900,89 @@ the output directory. - - - Gets the complete set of assemblies that need to be referenced when - a project references this project. - - The solution configuration that is built. - - The complete set of assemblies that need to be referenced when a - project references this project. - - - - Apparently, there's some hack in VB.NET that allows a type to be used - that derives from a type in an assembly that is not referenced by the - project. - - - When building from the command line (using vbc), the following error - is reported "error BC30007: Reference required to assembly 'X' - containing the base class 'X'. Add one to your project". - - - Somehow VB.NET can workaround this issue, without actually adding a - reference to that assembly. I verified this with both VS.NET 2003 and - VS.NET 2005. - - - For now, we have no other option than to return all assembly - references of the referenced project if the parent is a VB.NET - project. - - + + + Gets the complete set of assemblies that need to be referenced when + a project references this project. + + The solution configuration that is built. + + The complete set of assemblies that need to be referenced when a + project references this project. + + + + Apparently, there's some hack in VB.NET that allows a type to be used + that derives from a type in an assembly that is not referenced by the + project. + + + When building from the command line (using vbc), the following error + is reported "error BC30007: Reference required to assembly 'X' + containing the base class 'X'. Add one to your project". + + + Somehow VB.NET can workaround this issue, without actually adding a + reference to that assembly. I verified this with both VS.NET 2003 and + VS.NET 2005. + + + For now, we have no other option than to return all assembly + references of the referenced project if the parent is a VB.NET + project. + + - - - Gets the timestamp of the reference. - - The solution configuration that is built. - - The timestamp of the reference. - + + + Gets the timestamp of the reference. + + The solution configuration that is built. + + The timestamp of the reference. + - - Gets a value indicating whether the output file(s) of this reference - should be copied locally. - - - if the output file(s) of this reference - should be copied locally; otherwise, . - + + Gets a value indicating whether the output file(s) of this reference + should be copied locally. + + + if the output file(s) of this reference + should be copied locally; otherwise, . + - - Gets a value indicating whether this reference represents a system - assembly. - - - as a project by itself can never be a - system assembly. - + + Gets a value indicating whether this reference represents a system + assembly. + + + as a project by itself can never be a + system assembly. + - - - Gets a value indicating whether the reference is managed for the - specified configuration. - - The solution configuration that is built. - - . - + + + Gets a value indicating whether the reference is managed for the + specified configuration. + + The solution configuration that is built. + + . + - - - Gets the path of the reference, without taking the "copy local" - setting into consideration. - - The solution configuration that is built. - - The output path of the reference. - + + + Gets the path of the reference, without taking the "copy local" + setting into consideration. + + The solution configuration that is built. + + The output path of the reference. + - + Gets the complete set of output files for the referenced project. @@ -2105,53 +1994,53 @@ the output directory. - - - Gets the complete set of assemblies that need to be referenced when - a project references this component. - - The solution configuration that is built. - - The complete set of assemblies that need to be referenced when a - project references this component. - + + + Gets the complete set of assemblies that need to be referenced when + a project references this component. + + The solution configuration that is built. + + The complete set of assemblies that need to be referenced when a + project references this component. + - - - Gets the timestamp of the reference. - - The solution configuration that is built. - - The timestamp of the reference. - + + + Gets the timestamp of the reference. + + The solution configuration that is built. + + The timestamp of the reference. + - - Removes wrapper assembly from build directory, if wrapper assembly - no longer exists in output directory or is not in sync with build - directory, to force rebuild. - - The project configuration. + + Removes wrapper assembly from build directory, if wrapper assembly + no longer exists in output directory or is not in sync with build + directory, to force rebuild. + + The project configuration. - - Gets a value indicating whether the output file(s) of this reference - should be copied locally. - - - if the reference wraps a Primary Interop - Assembly; otherwise, . - + + Gets a value indicating whether the output file(s) of this reference + should be copied locally. + + + if the reference wraps a Primary Interop + Assembly; otherwise, . + - - Gets a value indicating whether this reference represents a system - assembly. - - - as none of the system assemblies are wrappers - or Primary Interop Assemblies anyway. - + + Gets a value indicating whether this reference represents a system + assembly. + + + as none of the system assemblies are wrappers + or Primary Interop Assemblies anyway. + @@ -2164,74 +2053,74 @@ - - Gets the path of the wrapper assembly. - - - The path of the wrapper assembly. - - - The wrapper assembly is stored in the object directory of the - project. - + + Gets the path of the wrapper assembly. + + + The path of the wrapper assembly. + + + The wrapper assembly is stored in the object directory of the + project. + - - Gets a value indicating whether the wrapper assembly has already been - created. - + + Gets a value indicating whether the wrapper assembly has already been + created. + - - Gets the path of the Primary Interop Assembly. - - - The path of the Primary Interop Assembly, or - if not available. - + + Gets the path of the Primary Interop Assembly. + + + The path of the Primary Interop Assembly, or + if not available. + - - Gets the hex version of the type library as defined in the definition - of the reference. - - - The hex version of the type library. - + + Gets the hex version of the type library as defined in the definition + of the reference. + + + The hex version of the type library. + - - Gets the GUID of the type library as defined in the definition - of the reference. - - - The GUID of the type library. - + + Gets the GUID of the type library as defined in the definition + of the reference. + + + The GUID of the type library. + - - Gets the locale of the type library in hex notation. - - - The locale of the type library. - + + Gets the locale of the type library in hex notation. + + + The locale of the type library. + - - Gets the name of the type library. - - - The name of the type library. - + + Gets the name of the type library. + + + The name of the type library. + - - Gets the name of the referenced assembly. - - - The name of the referenced assembly, or if - the name could not be determined. - + + Gets the name of the referenced assembly. + + + The name of the referenced assembly, or if + the name could not be determined. + @@ -2244,25 +2133,25 @@ - - Gets the path of the wrapper assembly. - - - The path of the wrapper assembly. - - - The wrapper assembly is stored in the object directory of the - project. - + + Gets the path of the wrapper assembly. + + + The path of the wrapper assembly. + + + The wrapper assembly is stored in the object directory of the + project. + - - Gets the path of the Primary Interop Assembly. - - - The path of the Primary Interop Assembly, or - if not available. - + + Gets the path of the Primary Interop Assembly. + + + The path of the Primary Interop Assembly, or + if not available. + @@ -2283,91 +2172,101 @@ - - Gets the GUID of the type library as defined in the definition - of the reference. - - - The GUID of the type library. - + + Gets the GUID of the type library as defined in the definition + of the reference. + + + The GUID of the type library. + - - Gets the locale of the type library in hex notation. - - - The locale of the type library. - + + Gets the locale of the type library in hex notation. + + + The locale of the type library. + - - Specifies the type of the project. - + + Specifies the type of the project. + - - A Visual Basic.NET project. - + + A Visual Basic.NET project. + - - A Visual C# project. - + + A Visual C# project. + - - A Visual C++ project. - + + A Visual C++ project. + - - A Visual J# project. - + + A Visual J# project. + + + + + MSBuild project. + - - Specifies the result of the build. - + + Specifies the result of the build. + - - The build failed. - + + The build failed. + - - The build succeeded. - + + The build succeeded. + - - The build succeeded and the output was updated. - + + The build succeeded and the output was updated. + - - Visual Studio.NET 2002 - + + Visual Studio.NET 2002 + - - Visual Studio.NET 2003 - + + Visual Studio.NET 2003 + + + + + Visual Studio 2005 + - - Indentifies the physical location of a managed project. - + + Indentifies the physical location of a managed project. + - - A local project. - + + A local project. + - - A web project. - + + A web project. + @@ -2433,11 +2332,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -2470,16 +2369,16 @@ The to remove from the collection. - - Remove items with the specified guid from the collection. - - The guid of the project to remove from the collection. + + Remove items with the specified guid from the collection. + + The guid of the project to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -2503,35 +2402,216 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + + + Gets the current element in the collection. + + + The current element in the collection. + + + + + Gets or sets the in memory representation of the project. + + + The in memory representation of the project, or + if the project is not (yet) loaded. + + + This property will always be for + projects that are not supported. + + + + + Return a mapping between the configurations defined in the + solution file and the project build configurations. + + + Mapping between configurations defined in the solution file + and the project build configurations, or + if the project is not defined in a solution file. + + + This mapping only includes project build configurations that + are configured to be built for a given solution configuration. + + + - Gets the current element in the collection. + Contains a collection of elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with the specified instance. + + + + + Initializes a new instance of the class + with the specified array of instances. + + + + + Adds a to the end of the collection. + + The to be added to the end of the collection. - The current element in the collection. + The position into which the new element was inserted. - + - Factory class for VS.NET projects. + Adds the elements of a array to the end of the collection. + + The array of elements to be added to the end of the collection. + + + + Adds the elements of a to the end of the collection. + + The to be added to the end of the collection. + + + + Determines whether a is in the collection. + + The to locate in the collection. + + if is found in the + collection; otherwise, . + + + + + Determines whether a with the specified + GUID is in the collection, using a case-insensitive lookup. + + The GUID to locate in the collection. + + if a with GUID + is found in the collection; otherwise, + . + + + + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. + + + + Retrieves the index of a specified object in the collection. + + The object for which the index is returned. + + The index of the specified . If the is not currently a member of the collection, it returns -1. + + + + + Inserts a into the collection at the specified index. + + The zero-based index at which should be inserted. + The to insert. + + + + Returns an enumerator that can iterate through the collection. + + + A for the entire collection. + + + + + Removes a member from the collection. + + The to remove from the collection. + + + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. + + + + Gets the with the specified GUID. + + The GUID of the to get. + + Performs a case-insensitive lookup. + + + + + Enumerates the elements of a . - + + + Initializes a new instance of the class + with the specified . + + The collection that should be enumerated. + + + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + + + + + Sets the enumerator to its initial position, which is before the + first element in the collection. + + + + + Gets the current element in the collection. + + + The current element in the collection. + + + + + Factory class for VS.NET projects. + + + Initializes a new instance of the class. @@ -2598,38 +2678,38 @@ - - Gets the .ico file to use as application icon. - - - The .ico file to use as application icon, or - if no application icon should be used. - + + Gets the .ico file to use as application icon. + + + The .ico file to use as application icon, or + if no application icon should be used. + - - Gets the key file to use to sign ActiveX/COM wrappers. - - - The path of the key file to use to sign ActiveX/COM wrappers, - relative to the project root directory, or - if the wrapper assembly should not be signed using a key file. - + + Gets the key file to use to sign ActiveX/COM wrappers. + + + The path of the key file to use to sign ActiveX/COM wrappers, + relative to the project root directory, or + if the wrapper assembly should not be signed using a key file. + - - Gets the key name to use to sign ActiveX/COM wrappers. - - - The name of the key container to use to sign ActiveX/COM wrappers, - or if the wrapper assembly should not be - signed using a key container. - + + Gets the key name to use to sign ActiveX/COM wrappers. + + + The name of the key container to use to sign ActiveX/COM wrappers, + or if the wrapper assembly should not be + signed using a key container. + - - Gets the output type of this project. - + + Gets the output type of this project. + @@ -2639,20 +2719,20 @@ - - Contains commands to be run before a build takes place. - - - Valid commands are those in a .bat file. For more info see MSDN. - + + Contains commands to be run before a build takes place. + + + Valid commands are those in a .bat file. For more info see MSDN. + - - Contains commands to be ran after a build has taken place. - - - Valid commands are those in a .bat file. For more info see MSDN. - + + Contains commands to be ran after a build has taken place. + + + Valid commands are those in a .bat file. For more info see MSDN. + @@ -2667,15 +2747,15 @@ - - Gets the file name of the assembly with the given assembly name. - - The assembly name of the assembly of which the file name should be returned. - - The file name of the assembly with the given assembly name. - + + Gets the file name of the assembly with the given assembly name. + + The assembly name of the assembly of which the file name should be returned. + + The file name of the assembly with the given assembly name. + - + Compiles the resource file. @@ -2684,7 +2764,7 @@ A representing the compiled resource file. - + Returns a representing the compiled resource file. @@ -2714,18 +2794,18 @@ - - Gets a value indicating whether the resource is in fact a ResX file. - - - if the resource is a ResX file; otherwise, - . - + + Gets a value indicating whether the resource is in fact a ResX file. + + + if the resource is a ResX file; otherwise, + . + - - Factory class for VS.NET solutions. - + + Factory class for VS.NET solutions. + @@ -2822,25 +2902,25 @@ - - Gets the type of the project. - - - The type of the project. - + + Gets the type of the project. + + + The type of the project. + - - Gets the default file extension of sources for this project. - - - For VB projects, the default file extension is ".vb". - + + Gets the default file extension of sources for this project. + + + For VB projects, the default file extension is ".vb". + - - A mapping from properties in the .vcproj file to command line arguments. - + + A mapping from properties in the .vcproj file to command line arguments. + @@ -2849,19 +2929,19 @@ - - Gets the argument string corresponding with a configuration property - named with value . - An ignore mask can be used to eliminate some arguments from the search. - - The name of the configuration property. - The value of the configuration property. - Specify any groups that needs to be ignored. - - The argument string corresponding with a configuration property - named with value , - or if no corresponding argument exists. - + + Gets the argument string corresponding with a configuration property + named with value . + An ignore mask can be used to eliminate some arguments from the search. + + The name of the configuration property. + The value of the configuration property. + Specify any groups that needs to be ignored. + + The argument string corresponding with a configuration property + named with value , + or if no corresponding argument exists. + @@ -3059,55 +3139,55 @@ - - Gets the name of the command-line argument. - - - The name of the command-line argument. - + + Gets the name of the command-line argument. + + + The name of the command-line argument. + - - Represents a command-line arguments of which the trailing backslashes - in the value should be duplicated. - + + Represents a command-line arguments of which the trailing backslashes + in the value should be duplicated. + - - Represents a command-line argument of which the value should be - quoted, and of which trailing backslahes should be duplicated. - + + Represents a command-line argument of which the value should be + quoted, and of which trailing backslahes should be duplicated. + - - Gets the string that the configuration setting should match in - order for the command line argument to be set. - + + Gets the string that the configuration setting should match in + order for the command line argument to be set. + - - Allow us to assign an argument to a specific group. - + + Allow us to assign an argument to a specific group. + - - The argument is not assigned to any group. - + + The argument is not assigned to any group. + - - The argument is ignored when the optimization level is set to - Minimum Size (1) or Maximum Size (2). - + + The argument is ignored when the optimization level is set to + Minimum Size (1) or Maximum Size (2). + - - Resolves an assembly reference. - - - The full path to the resolved assembly, or - if the assembly reference could not be resolved. - + + Resolves an assembly reference. + + + The full path to the resolved assembly, or + if the assembly reference could not be resolved. + @@ -3122,19 +3202,19 @@ Expansion of a given macro is not yet implemented. - - Gets the name of the referenced assembly. - - - The name of the referenced assembly, or if - the name could not be determined. - + + Gets the name of the referenced assembly. + + + The name of the referenced assembly, or if + the name could not be determined. + - - A single build configuration for a Visual C++ project or for a specific - file in the project. - + + A single build configuration for a Visual C++ project or for a specific + file in the project. + @@ -3185,69 +3265,69 @@ - - Gets the intermediate directory, specified relative to project - directory. - - - The intermediate directory, specified relative to project directory. - + + Gets the intermediate directory, specified relative to project + directory. + + + The intermediate directory, specified relative to project directory. + - - Gets a comma-separated list of directories to scan for assembly - references. - - - A comma-separated list of directories to scan for assembly - references, or if no additional directories - should scanned. - + + Gets a comma-separated list of directories to scan for assembly + references. + + + A comma-separated list of directories to scan for assembly + references, or if no additional directories + should scanned. + - - Gets the name of the configuration, including the platform it - targets. - - - Tthe name of the configuration, including the platform it targets. - + + Gets the name of the configuration, including the platform it + targets. + + + Tthe name of the configuration, including the platform it targets. + - - Gets the output directory. - + + Gets the output directory. + - - Gets the path in which the output file will be created before its - copied to the actual output path. - - - For Visual C++ projects, the output file will be immediately - created in the output path. - + + Gets the path in which the output file will be created before its + copied to the actual output path. + + + For Visual C++ projects, the output file will be immediately + created in the output path. + - - Gets the name of the configuration. - - - The name of the configuration. - + + Gets the name of the configuration. + + + The name of the configuration. + - - Gets the platform that the configuration targets. - - - The platform targeted by the configuration. - + + Gets the platform that the configuration targets. + + + The platform targeted by the configuration. + - - Represents the configuration of a file. - + + Represents the configuration of a file. + @@ -3274,7 +3354,7 @@ The value to return if setting is not defined in both the file and project configuration. The value of a setting for the specified tool, or - if the setting is not defined in + if the setting is not defined in both the file and project configuration. @@ -3289,75 +3369,75 @@ - - Gets a value indication whether the file should be excluded from - the build for this configuration. - - - if the file should be excluded from the - build for this configuration; otherwise, . - + + Gets a value indication whether the file should be excluded from + the build for this configuration. + + + if the file should be excluded from the + build for this configuration; otherwise, . + - - Gets the relative path of the file. - - - The path of the file relative to the project directory. - + + Gets the relative path of the file. + + + The path of the file relative to the project directory. + - - Get the path of the output directory relative to the project - directory. - + + Get the path of the output directory relative to the project + directory. + - - Gets the intermediate directory, specified relative to project - directory. - - - The intermediate directory, specified relative to project directory. - + + Gets the intermediate directory, specified relative to project + directory. + + + The intermediate directory, specified relative to project directory. + - - Gets the path for the output file. - - - The path for the output file, or if there's - no output file for this configuration. - + + Gets the path for the output file. + + + The path for the output file, or if there's + no output file for this configuration. + - - Gets a comma-separated list of directories to scan for assembly - references. - - - A comma-separated list of directories to scan for assembly - references, or if no additional directories - should scanned. - + + Gets a comma-separated list of directories to scan for assembly + references. + + + A comma-separated list of directories to scan for assembly + references, or if no additional directories + should scanned. + - - Visual C++ project. - + + Visual C++ project. + - - - Gets a value indicating whether building the project for the specified - build configuration results in managed output. - - The solution configuration that is built. - - if the project output for the specified build - configuration is either a Dynamic Library (dll) or an Application - (exe), and Managed Extensions are enabled; otherwise, - . - + + + Gets a value indicating whether building the project for the specified + build configuration results in managed output. + + The solution configuration that is built. + + if the project output for the specified build + configuration is either a Dynamic Library (dll) or an Application + (exe), and Managed Extensions are enabled; otherwise, + . + @@ -3388,65 +3468,65 @@ - - Expands the given macro. - - The macro to expand. - - The expanded macro or if the macro is not - supported. - + + Expands the given macro. + + The macro to expand. + + The expanded macro or if the macro is not + supported. + - - Build resource files for the given configuration. - - The resource files to build. - The project configuration. - The build configuration. - - TODO: refactor this as we should always get only one element in the - list. Each res file should be built - with its own file configuration. - + + Build resource files for the given configuration. + + The resource files to build. + The project configuration. + The build configuration. + + TODO: refactor this as we should always get only one element in the + list. Each res file should be built + with its own file configuration. + - - Build Interface Definition Language files for the given - configuration. - - The IDL files to build. - The project configuration. - The build configuration. - - TODO: refactor this as we should always get only one element in the - list. Each IDL file should be built - with its own file configuration. - + + Build Interface Definition Language files for the given + configuration. + + The IDL files to build. + The project configuration. + The build configuration. + + TODO: refactor this as we should always get only one element in the + list. Each IDL file should be built + with its own file configuration. + - - Merges the specified tool setting of - with . - - - The merge is suppressed when the flag $(noinherit) is defined in - . - + + Merges the specified tool setting of + with . + + + The merge is suppressed when the flag $(noinherit) is defined in + . + - - Gets the absolute path to the object file or directory. - - The build configuration - - The absolute path to the object file or directory, or - - - We use an absolute path for the object file, otherwise - <cl> assumes a location relative to the output - directory - not the project directory. - + + Gets the absolute path to the object file or directory. + + The build configuration + + The absolute path to the object file or directory, or + + + We use an absolute path for the object file, otherwise + <cl> assumes a location relative to the output + directory - not the project directory. + @@ -3476,10 +3556,10 @@ - - Removes leading and trailing quotes from the specified path. - - The path to clean. + + Removes leading and trailing quotes from the specified path. + + The path to clean. @@ -3514,27 +3594,27 @@ - - Gets the name of the Visual C++ project. - + + Gets the name of the Visual C++ project. + - - Gets the type of the project. - - - The type of the project. - + + Gets the type of the project. + + + The type of the project. + - - Gets the path of the Visual C++ project. - + + Gets the path of the Visual C++ project. + - - Gets the directory containing the VS.NET project. - + + Gets the directory containing the VS.NET project. + @@ -3548,24 +3628,24 @@ - - Get the directory in which intermediate build output that is not - specific to the build configuration will be stored. - - - This is a directory relative to the project directory, - named temp\. - + + Get the directory in which intermediate build output that is not + specific to the build configuration will be stored. + + + This is a directory relative to the project directory, + named temp\. + - - Gets or sets the unique identifier of the Visual C++ project. - + + Gets or sets the unique identifier of the Visual C++ project. + - - Represents a Visual C++ project configuration. - + + Represents a Visual C++ project configuration. + @@ -3587,15 +3667,15 @@ - - Gets the value of the specified attribute from the specified node. - - The node of which the attribute value should be retrieved. - The attribute of which the value should be returned. - - The value of the attribute with the specified name or - if the attribute does not exist or has no value. - + + Gets the value of the specified attribute from the specified node. + + The node of which the attribute value should be retrieved. + The attribute of which the value should be returned. + + The value of the attribute with the specified name or + if the attribute does not exist or has no value. + @@ -3606,106 +3686,106 @@ - - Holds list of files to link in the order in which they are defined - in the project file. - + + Holds list of files to link in the order in which they are defined + in the project file. + - - Holds the C++ sources for each build configuration. - - - The key of the hashtable is a build configuration, and the - value is an ArrayList holding the C++ source files for that - build configuration. - + + Holds the C++ sources for each build configuration. + + + The key of the hashtable is a build configuration, and the + value is an ArrayList holding the C++ source files for that + build configuration. + - - Holds the resources for each build configuration. - - - The key of the hashtable is a build configuration, and the - value is an ArrayList holding the resources files for that - build configuration. - + + Holds the resources for each build configuration. + + + The key of the hashtable is a build configuration, and the + value is an ArrayList holding the resources files for that + build configuration. + - - Holds the IDL files for each build configuration. - - - The key of the hashtable is a build configuration, and the - value is an ArrayList holding the IDL files for that build - configuration. - + + Holds the IDL files for each build configuration. + + + The key of the hashtable is a build configuration, and the + value is an ArrayList holding the IDL files for that build + configuration. + - - Tells the compiler which character set to use. - + + Tells the compiler which character set to use. + - - Gets a value indicating whether Managed Extensions for C++ are - enabled. - + + Gets a value indicating whether Managed Extensions for C++ are + enabled. + - - Gets a value indicating how MFC is used by the configuration. - + + Gets a value indicating how MFC is used by the configuration. + - - Gets a value indicating how ATL is used by the configuration. - + + Gets a value indicating how ATL is used by the configuration. + - - Gets the list of files to link in the order in which they are - defined in the project file. - + + Gets the list of files to link in the order in which they are + defined in the project file. + - - Holds the C++ sources for each build configuration. - - - The key of the hashtable is a build configuration, and the - value is an ArrayList holding the C++ source files for that - build configuration. - + + Holds the C++ sources for each build configuration. + + + The key of the hashtable is a build configuration, and the + value is an ArrayList holding the C++ source files for that + build configuration. + - - Gets the resources for each build configuration. - - - The key of the hashtable is a build configuration, and the - value is an ArrayList holding the resources files for that - build configuration. - + + Gets the resources for each build configuration. + + + The key of the hashtable is a build configuration, and the + value is an ArrayList holding the resources files for that + build configuration. + - - Get the IDL files for each build configuration. - - - The key of the hashtable is a build configuration, and the - value is an ArrayList holding the IDL files for that build - configuration. - + + Get the IDL files for each build configuration. + + + The key of the hashtable is a build configuration, and the + value is an ArrayList holding the IDL files for that build + configuration. + - - Gets the target path for usage in macro expansion. - - - The target path, or a zero-length string if there's no output file - for this configuration. - + + Gets the target path for usage in macro expansion. + + + The target path, or a zero-length string if there's no output file + for this configuration. + @@ -3725,69 +3805,69 @@ - - Get the path of the output directory relative to the project - directory. - + + Get the path of the output directory relative to the project + directory. + - - Gets the intermediate directory, specified relative to project - directory. - - - The intermediate directory, specified relative to project directory. - + + Gets the intermediate directory, specified relative to project + directory. + + + The intermediate directory, specified relative to project directory. + - - Gets the absolute path for the output file. - - - The absolute path for the output file, or - if there's no output file for this configuration. - + + Gets the absolute path for the output file. + + + The absolute path for the output file, or + if there's no output file for this configuration. + - - Gets a comma-separated list of directories to scan for assembly - references. - - - A comma-separated list of directories to scan for assembly - references, or if no additional directories - should scanned. - + + Gets a comma-separated list of directories to scan for assembly + references. + + + A comma-separated list of directories to scan for assembly + references, or if no additional directories + should scanned. + - - The type of output for a given configuration. - + + The type of output for a given configuration. + - - A Makefile. - + + A Makefile. + - - Application (.exe). - + + Application (.exe). + - - Dynamic Library (.dll). - + + Dynamic Library (.dll). + - - Static Library (.lib). - + + Static Library (.lib). + - - Utility. - + + Utility. + @@ -3800,24 +3880,24 @@ import library must be generated. - - - Gets a value indicating whether the reference is managed for the - specified configuration. - - The build configuration of the reference. - - if the reference is managed for the - specified configuration; otherwise, . - + + + Gets a value indicating whether the reference is managed for the + specified configuration. + + The build configuration of the reference. + + if the reference is managed for the + specified configuration; otherwise, . + - - Gets the name of the referenced assembly. - - - The name of the referenced assembly. - + + Gets the name of the referenced assembly. + + + The name of the referenced assembly. + @@ -3830,25 +3910,25 @@ - - Gets the path of the wrapper assembly. - - - The path of the wrapper assembly. - - - The wrapper assembly is stored in the object directory of the - project. - + + Gets the path of the wrapper assembly. + + + The path of the wrapper assembly. + + + The wrapper assembly is stored in the object directory of the + project. + - - Gets the path of the Primary Interop Assembly. - - - The path of the Primary Interop Assembly, or - if not available. - + + Gets the path of the Primary Interop Assembly. + + + The path of the Primary Interop Assembly, or + if not available. + @@ -3861,21 +3941,21 @@ The definition of the reference does not contain a "ControlVersion" attribute. - - Gets the GUID of the type library as defined in the definition - of the reference. - - - The GUID of the type library. - + + Gets the GUID of the type library as defined in the definition + of the reference. + + + The GUID of the type library. + - - Gets the locale of the type library in hex notation. - - - The locale of the type library. - + + Gets the locale of the type library in hex notation. + + + The locale of the type library. + diff --git a/build-support/tools/nant/bin/NAnt.VisualCppTasks.dll b/build-support/tools/nant/bin/NAnt.VisualCppTasks.dll index 4ca00adc..00a7100b 100644 Binary files a/build-support/tools/nant/bin/NAnt.VisualCppTasks.dll and b/build-support/tools/nant/bin/NAnt.VisualCppTasks.dll differ diff --git a/build-support/tools/nant/bin/NAnt.VisualCppTasks.xml b/build-support/tools/nant/bin/NAnt.VisualCppTasks.xml index d27da40f..876d46d3 100644 --- a/build-support/tools/nant/bin/NAnt.VisualCppTasks.xml +++ b/build-support/tools/nant/bin/NAnt.VisualCppTasks.xml @@ -5,24 +5,24 @@ - - Compiles C/C++ programs using cl.exe, Microsoft's C/C++ compiler. - - - This task is intended for version 13.00.9466 of cl.exe. - - - Compiles helloworld.cpp for the Common Language Runtime. - - - - - - - ]]> - - + + Compiles C/C++ programs using cl.exe, Microsoft's C/C++ compiler. + + + This task is intended for version 13.00.9466 of cl.exe. + + + Compiles helloworld.cpp for the Common Language Runtime. + + + + + + + ]]> + + @@ -30,77 +30,77 @@ - - Compiles the sources. - + + Compiles the sources. + - - Determines if the sources need to be compiled. - + + Determines if the sources need to be compiled. + - - Determines whether the precompiled header file is up-to-date. - - - if no precompiled header file was specified; - otherwise, . - - - In order to determine accurately whether the precompile header file - is up-to-date, we'd need scan all the header files that are pulled - in. As this is not implemented right now, its safer to always - recompile. - + + Determines whether the precompiled header file is up-to-date. + + + if no precompiled header file was specified; + otherwise, . + + + In order to determine accurately whether the precompile header file + is up-to-date, we'd need scan all the header files that are pulled + in. As this is not implemented right now, its safer to always + recompile. + - - Determines whether any file that are includes in the specified - source file has been updated after the obj was compiled. - - The source file to check. - The last write time of the compiled obj. - - The full path to the include file that was modified after the obj - was compiled, or if no include files were - modified since the obj was compiled. - - - - To determine what includes are defined in a source file, conditional - directives are not honored. - - - If a given include cannot be resolved to an existing file, then - it will be considered stable. - - + + Determines whether any file that are includes in the specified + source file has been updated after the obj was compiled. + + The source file to check. + The last write time of the compiled obj. + + The full path to the include file that was modified after the obj + was compiled, or if no include files were + modified since the obj was compiled. + + + + To determine what includes are defined in a source file, conditional + directives are not honored. + + + If a given include cannot be resolved to an existing file, then + it will be considered stable. + + - - Quotes an argument value and duplicates trailing backslahes. - - The argument value to quote. - - The quotes argument value. - + + Quotes an argument value and duplicates trailing backslahes. + + The argument value to quote. + + The quotes argument value. + - - Determines the file name of the OBJ file for the specified source - file. - - The source file for which the OBJ file should be determined. - The path of the object file. - - The file name of the OBJ file for the specified source file. - + + Determines the file name of the OBJ file for the specified source + file. + + The source file for which the OBJ file should be determined. + The path of the object file. + + The file name of the OBJ file for the specified source file. + - - Directory where all output files are placed. - + + Directory where all output files are placed. + @@ -123,244 +123,244 @@ - - Specifies whether Managed Extensions for C++ should be enabled. - The default is . - + + Specifies whether Managed Extensions for C++ should be enabled. + The default is . + - - Tells the compiler to use the specified character set. - + + Tells the compiler to use the specified character set. + - - Options to pass to the compiler. - + + Options to pass to the compiler. + - - The list of files to compile. - + + The list of files to compile. + - - The list of directories in which to search for include files. - + + The list of directories in which to search for include files. + - - Directories that the compiler will search to resolve file references - passed to the #using directive. - + + Directories that the compiler will search to resolve file references + passed to the #using directive. + - - Specifies metadata files to reference in this compilation as an - alternative to passing a file name to #using in source code. - + + Specifies metadata files to reference in this compilation as an + alternative to passing a file name to #using in source code. + - - Macro definitions to pass to cl.exe. - Each entry will generate a /D - + + Macro definitions to pass to cl.exe. + Each entry will generate a /D + - - Macro undefines (/U) to pass to cl.exe. - + + Macro undefines (/U) to pass to cl.exe. + - - A name to override the default object file name; can be either a file - or directory name. The default is the output directory. - + + A name to override the default object file name; can be either a file + or directory name. The default is the output directory. + - - A name for the compiler-generated PDB file; can be either a file or - directory name. The default is the output directory. - + + A name for the compiler-generated PDB file; can be either a file or + directory name. The default is the output directory. + - - Gets the filename of the external program to start. - - The filename of the external program. + + Gets the filename of the external program to start. + + The filename of the external program. - - Gets the command-line arguments for the external program. - - - The command-line arguments for the external program. - + + Gets the command-line arguments for the external program. + + + The command-line arguments for the external program. + - - Defines the supported modes for the use of precompiled header files. - + + Defines the supported modes for the use of precompiled header files. + - - Create a precompiled header file. - - - For further information on the use of this option - see the Microsoft documentation on the C++ compiler flag /Yc. - + + Create a precompiled header file. + + + For further information on the use of this option + see the Microsoft documentation on the C++ compiler flag /Yc. + - - Automatically create a precompiled header file if necessary. - - - For further information on the use of this option - see the Microsoft documentation on the C++ compiler flag /YX. - + + Automatically create a precompiled header file if necessary. + + + For further information on the use of this option + see the Microsoft documentation on the C++ compiler flag /YX. + - - Use a (previously generated) precompiled header file. - - - For further information on the use of this option - see the Microsoft documentation on the C++ compiler flag /Yu. - + + Use a (previously generated) precompiled header file. + + + For further information on the use of this option + see the Microsoft documentation on the C++ compiler flag /Yu. + - - Run lib.exe, Microsoft's Library Manager. - - - Create a library. - - - - - - - ]]> - - + + Run lib.exe, Microsoft's Library Manager. + + + Create a library. + + + + + + + ]]> + + - - Creates the library. - + + Creates the library. + - - Determines if the sources need to be linked. - + + Determines if the sources need to be linked. + - - Options to pass to the compiler. - + + Options to pass to the compiler. + - - The output file. - + + The output file. + - - The module definition file. - + + The module definition file. + - - The list of files to combine into the output file. - + + The list of files to combine into the output file. + - - Symbols to add to the symbol table. - + + Symbols to add to the symbol table. + - - Names of default libraries to ignore. - + + Names of default libraries to ignore. + - - The list of additional library directories to search. - + + The list of additional library directories to search. + - - Gets the filename of the external program to start. - - The filename of the external program. + + Gets the filename of the external program to start. + + The filename of the external program. - - Gets the command-line arguments for the external program. - - - The command-line arguments for the external program. - + + Gets the command-line arguments for the external program. + + + The command-line arguments for the external program. + - - Links files using link.exe, Microsoft's Incremental Linker. - - - This task is intended for version 7.00.9466 of link.exe. - - - - Combine all object files in the current directory into helloworld.exe. - - - - - - - - ]]> - - + + Links files using link.exe, Microsoft's Incremental Linker. + + + This task is intended for version 7.00.9466 of link.exe. + + + + Combine all object files in the current directory into helloworld.exe. + + + + + + + + ]]> + + - - Links the sources. - + + Links the sources. + - - Determines if the output needs linking. - + + Determines if the output needs linking. + - - Quotes an argument value and duplicates trailing backslahes. - - The argument value to quote. - - The quotes argument value. - + + Quotes an argument value and duplicates trailing backslahes. + + The argument value to quote. + + The quotes argument value. + - - Options to pass to the compiler. - + + Options to pass to the compiler. + - - Create debugging information for the .exe file or DLL. The default is - . - + + Create debugging information for the .exe file or DLL. The default is + . + - - The output file. - + + The output file. + @@ -369,232 +369,238 @@ and the extension .pdb. + + + The name of a module-definition file (.def) to be passed to the + linker. + + - - Specified DLLs for delay loading. - + + Specified DLLs for delay loading. + - - The list of files to combine into the output file. - + + The list of files to combine into the output file. + - - The list of additional library directories to search. - + + The list of additional library directories to search. + - - Link the specified modules into this assembly. - + + Link the specified modules into this assembly. + - - Embed the specified resources into this assembly. - + + Embed the specified resources into this assembly. + - - Symbols to add to the symbol table. - + + Symbols to add to the symbol table. + - - Names of libraries that you want the linker to ignore when it - resolves external references. - + + Names of libraries that you want the linker to ignore when it + resolves external references. + - - Gets the filename of the external program to start. - - The filename of the external program. + + Gets the filename of the external program to start. + + The filename of the external program. - - Gets the command-line arguments for the external program. - - - The command-line arguments for the external program. - + + Gets the command-line arguments for the external program. + + + The command-line arguments for the external program. + - - Compiles messages using mc.exe, Microsoft's Win32 message compiler. - - - - Compile text.mc using the default options. - - - - ]]> - - - Compile text.mc, passing a path to store the header, the rc - file and some additonal options. - - - - ]]> - - + + Compiles messages using mc.exe, Microsoft's Win32 message compiler. + + + + Compile text.mc using the default options. + + + + ]]> + + + Compile text.mc, passing a path to store the header, the rc + file and some additonal options. + + + + ]]> + + - - Compiles the sources. - + + Compiles the sources. + - - Determine if source files need re-building. - + + Determine if source files need re-building. + - - Options to pass to the compiler. - + + Options to pass to the compiler. + - - Path to store header file. The default is the project base directory. - + + Path to store header file. The default is the project base directory. + - - Path to store RC file. The default is the project base directory. - + + Path to store RC file. The default is the project base directory. + - - Input filename. - + + Input filename. + - - Gets the filename of the external program to start. - - - The filename of the external program. - + + Gets the filename of the external program to start. + + + The filename of the external program. + - - Gets the command-line arguments for the external program. - - - The command-line arguments for the external program. - + + Gets the command-line arguments for the external program. + + + The command-line arguments for the external program. + - - This tasks allows you to run MIDL.exe. - - - - This task only supports a small subset of the MIDL.EXE command line - switches, but you can use the options element to specify any other - unsupported commands you want to specify. - - - - - - - - - - - - - ]]> - - + + This tasks allows you to run MIDL.exe. + + + + This task only supports a small subset of the MIDL.EXE command line + switches, but you can use the options element to specify any other + unsupported commands you want to specify. + + + + + + + + + + + + + ]]> + + - - This is where the work is done. - + + This is where the work is done. + - - Check output files to see if we need rebuilding. - - if a rebuild is needed; otherwise, - . + + Check output files to see if we need rebuilding. + + if a rebuild is needed; otherwise, + . - - Check output files to see if we need rebuilding. - - - if a rebuild is needed; otherwise, - . - + + Check output files to see if we need rebuilding. + + + if a rebuild is needed; otherwise, + . + - - Writes the response file for midl.exe. - + + Writes the response file for midl.exe. + - - The /acf switch allows the user to supply an - explicit ACF file name. The switch also - allows the use of different interface names in - the IDL and ACF files. - + + The /acf switch allows the user to supply an + explicit ACF file name. The switch also + allows the use of different interface names in + the IDL and ACF files. + - - The /align switch is functionally the same as the - MIDL /Zp option and is recognized by the MIDL compiler - solely for backward compatibility with MkTypLib. - - The alignment value can be 1, 2, 4, or 8. + + The /align switch is functionally the same as the + MIDL /Zp option and is recognized by the MIDL compiler + solely for backward compatibility with MkTypLib. + + The alignment value can be 1, 2, 4, or 8. - - The /app_config switch selects application-configuration - mode, which allows you to use some ACF keywords in the - IDL file. With this MIDL compiler switch, you can omit - the ACF and specify an interface in a single IDL file. - + + The /app_config switch selects application-configuration + mode, which allows you to use some ACF keywords in the + IDL file. With this MIDL compiler switch, you can omit + the ACF and specify an interface in a single IDL file. + - - The /char switch helps to ensure that the MIDL compiler - and C compiler operate together correctly for all char - and small types. - - Can be one of signed | unsigned | ascii7 + + The /char switch helps to ensure that the MIDL compiler + and C compiler operate together correctly for all char + and small types. + + Can be one of signed | unsigned | ascii7 - - The /client switch directs the MIDL compiler to generate - client-side C source files for an RPC interface - - can be one of stub | none + + The /client switch directs the MIDL compiler to generate + client-side C source files for an RPC interface + + can be one of stub | none - - The /cstub switch specifies the name of the client - stub file for an RPC interface. - + + The /cstub switch specifies the name of the client + stub file for an RPC interface. + @@ -604,198 +610,198 @@ - - The /env switch selects the - environment in which the application runs. - - It can take the values win32 and win64 + + The /env switch selects the + environment in which the application runs. + + It can take the values win32 and win64 - - The /Oi switch directs the MIDL compiler to - use a fully-interpreted marshaling method. - The /Oic and /Oicf switches provide additional - performance enhancements. - - - If you specify the Oi attribute, you must set it to - one of the values: - - Oi="" - - Oi="c" - - Oi="f" - - Oi="cf" - + + The /Oi switch directs the MIDL compiler to + use a fully-interpreted marshaling method. + The /Oic and /Oicf switches provide additional + performance enhancements. + + + If you specify the Oi attribute, you must set it to + one of the values: + - Oi="" + - Oi="c" + - Oi="f" + - Oi="cf" + - - Specifies a file name for the type library generated by the MIDL - compiler. - + + Specifies a file name for the type library generated by the MIDL + compiler. + - - Specifies the name of the header file. - + + Specifies the name of the header file. + - - Specifies the name of the interface identifier file for a COM - interface, overriding the default name obtained by adding _i.c - to the IDL file name. - + + Specifies the name of the interface identifier file for a COM + interface, overriding the default name obtained by adding _i.c + to the IDL file name. + - - Specifies the name of the interface proxy file for a COM interface. - + + Specifies the name of the interface proxy file for a COM interface. + - - Name of .IDL file to process. - + + Name of .IDL file to process. + - - Additional options to pass to midl.exe. - + + Additional options to pass to midl.exe. + - - Macro definitions to pass to mdil.exe. - Each entry will generate a /D - + + Macro definitions to pass to mdil.exe. + Each entry will generate a /D + - - Macro undefines (/U) to pass to mdil. - + + Macro undefines (/U) to pass to mdil. + - - The list of directories in which to search for include files. - + + The list of directories in which to search for include files. + - - Filename of program to execute - + + Filename of program to execute + - - Gets the command-line arguments for the external program. - - - The command-line arguments for the external program. - + + Gets the command-line arguments for the external program. + + + The command-line arguments for the external program. + - - Compiles resources using rc.exe, Microsoft's Win32 resource - compiler. - - - - Compile text.rc to text.res using the default options. - - - - ]]> - - - - - Compile text.rc, passing an additional option. - - - - ]]> - - + + Compiles resources using rc.exe, Microsoft's Win32 resource + compiler. + + + + Compile text.rc to text.res using the default options. + + + + ]]> + + + + + Compile text.rc, passing an additional option. + + + + ]]> + + - - Compile the resource file - + + Compile the resource file + - - Determines if the resource need compiling. - + + Determines if the resource need compiling. + - - Check if a resource file has been updated. - - - + + Check if a resource file has been updated. + + + - - Options to pass to the compiler. - + + Options to pass to the compiler. + - - Output file. - + + Output file. + - - The resource file to compile. - + + The resource file to compile. + - - Default language ID. - + + Default language ID. + - - The list of directories in which to search for include files. - + + The list of directories in which to search for include files. + - - Macro definitions to pass to rc.exe. - Each entry will generate a /d - + + Macro definitions to pass to rc.exe. + Each entry will generate a /d + - - Filename of program to execute - + + Filename of program to execute + - - Arguments of program to execute - + + Arguments of program to execute + - - Defines the character sets that can be used by the C++ compiler. - + + Defines the character sets that can be used by the C++ compiler. + - - Have the compiler determine the character set. - + + Have the compiler determine the character set. + - - Unicode character set. - + + Unicode character set. + - - Multi-byte character set. - + + Multi-byte character set. + - - Represents a library. - + + Represents a library. + @@ -810,21 +816,21 @@ is . - - The name of the library. - + + The name of the library. + - - If then the element will be processed; - otherwise, skipped. The default is . - + + If then the element will be processed; + otherwise, skipped. The default is . + - - If then the element will be skipped; - otherwise, processed. The default is . - + + If then the element will be skipped; + otherwise, processed. The default is . + @@ -878,11 +884,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -915,10 +921,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -933,33 +939,33 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + - - Represents a symbol. - + + Represents a symbol. + @@ -974,21 +980,21 @@ is . - - The name of the symbol. - + + The name of the symbol. + - - If then the element will be processed; - otherwise, skipped. The default is . - + + If then the element will be processed; + otherwise, skipped. The default is . + - - If then the element will be skipped; - otherwise, processed. The default is . - + + If then the element will be skipped; + otherwise, processed. The default is . + @@ -1042,11 +1048,11 @@ - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + + The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. + The zero-based index in at which copying begins. @@ -1079,10 +1085,10 @@ The to remove from the collection. - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. + + Gets or sets the element at the specified index. + + The zero-based index of the element to get or set. @@ -1097,55 +1103,55 @@ The collection that should be enumerated. - - Advances the enumerator to the next element of the collection. - - - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. - + + Advances the enumerator to the next element of the collection. + + + if the enumerator was successfully advanced + to the next element; if the enumerator has + passed the end of the collection. + - - Sets the enumerator to its initial position, which is before the - first element in the collection. - + + Sets the enumerator to its initial position, which is before the + first element in the collection. + - - Gets the current element in the collection. - - - The current element in the collection. - + + Gets the current element in the collection. + + + The current element in the collection. + - - Defines how to deal with backslashes in values of command line - arguments. - + + Defines how to deal with backslashes in values of command line + arguments. + - - Does not perform any processing on backslashes. - + + Does not perform any processing on backslashes. + - - Duplicates the trailing backslash. - + + Duplicates the trailing backslash. + - - Fixes the trailing backslash by replaces trailing double backslashes - with only one backslash and removing single trailing backslashes. - + + Fixes the trailing backslash by replaces trailing double backslashes + with only one backslash and removing single trailing backslashes. + - - Removes all the trailing backslashes. - + + Removes all the trailing backslashes. + @@ -1166,29 +1172,29 @@ - - Duplicates the trailing backslash. - - The input string to check and duplicate the trailing backslash if necessary. - The result string after being processed. - - Also duplicates trailing backslash in quoted value. - + + Duplicates the trailing backslash. + + The input string to check and duplicate the trailing backslash if necessary. + The result string after being processed. + + Also duplicates trailing backslash in quoted value. + - - Fixes the trailing backslash. This function replaces the trailing double backslashes with - only one backslash. It also, removes the single trailing backslash. - - The input string. - The result string after being processed. + + Fixes the trailing backslash. This function replaces the trailing double backslashes with + only one backslash. It also, removes the single trailing backslash. + + The input string. + The result string after being processed. - - Removes all the trailing backslashes from the input. - - The input string. - The result string without trailing backslashes. + + Removes all the trailing backslashes from the input. + + The input string. + The result string without trailing backslashes. diff --git a/build-support/tools/nant/bin/NAnt.Win32Tasks.dll b/build-support/tools/nant/bin/NAnt.Win32Tasks.dll index 4979a834..5d2e0fb0 100644 Binary files a/build-support/tools/nant/bin/NAnt.Win32Tasks.dll and b/build-support/tools/nant/bin/NAnt.Win32Tasks.dll differ diff --git a/build-support/tools/nant/bin/NAnt.Win32Tasks.xml b/build-support/tools/nant/bin/NAnt.Win32Tasks.xml index 059eb79c..3eacd93e 100644 --- a/build-support/tools/nant/bin/NAnt.Win32Tasks.xml +++ b/build-support/tools/nant/bin/NAnt.Win32Tasks.xml @@ -5,15 +5,15 @@ - - Groups a set of functions that convert Windows native filenames to - Cygwin POSIX-style pathnames and vice versa. - - - It can be used when a Cygwin program needs to pass a file name to a - native Windows program, or expects to get a file name from a native - Windows program. - + + Groups a set of functions that convert Windows native filenames to + Cygwin POSIX-style pathnames and vice versa. + + + It can be used when a Cygwin program needs to pass a file name to a + native Windows program, or expects to get a file name from a native + Windows program. + @@ -67,178 +67,241 @@ - - Factory method to return a new instance of ExecTask - - - + + Factory method to return a new instance of ExecTask + + + - - Generates a Windows Forms Control that wraps ActiveX Controls defined - in an OCX. - - - - - ]]> - - + + Generates a Windows Forms Control that wraps ActiveX Controls defined + in an OCX. + + + + + ]]> + + - - Import the ActiveX control. - + + Import the ActiveX control. + - - Determines whether the assembly needs to be created again. - - - if the assembly needs to be created again; - otherwise, . - + + Determines whether the assembly needs to be created again. + + + if the assembly needs to be created again; + otherwise, . + - - Filename of the .ocx file. - + + Filename of the .ocx file. + - - Filename of the generated assembly. - + + Filename of the generated assembly. + - - Specifies the file containing the public key to use to sign the - resulting assembly. - - - The file containing the public key to use to sign the resulting - assembly. - + + Specifies the file containing the public key to use to sign the + resulting assembly. + + + The file containing the public key to use to sign the resulting + assembly. + - - Specifies the publisher's official public/private key pair with which - the resulting assembly should be signed with a strong name. - - - The keyfile to use to sign the resulting assembly with a strong name. - - See the Microsoft.NET Framework SDK documentation for details. + + Specifies the publisher's official public/private key pair with which + the resulting assembly should be signed with a strong name. + + + The keyfile to use to sign the resulting assembly with a strong name. + + See the Microsoft.NET Framework SDK documentation for details. - - Specifies the key container in which the public/private key pair - should be found that should be used to sign the resulting assembly - with a strong name. - - - The key container containing a public/private key pair that should - be used to sign the resulting assembly. - + + Specifies the key container in which the public/private key pair + should be found that should be used to sign the resulting assembly + with a strong name. + + + The key container containing a public/private key pair that should + be used to sign the resulting assembly. + - - Specifies to sign the resulting control using delayed signing. - + + Specifies to sign the resulting control using delayed signing. + - - Determines whether C# source code for the Windows Form wrapper should - be generated. The default is . - + + Determines whether C# source code for the Windows Form wrapper should + be generated. The default is . + - - Assembly to use for Runtime Callable Wrapper rather than generating - new one [.NET 1.1 or higher]. - + + Assembly to use for Runtime Callable Wrapper rather than generating + new one [.NET 1.1 or higher]. + - - Indicates whether aximp supports using an existing Runtime - Callable Wrapper for a given target framework. The default is - . - + + Indicates whether aximp supports using an existing Runtime + Callable Wrapper for a given target framework. The default is + . + + + Gets the command-line arguments for the external program. + + + The command-line arguments for the external program. + + + + + Reads the most recent Windows SDK InstallationFolder key into a NAnt property + + + + + ]]> + + + + + + locate the most recent WinSDK installed + + + - Gets the command-line arguments for the external program. + Converts a version expressed as a string into a Version object - - The command-line arguments for the external program. - + + A containing the version to convert. + + + A object representing the version string. + + + + + + The property to set to the value stored in the InstalledFolder key of the located WinSDK version. + + + + + + + The minimum acceptable Windows SDK version. + + + + + + + The maximum acceptable Windows SDK version. + + + + + + + The minimum acceptable .NET sdk version. + + + + + + + The maximum acceptable .NET sdk version. + + - - Reads a value or set of values from the Windows Registry into one or - more NAnt properties. - - - Read a single value from the registry. - - - ]]> - - Read all the registry values in a key. - - - ]]> - - + + Reads a value or set of values from the Windows Registry into one or + more NAnt properties. + + + Read a single value from the registry. + + + ]]> + + Read all the registry values in a key. + + + ]]> + + - - read the specified registry value - + + read the specified registry value + - - Returns the hive for a given key. - - - - - The hive for a given key. - + + Returns the hive for a given key. + + + + + The hive for a given key. + - - Returns the key for a given registry hive. - - The registry hive to return the key for. - - The key for a given registry hive. - + + Returns the key for a given registry hive. + + The registry hive to return the key for. + + The key for a given registry hive. + - - The property to set to the specified registry key value. - If this attribute is used then a single value will be read. - + + The property to set to the specified registry key value. + If this attribute is used then a single value will be read. + - - The prefix to use for the specified registry key values. - If this attribute is used then all registry values will be read and stored as properties with this prefix. - - - Registry values a, b, c will be turned into prefixa, prefixb, prefixc named properties - + + The prefix to use for the specified registry key values. + If this attribute is used then all registry values will be read and stored as properties with this prefix. + + + Registry values a, b, c will be turned into prefixa, prefixb, prefixc named properties + - - The registry key to read, including the path. - - - SOFTWARE\Microsoft\.NETFramework\sdkInstallRoot - + + The registry key to read, including the path. + + + SOFTWARE\Microsoft\.NETFramework\sdkInstallRoot + @@ -251,55 +314,55 @@ - - Registers an assembly, or set of assemblies for use from COM clients. - - - - Refer to the Regasm - documentation for more information on the regasm tool. - - - - - Register types in a single assembly. - - - - ]]> - - - - - Register types of an assembly and generate a type library containing - definitions of accessible types defined within the assembly. - - - - ]]> - - - - - Register types of set of assemblies at once, while specifying a set - of reference assemblies. - - - - - - - - - - - - ]]> - - + + Registers an assembly, or set of assemblies for use from COM clients. + + + + Refer to the Regasm + documentation for more information on the regasm tool. + + + + + Register types in a single assembly. + + + + ]]> + + + + + Register types of an assembly and generate a type library containing + definitions of accessible types defined within the assembly. + + + + ]]> + + + + + Register types of set of assemblies at once, while specifying a set + of reference assemblies. + + + + + + + + + + + + ]]> + + @@ -309,9 +372,9 @@ The of which the should be updated. - - Registers or unregisters a single assembly, or a group of assemblies. - + + Registers or unregisters a single assembly, or a group of assemblies. + @@ -320,318 +383,318 @@ - - Registry file to export to instead of entering the types directly - into the registry. - + + Registry file to export to instead of entering the types directly + into the registry. + - - Set the code base registry setting. - + + Set the code base registry setting. + - - Only refer to already registered type libraries. - + + Only refer to already registered type libraries. + - - Export the assemblies to the specified type library and register it. - + + Export the assemblies to the specified type library and register it. + - - Unregister the assembly. The default is . - + + Unregister the assembly. The default is . + - - The set of assemblies to register, or unregister. - + + The set of assemblies to register, or unregister. + - - The set of assembly references. - + + The set of assembly references. + - - Gets the working directory for the application. - - - The working directory for the application. - + + Gets the working directory for the application. + + + The working directory for the application. + - - Gets the command line arguments for the external program. - - - The command line arguments for the external program. - + + Gets the command line arguments for the external program. + + + The command line arguments for the external program. + - - Gets the filename of the external program to start. - - - The filename of the external program. - - - Override in derived classes to explicitly set the location of the - external tool. - + + Gets the filename of the external program to start. + + + The filename of the external program. + + + Override in derived classes to explicitly set the location of the + external tool. + - - Exports a .NET assembly to a type library that can be used from unmanaged - code (wraps Microsoft's tlbexp.exe). - - - - See the Microsoft.NET Framework SDK documentation for details. - - - - Export DotNetAssembly.dll to LegacyCOM.dll. - - - ]]> - - + + Exports a .NET assembly to a type library that can be used from unmanaged + code (wraps Microsoft's tlbexp.exe). + + + + See the Microsoft.NET Framework SDK documentation for details. + + + + Export DotNetAssembly.dll to LegacyCOM.dll. + + + ]]> + + - - Exports the type library. - + + Exports the type library. + - - Determines whether the assembly needs to be exported to a type - library again. - - - if the assembly needs to be exported to a - type library; otherwise, . - + + Determines whether the assembly needs to be exported to a type + library again. + + + if the assembly needs to be exported to a + type library; otherwise, . + - - Specifies the assembly for which to export a type library. - - - The assembly for which to export a type library. - - See the Microsoft.NET Framework SDK documentation for details. + + Specifies the assembly for which to export a type library. + + + The assembly for which to export a type library. + + See the Microsoft.NET Framework SDK documentation for details. - - Specifies the name of the type library file to generate. - - - The name of the type library file to generate. - - See the Microsoft.NET Framework SDK documentation for details. + + Specifies the name of the type library file to generate. + + + The name of the type library file to generate. + + See the Microsoft.NET Framework SDK documentation for details. - - Specifies the file used to determine capitalization of names in a - type library. - - - The file used to determine capitalization of names in a type library. - - See the Microsoft.NET Framework SDK documentation for details. + + Specifies the file used to determine capitalization of names in a + type library. + + + The file used to determine capitalization of names in a type library. + + See the Microsoft.NET Framework SDK documentation for details. - - Gets the command line arguments for the external program. - - - The command line arguments for the external program. - + + Gets the command line arguments for the external program. + + + The command line arguments for the external program. + - - Imports a type library to a .NET assembly (wraps Microsoft's tlbimp.exe). - - - - This task lets you easily create interop assemblies. By default, it will - not reimport if the underlying COM TypeLib or reference has not changed. - - - See the Microsoft.NET Framework SDK documentation for details. - - - - Import LegacyCOM.dll to DotNetAssembly.dll. - - - ]]> - - - - - Generate an assembly named "Interop.MSVidCtlLib.dll" for the - MS Video Control 1.0 Type Library, transforming any [out, retval] - parameters of methods on dispinterfaces in the type library into - return values in the managed library. - - - - - - - - ]]> - - + + Imports a type library to a .NET assembly (wraps Microsoft's tlbimp.exe). + + + + This task lets you easily create interop assemblies. By default, it will + not reimport if the underlying COM TypeLib or reference has not changed. + + + See the Microsoft.NET Framework SDK documentation for details. + + + + Import LegacyCOM.dll to DotNetAssembly.dll. + + + ]]> + + + + + Generate an assembly named "Interop.MSVidCtlLib.dll" for the + MS Video Control 1.0 Type Library, transforming any [out, retval] + parameters of methods on dispinterfaces in the type library into + return values in the managed library. + + + + + + + + ]]> + + - - Imports the type library to a .NET assembly. - + + Imports the type library to a .NET assembly. + - - Returns the path of the type library, removing the identifier of - the type library from the specified string. - - The path from which to extract the path of the type library. - - The path of the type library without the type library identifier. - - - An example of a path which includes the identifier of the type - library (in this case "2") is - C:\WINDOWS\system32\msvidctl.dll\2. - + + Returns the path of the type library, removing the identifier of + the type library from the specified string. + + The path from which to extract the path of the type library. + + The path of the type library without the type library identifier. + + + An example of a path which includes the identifier of the type + library (in this case "2") is + C:\WINDOWS\system32\msvidctl.dll\2. + - - Determines whether the type library needs to be imported again. - - - if the type library needs to be imported; - otherwise, . - + + Determines whether the type library needs to be imported again. + + + if the type library needs to be imported; + otherwise, . + - - Specifies the name of the output file. - - - The name of the output file. - - See the Microsoft.NET Framework SDK documentation for details. + + Specifies the name of the output file. + + + The name of the output file. + + See the Microsoft.NET Framework SDK documentation for details. - - Specifies the namespace in which to produce the assembly. - - - The namespace in which to produce the assembly. - - See the Microsoft.NET Framework SDK documentation for details. + + Specifies the namespace in which to produce the assembly. + + + The namespace in which to produce the assembly. + + See the Microsoft.NET Framework SDK documentation for details. - - Specifies the version number of the assembly to produce. - - - - The version number of the assembly to produce. - - - The version number should be in the format major.minor.build.revision. - - - See the Microsoft.NET Framework SDK documentation for details. - - + + Specifies the version number of the assembly to produce. + + + + The version number of the assembly to produce. + + + The version number should be in the format major.minor.build.revision. + + + See the Microsoft.NET Framework SDK documentation for details. + + - - Specifies whether the resulting assembly should be signed with a - strong name using delayed signing. The default is . - - - if the resulting assembly should be signed - with a strong name using delayed signing; otherwise, . - - See the Microsoft.NET Framework SDK documentation for details. + + Specifies whether the resulting assembly should be signed with a + strong name using delayed signing. The default is . + + + if the resulting assembly should be signed + with a strong name using delayed signing; otherwise, . + + See the Microsoft.NET Framework SDK documentation for details. - - Specifies whether a primary interop assembly should be produced for - the specified type library. The default is . - - - if a primary interop assembly should be - produced; otherwise, . - - See the Microsoft.NET Framework SDK documentation for details. + + Specifies whether a primary interop assembly should be produced for + the specified type library. The default is . + + + if a primary interop assembly should be + produced; otherwise, . + + See the Microsoft.NET Framework SDK documentation for details. - - Specifies the file containing the public key to use to sign the - resulting assembly. - - - The file containing the public key to use to sign the resulting - assembly. - - See the Microsoft.NET Framework SDK documentation for details. + + Specifies the file containing the public key to use to sign the + resulting assembly. + + + The file containing the public key to use to sign the resulting + assembly. + + See the Microsoft.NET Framework SDK documentation for details. - - Specifies the publisher's official public/private key pair with which - the resulting assembly should be signed with a strong name. - - - The keyfile to use to sign the resulting assembly with a strong name. - - See the Microsoft.NET Framework SDK documentation for details. + + Specifies the publisher's official public/private key pair with which + the resulting assembly should be signed with a strong name. + + + The keyfile to use to sign the resulting assembly with a strong name. + + See the Microsoft.NET Framework SDK documentation for details. - - Specifies the key container in which the public/private key pair - should be found that should be used to sign the resulting assembly - with a strong name. - - - The key container containing a public/private key pair that should - be used to sign the resulting assembly. - - See the Microsoft.NET Framework SDK documentation for details. + + Specifies the key container in which the public/private key pair + should be found that should be used to sign the resulting assembly + with a strong name. + + + The key container containing a public/private key pair that should + be used to sign the resulting assembly. + + See the Microsoft.NET Framework SDK documentation for details. - - Specifies the assembly files to use to resolve references to types - defined outside the current type library. - - - The assembly files to use to resolve references to types defined - outside the current type library. - - See the Microsoft.NET Framework SDK documentation for details. + + Specifies the assembly files to use to resolve references to types + defined outside the current type library. + + + The assembly files to use to resolve references to types defined + outside the current type library. + + See the Microsoft.NET Framework SDK documentation for details. - - Specifies whether a type library should not be imported if all - references within the current assembly or the reference assemblies - cannot be resolved. The default is . - - - if a type library should not be imported if - all references cannot be resolved; otherwise, . - - See the Microsoft.NET Framework SDK documentation for details. + + Specifies whether a type library should not be imported if all + references within the current assembly or the reference assemblies + cannot be resolved. The default is . + + + if a type library should not be imported if + all references cannot be resolved; otherwise, . + + See the Microsoft.NET Framework SDK documentation for details. @@ -646,45 +709,45 @@ See the Microsoft.NET Framework SDK documentation for details. - - Specifies how to transform the metadata [.NET 1.1 or higher]. - + + Specifies how to transform the metadata [.NET 1.1 or higher]. + - - Specifies the source type library that gets passed to the type - library importer. - - - The source type library that gets passed to the type library - importer. - - See the Microsoft.NET Framework SDK documentation for details. + + Specifies the source type library that gets passed to the type + library importer. + + + The source type library that gets passed to the type library + importer. + + See the Microsoft.NET Framework SDK documentation for details. - - Specifies whether interfaces should be produced without .NET Framework - security checks. The default is . - - - if interfaces without .NET Framework security - checks should be produced; otherwise, . - - See the Microsoft.NET Framework SDK documentation for details. + + Specifies whether interfaces should be produced without .NET Framework + security checks. The default is . + + + if interfaces without .NET Framework security + checks should be produced; otherwise, . + + See the Microsoft.NET Framework SDK documentation for details. - - Indicates whether tlbimp supports transforming metadata for - a given target framework. The default is . - + + Indicates whether tlbimp supports transforming metadata for + a given target framework. The default is . + - - Gets the command line arguments for the external program. - - - The command line arguments for the external program. - + + Gets the command line arguments for the external program. + + + The command line arguments for the external program. + diff --git a/build-support/tools/nant/bin/NAnt.exe b/build-support/tools/nant/bin/NAnt.exe index 689b1ebe..c41374a3 100644 Binary files a/build-support/tools/nant/bin/NAnt.exe and b/build-support/tools/nant/bin/NAnt.exe differ diff --git a/build-support/tools/nant/bin/NAnt.exe.config b/build-support/tools/nant/bin/NAnt.exe.config index 534d832f..53291fdd 100644 --- a/build-support/tools/nant/bin/NAnt.exe.config +++ b/build-support/tools/nant/bin/NAnt.exe.config @@ -1,1716 +1,2323 @@ - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - csc - true - - - vbc - - - jsc - - - vjc - true - - - resgen - - - al - - - sn - - - lc - - - ilasm - - - ildasm - - - false - - - false - - - - - - - - - - - - - - - - - - - - - csc - true - - - vbc - - - jsc - - - vjc - true - - - resgen - - - al - - - sn - - - lc - - - ilasm - - - ildasm - - - - - - - - - - - - - - - - - - - - - csc - true - true - true - true - true - true - - - vbc - true - true - true - true - true - true - true - - - jsc - true - - - vjc - true - true - true - - - resgen - true - true - - - al - - - sn - - - lc - true - - - ilasm - - - ildasm - - - - - - - - - - - - - - - - - - - - - csc - true - true - true - true - true - true - - - vbc - true - true - true - true - true - true - true - - - jsc - true - - - vjc - true - true - true - - - resgen - true - true - - - al - - - sn - - - lc - true - - - ilasm - - - ildasm - - - - - - - - - - - - - - - - - - - - - csc - true - true - true - true - true - true - - - vbc - true - true - true - true - true - true - true - - - jsc - true - - - vjc - true - true - true - - - resgen - true - true - - - al - - - sn - - - lc - true - - - ilasm - - - ildasm - - - - - - - - - - - - The .NET Framework 1.1 SDK is not installed. - - - - csc - true - true - true - - - vbc - - - cfresgen - - - al - - - sn - - - ${path::combine(sdkInstallRoot.DesktopFramework, 'bin/lc.exe')} - - - ilasm - - - ildasm - - - - - - - - - - - - The .NET Framework 2.0 SDK is not installed. - - - - csc - true - true - true - - - vbc - true - - - resgen - - - al - - - sn - - - lc - true - - - ilasm - - - ildasm - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - al - true - - - ${csc.tool} - true - true - true - ${csc.supportsdocgeneration} - true - true - true - - - ${mbas.tool} - true - - - ${resgen.tool} - true - - - sn - true - - - false - - - ilasm - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - al - true - - - ${path::combine(frameworkAssemblyDirectory, 'mono/2.0/gmcs.exe')} - true - true - true - ${csc.supportsdocgeneration} - true - true - true - - - - ${path::combine(frameworkAssemblyDirectory, 'mono/1.0/mbas.exe')} - true - - - ${resgen.tool} - true - - - sn - true - - - false - - - ilasm - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - al - true - - - ${path::combine(frameworkAssemblyDirectory, 'mono/2.0/gmcs.exe')} - true - true - true - ${csc.supportsdocgeneration} - true - true - true - - - - ${path::combine(frameworkAssemblyDirectory, 'mono/1.0/mbas.exe')} - true - - - ${resgen.tool} - true - - - sn - true - - - false - - - ilasm - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - al - true - - - ${path::combine(frameworkAssemblyDirectory, 'mono/2.0/gmcs.exe')} - true - true - true - ${csc.supportsdocgeneration} - true - true - true - - - - ${path::combine(frameworkAssemblyDirectory, 'mono/1.0/mbas.exe')} - true - - - ${resgen.tool} - true - - - sn - true - - - false - - - ilasm - true - - - - - - - - - - - csc - true - - - jsc - true - - - resgen - - - al - - - sn - - - false - - - ilasm - true - - - ildasm - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/. - - - - - - - - - - - - - - - - al - true - - - ${path::combine(prefix, 'lib/mono/1.0/mcs.exe')} - true - true - true - ${csc.supportsdocgeneration} - true - true - true - - - ${path::combine(prefix, 'lib/mono/1.0/mbas.exe')} - true - - - ${resgen.tool} - true - - - sn - true - - - false - - - ilasm - true - - - - - - - - - - - - - Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/. - - - - - - - - - - - - - - - - - - - - - - al - true - - - ${path::combine(prefix, 'lib/mono/2.0/gmcs.exe')} - true - true - true - ${csc.supportsdocgeneration} - true - true - true - - - - ${path::combine(prefix, 'lib/mono/1.0/mbas.exe')} - true - - - ${resgen.tool} - true - - - sn - true - - - false - - - ilasm - true - - - - - - - - - - - - - Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/. - - - - - - - - - - - - - - - - - - - - - - al - true - - - ${path::combine(prefix, 'lib/mono/2.0/gmcs.exe')} - true - true - true - ${csc.supportsdocgeneration} - true - true - true - - - - ${path::combine(prefix, 'lib/mono/1.0/mbas.exe')} - true - - - ${resgen.tool} - true - - - sn - true - - - false - - - ilasm - true - - - - - - - - - - - - - Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/. - - - - - - - - - - - - - - - - - - - - - - al - true - - - ${path::combine(prefix, 'lib/mono/2.0/gmcs.exe')} - true - true - true - ${csc.supportsdocgeneration} - true - true - true - - - - ${path::combine(prefix, 'lib/mono/1.0/mbas.exe')} - true - - - ${resgen.tool} - true - - - sn - true - - - false - - - ilasm - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + true + + + sn + + + lc + + + false + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + true + + + sn + + + lc + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + true + true + true + true + true + true + + + true + true + true + true + true + true + true + true + + + true + + + true + true + true + true + + + true + true + + + sn + + + lc + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + true + true + true + true + true + true + + + true + true + true + true + true + true + true + true + + + true + + + true + true + true + true + + + true + true + + + sn + + + lc + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + true + true + true + true + true + true + + + true + true + true + true + true + true + true + true + + + true + + + true + true + true + true + + + true + true + + + sn + + + lc + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The .NET Framework 1.1 SDK is not installed. + + + + true + true + true + + + cfresgen + + + sn + + + lc + + + + + + + + + + + + + + + + + + + + + + + + + + + The .NET Framework 2.0 SDK is not installed. + + + + true + true + true + true + true + true + true + true + true + + + true + true + true + true + true + true + true + true + true + + + true + true + + + sn + + + lc + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + true + true + true + true + true + true + true + true + + + true + true + true + true + true + true + true + true + true + + + true + + + true + true + true + true + + + true + true + + + sn + + + lc + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + ${csc.tool} + true + true + true + ${csc.supportsdocgeneration} + true + true + true + true + + + mjs + true + + + ${mbas.tool} + true + + + ${resgen.tool} + true + + + sn + true + + + false + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + gmcs + true + true + true + ${csc.supportsdocgeneration} + true + true + true + true + + + mjs + strict + + + vbnc + true + + + ${resgen.tool} + true + ${resgen.supportsexternalfilereferences} + + + sn + true + + + false + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + gmcs + true + linq + true + true + true + true + true + true + true + + + mjs + strict + + + vbnc + true + + + true + true + + + sn + true + + + false + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + smcs + true + true + true + true + true + true + true + true + + + true + true + + + sn + + + false + + + + + + + + + + + + + + + + + + + + + + + + + true + + + true + + + sn + + + false + + + true + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/. + + + + + + + + + + + + + + + + true + + + ${path::combine(prefix, 'lib/mono/1.0/mcs.exe')} + true + true + true + ${csc.supportsdocgeneration} + true + true + true + true + + + mjs + true + + + ${path::combine(prefix, 'lib/mono/1.0/mbas.exe')} + true + + + ${resgen.tool} + true + + + sn + true + + + false + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/. + + + + + + + + + + + + + + + + + + + + + true + + + gmcs + true + true + true + ${csc.supportsdocgeneration} + true + true + true + true + + + mjs + strict + + + vbnc + true + + + ${resgen.tool} + true + ${resgen.supportsexternalfilereferences} + + + sn + true + + + false + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/. + + + + + + + + true + + + gmcs + true + linq + true + true + true + true + true + true + true + + + mjs + strict + + + vbnc + true + + + true + true + + + sn + true + + + false + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/. + + + + + + + smcs + true + true + true + true + true + true + true + true + + + true + true + + + sn + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build-support/tools/nant/bin/NAnt.xml b/build-support/tools/nant/bin/NAnt.xml index fd75a54d..64a0575a 100644 --- a/build-support/tools/nant/bin/NAnt.xml +++ b/build-support/tools/nant/bin/NAnt.xml @@ -11,17 +11,47 @@
- - Entry point for executable - - Command Line arguments - The result of the real execution + + Entry point for executable + + Command Line arguments + The result of the real execution + + + + Constructs the privatebinpath. + + + + For the common version dir, we do not use the framework version + as defined in the NAnt configuration file but the CLR version + since the assemblies in that directory are not specific to a + certain family and the framwork version might differ between + families (eg. mono 1.0 == .NET 1.1). + + + The runtime framework. + The base directory of the domain. + + The privatebinpath. + + + + + Given an absolute directory and an absolute file name, returns a + relative file name. + + An absolute directory. + An absolute file name. + + A relative file name for the given absolute file name. + - - Helper class for invoking the application entry point in NAnt.Core - and passing the command-line arguments. - + + Helper class for invoking the application entry point in NAnt.Core + and passing the command-line arguments. + @@ -32,17 +62,17 @@ Directories relative to the base directory of the AppDomain to probe for missing assembly references. - - Invokes the application entry point in NAnt.Core. - + + Invokes the application entry point in NAnt.Core. + - - Gets the status that the build process returned when it exited. - - - The code that the build process specified when it terminated. - + + Gets the status that the build process returned when it exited. + + + The code that the build process specified when it terminated. + diff --git a/build-support/tools/nant/bin/NDoc.Documenter.NAnt.dll b/build-support/tools/nant/bin/NDoc.Documenter.NAnt.dll index 06dda7e9..cdcc3f1f 100644 Binary files a/build-support/tools/nant/bin/NDoc.Documenter.NAnt.dll and b/build-support/tools/nant/bin/NDoc.Documenter.NAnt.dll differ diff --git a/build-support/tools/nant/doc/help/elements/NAnt.Core.DataTypeBase.html b/build-support/tools/nant/doc/help/elements/NAnt.Core.DataTypeBase.html index cd0aa52c..c0ade4e1 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.Core.DataTypeBase.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.Core.DataTypeBase.html @@ -19,11 +19,12 @@ -> Element Reference -> DataTypeBase - - v0.85 + + v0.91-alpha2

DataTypeBase

+

[This is preliminary documentation and subject to change.]

Provides the abstract base class for types.

Parameters

@@ -50,7 +51,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.Core.Filters.ChainableReader.html b/build-support/tools/nant/doc/help/elements/NAnt.Core.Filters.ChainableReader.html index 4508f639..54e7d884 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.Core.Filters.ChainableReader.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.Core.Filters.ChainableReader.html @@ -19,11 +19,12 @@ -> Element Reference -> ChainableReader - - v0.85 + + v0.91-alpha2

ChainableReader

-

Functions as a chainable TextReader

Implements a abstraction over a TextReader that allows the class to represent either a TextReader or another ChainableReader to which it is chained. By passing a ChainableReader as a constructor paramater it is possiable to chain many ChainableReaders together. The last ChainableReader in the chain must be based on a TextReader.

Requirements

Assembly: NAnt.Core (0.85.2478.0) +

[This is preliminary documentation and subject to change.]

+

Functions as a chainable TextReader

Implements a abstraction over a TextReader that allows the class to represent either a TextReader or another ChainableReader to which it is chained. By passing a ChainableReader as a constructor paramater it is possiable to chain many ChainableReaders together. The last ChainableReader in the chain must be based on a TextReader.

Requirements

Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.Core.Filters.Filter.html b/build-support/tools/nant/doc/help/elements/NAnt.Core.Filters.Filter.html index 4ab6e927..4bde23ff 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.Core.Filters.Filter.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.Core.Filters.Filter.html @@ -19,11 +19,12 @@ -> Element Reference -> Filter - - v0.85 + + v0.91-alpha2

Filter

+

[This is preliminary documentation and subject to change.]

Allows a file's content to be modified while performing an operation.

Parameters

@@ -50,7 +51,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.Core.Target.html b/build-support/tools/nant/doc/help/elements/NAnt.Core.Target.html index 6b379718..2f3f56d7 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.Core.Target.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.Core.Target.html @@ -19,11 +19,12 @@ -> Element Reference -> Target - - v0.85 + + v0.91-alpha2

Target

+

[This is preliminary documentation and subject to change.]

Parameters

@@ -38,8 +39,8 @@ name string - The name of the target.

- This attribute's properties will not be automatically expanded! + The name of the target.

+ This attribute's properties will not be automatically expanded!

True @@ -58,16 +59,16 @@ if string - If true then the target will be executed; otherwise, skipped. The default is true.

- This attribute's properties will not be automatically expanded! + If true then the target will be executed; otherwise, skipped. The default is true.

+ This attribute's properties will not be automatically expanded!

False unless string - Opposite of IfDefined. If false then the target will be executed; otherwise, skipped. The default is false.

- This attribute's properties will not be automatically expanded! + Opposite of IfDefined. If false then the target will be executed; otherwise, skipped. The default is false.

+ This attribute's properties will not be automatically expanded!

False @@ -75,7 +76,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.Core.Task.html b/build-support/tools/nant/doc/help/elements/NAnt.Core.Task.html index f364b044..687d00a6 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.Core.Task.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.Core.Task.html @@ -19,11 +19,12 @@ -> Element Reference -> Task - - v0.85 + + v0.91-alpha2

Task

-

Provides the abstract base class for tasks.

A task is a piece of code that can be executed.

Parameters

AttributeTypeDescriptionRequired
failonerrorbool Determines if task failure stops the build, or is just reported. The default is true. False
ifbool If true then the task will be executed; otherwise, skipped. The default is true. False
unlessbool Opposite of if. If false then the task will be executed; otherwise, skipped. The default is false. False
verbosebool Determines whether the task should report detailed build log messages. The default is false. False

Requirements

Assembly: NAnt.Core (0.85.2478.0) +

[This is preliminary documentation and subject to change.]

+

Provides the abstract base class for tasks.

A task is a piece of code that can be executed.

Parameters

AttributeTypeDescriptionRequired
failonerrorbool Determines if task failure stops the build, or is just reported. The default is true. False
ifbool If true then the task will be executed; otherwise, skipped. The default is true. False
unlessbool Opposite of if. If false then the task will be executed; otherwise, skipped. The default is false. False
verbosebool Determines whether the task should report detailed build log messages. The default is false. False

Requirements

Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.Core.TaskContainer.html b/build-support/tools/nant/doc/help/elements/NAnt.Core.TaskContainer.html index 3fe0d804..0459c8aa 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.Core.TaskContainer.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.Core.TaskContainer.html @@ -19,11 +19,12 @@ -> Element Reference -> TaskContainer - - v0.85 + + v0.91-alpha2

TaskContainer

+

[This is preliminary documentation and subject to change.]

Executes embedded tasks in the order in which they are defined.

Parameters

@@ -62,7 +63,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.Core.Tasks.ExternalProgramBase.html b/build-support/tools/nant/doc/help/elements/NAnt.Core.Tasks.ExternalProgramBase.html index 22771896..f51750ff 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.Core.Tasks.ExternalProgramBase.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.Core.Tasks.ExternalProgramBase.html @@ -19,12 +19,15 @@ -> Element Reference -> ExternalProgramBase - - v0.85 + + v0.91-alpha2

ExternalProgramBase

+

[This is preliminary documentation and subject to change.]

Provides the abstract base class for tasks that execute external applications.

+

When a ProgramLocationAttribute is applied to the deriving class and exename does not return an absolute path, then the program to execute will first be searched for in the location specified by LocationType.

+

If the program does not exist in that location, then the list of tool paths of the current target framework will be scanned in the order in which they are defined in the NAnt configuration file.

Parameters

@@ -81,10 +84,19 @@ + + + + + + - +
The name of the executable that should be used to launch the external program. False
managed + ManagedExecution + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. False
useruntimeengine bool Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False
@@ -94,13 +106,13 @@

- - <arg> + + <arg>

-
The command-line arguments for the external program.

Represents a command-line argument.

Parameters

AttributeTypeDescriptionRequired
dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
linestring List of command-line arguments; will be passed to the executable as is. False
path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
valuestring A single command-line argument; can contain space characters. False

Nested Elements:

- <path> -

Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

- </path> +
The command-line arguments for the external program.

Represents a command-line argument.

When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

Parameters

AttributeTypeDescriptionRequired
dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
linestring List of command-line arguments; will be passed to the executable as is. False
path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
valuestring A single command-line argument; can contain space characters. False

Nested Elements:

+ <path> +

Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

+ </path>

Examples

  • A single command-line argument containing a space character.

     <arg value="-l -a" />
         
  • Two separate command-line arguments.

    @@ -110,12 +122,12 @@
         

- - </arg> + + </arg>

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.Core.Tasks.InElement.html b/build-support/tools/nant/doc/help/elements/NAnt.Core.Tasks.InElement.html index 6896ab51..fd8c3699 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.Core.Tasks.InElement.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.Core.Tasks.InElement.html @@ -19,31 +19,32 @@ -> Element Reference -> InElement - - v0.85 + + v0.91-alpha2

InElement

+

[This is preliminary documentation and subject to change.]

Nested Elements:

- - <items> + + <items>

- - </items> + + </items>

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.Argument.html b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.Argument.html index 4fda4873..9f819901 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.Argument.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.Argument.html @@ -19,12 +19,14 @@ -> Element Reference -> <arg> - - v0.85 + + v0.91-alpha2

<arg>

+

[This is preliminary documentation and subject to change.]

Represents a command-line argument.

+

When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

Parameters

@@ -82,14 +84,14 @@

- - <path> + + <path>

Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

- - </path> + + </path>

Examples

    @@ -114,7 +116,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.EnvironmentSet.html b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.EnvironmentSet.html index c26ea3c2..2b5b737e 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.EnvironmentSet.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.EnvironmentSet.html @@ -19,47 +19,48 @@ ->Element Reference-> <environment> - +

<environment>

+

[This is preliminary documentation and subject to change.]

A set of environment variables.

Nested Elements:

- - <option> + + <option>

Deprecated. Environment variable to pass to a program.

Represents an option.

Parameters

AttributeTypeDescriptionRequired
namestring Name of the option. True
ifbool Indicates if the option should be passed to the task. If true then the option will be passed; otherwise, skipped. The default is true. False
unlessbool Indicates if the option should not be passed to the task. If false then the option will be passed; otherwise, skipped. The default is false. False
valuestring Value of the option. The default is a null reference (Nothing in Visual Basic). False

- - </option> + + </option>

- - <variable> + + <variable>

-
Environment variable to pass to a program.

Represents an environment variable.

Parameters

AttributeTypeDescriptionRequired
namestring The name of the environment variable. True
dirdirectory The value for a directory-based environment variable. NAnt will convert it to an absolute path. False
filefile The value for a file-based environment variable. NAnt will convert it to an absolute filename. False
ifbool Indicates if the environment variable should be passed to the external program. If true then the environment variable will be passed; otherwise, skipped. The default is true. False
path<path> The value for a PATH like environment variable. You can use : or ; as path separators and NAnt will convert it to the platform's local conventions. False
unlessbool Indicates if the environment variable should not be passed to the external program. If false then the environment variable will be passed; otherwise, skipped. The default is false. False
valuestring The literal value for the environment variable. False

Nested Elements:

- <path> -

Sets a single environment variable and treats it like a PATH - ensures the right separator for the local platform is used.

- </path> +
Environment variable to pass to a program.

Represents an environment variable.

Parameters

AttributeTypeDescriptionRequired
namestring The name of the environment variable. True
dirdirectory The value for a directory-based environment variable. NAnt will convert it to an absolute path. False
filefile The value for a file-based environment variable. NAnt will convert it to an absolute filename. False
ifbool Indicates if the environment variable should be passed to the external program. If true then the environment variable will be passed; otherwise, skipped. The default is true. False
path<path> The value for a PATH like environment variable. You can use : or ; as path separators and NAnt will convert it to the platform's local conventions. False
unlessbool Indicates if the environment variable should not be passed to the external program. If false then the environment variable will be passed; otherwise, skipped. The default is false. False
valuestring The literal value for the environment variable. False

Nested Elements:

+ <path> +

Sets a single environment variable and treats it like a PATH - ensures the right separator for the local platform is used.

+ </path>

- - </variable> + + </variable>

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.EnvironmentVariable.html b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.EnvironmentVariable.html index 82345085..453aaffe 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.EnvironmentVariable.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.EnvironmentVariable.html @@ -19,11 +19,12 @@ -> Element Reference -> <env> - - v0.85 + + v0.91-alpha2

<env>

+

[This is preliminary documentation and subject to change.]

Represents an environment variable.

Parameters

@@ -82,18 +83,18 @@

- - <path> + + <path>

Sets a single environment variable and treats it like a PATH - ensures the right separator for the local platform is used.

- - </path> + + </path>

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.FileSet.Exclude.html b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.FileSet.Exclude.html index 78e8a058..f4a52751 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.FileSet.Exclude.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.FileSet.Exclude.html @@ -19,11 +19,12 @@ -> Element Reference -> FileSet.Exclude - - v0.85 + + v0.91-alpha2

FileSet.Exclude

+

[This is preliminary documentation and subject to change.]

Parameters

@@ -57,7 +58,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.FileSet.ExcludesFile.html b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.FileSet.ExcludesFile.html index e59bda1e..e9231c78 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.FileSet.ExcludesFile.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.FileSet.ExcludesFile.html @@ -19,11 +19,12 @@ -> Element Reference -> FileSet.ExcludesFile - - v0.85 + + v0.91-alpha2

FileSet.ExcludesFile

+

[This is preliminary documentation and subject to change.]

Parameters

@@ -57,7 +58,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.FileSet.Include.html b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.FileSet.Include.html index cf0be6e7..4478fd1c 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.FileSet.Include.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.FileSet.Include.html @@ -19,11 +19,12 @@ -> Element Reference -> FileSet.Include - - v0.85 + + v0.91-alpha2

FileSet.Include

+

[This is preliminary documentation and subject to change.]

Parameters

@@ -69,7 +70,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.FileSet.IncludesFile.html b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.FileSet.IncludesFile.html index 8643831e..effe9ab6 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.FileSet.IncludesFile.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.FileSet.IncludesFile.html @@ -19,11 +19,12 @@ -> Element Reference -> FileSet.IncludesFile - - v0.85 + + v0.91-alpha2

FileSet.IncludesFile

+

[This is preliminary documentation and subject to change.]

Parameters

@@ -69,7 +70,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.Formatter.html b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.Formatter.html index 9953cbc9..d8cc18ba 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.Formatter.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.Formatter.html @@ -19,11 +19,12 @@ -> Element Reference -> <formatter> - - v0.85 + + v0.91-alpha2

<formatter>

+

[This is preliminary documentation and subject to change.]

Parameters

@@ -63,7 +64,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.Option.html b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.Option.html index 8a93425b..e4d54be2 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.Option.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.Option.html @@ -19,11 +19,12 @@ -> Element Reference -> <option> - - v0.85 + + v0.91-alpha2

<option>

+

[This is preliminary documentation and subject to change.]

Represents an option.

Parameters

@@ -62,7 +63,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.PathElement.html b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.PathElement.html index 92392760..45c9ffb5 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.PathElement.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.PathElement.html @@ -19,11 +19,12 @@ -> Element Reference -> <pathelement> - - v0.85 + + v0.91-alpha2

<pathelement>

+

[This is preliminary documentation and subject to change.]

Represents a nested path element.

Parameters

@@ -68,7 +69,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.RawXml.html b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.RawXml.html index 719dbb0c..854ceb91 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.RawXml.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.RawXml.html @@ -19,15 +19,16 @@ -> Element Reference -> RawXml - - v0.85 + + v0.91-alpha2

RawXml

+

[This is preliminary documentation and subject to change.]

Represents an element of which the XML is processed by its parent task or type.

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.Token.html b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.Token.html index 6d1c2975..2093204c 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.Token.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.Token.html @@ -19,11 +19,12 @@ -> Element Reference -> <token> - - v0.85 + + v0.91-alpha2

<token>

+

[This is preliminary documentation and subject to change.]

ReplaceTokens filter token.

Parameters

@@ -62,7 +63,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.XmlNamespace.html b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.XmlNamespace.html index e1968a6e..f102fd6f 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.XmlNamespace.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.XmlNamespace.html @@ -19,11 +19,12 @@ -> Element Reference -> <namespace> - - v0.85 + + v0.91-alpha2

<namespace>

+

[This is preliminary documentation and subject to change.]

Represents an XML namespace.

Parameters

@@ -62,7 +63,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.XsltExtensionObject.html b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.XsltExtensionObject.html index 27ac2a21..73e2d3a3 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.XsltExtensionObject.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.XsltExtensionObject.html @@ -19,11 +19,12 @@ -> Element Reference -> <xsltextensionobject> - - v0.85 + + v0.91-alpha2

<xsltextensionobject>

+

[This is preliminary documentation and subject to change.]

Represents an XSLT extension object. The object should have a default parameterless constructor and the return value should be one of the four basic XPath data types of number, string, Boolean or node set.

Parameters

@@ -68,7 +69,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.XsltParameter.html b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.XsltParameter.html index ef7725ae..bf3ea18b 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.XsltParameter.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.Core.Types.XsltParameter.html @@ -19,11 +19,12 @@ -> Element Reference -> <xsltparameter> - - v0.85 + + v0.91-alpha2

<xsltparameter>

+

[This is preliminary documentation and subject to change.]

Represents an XSLT parameter.

Parameters

@@ -68,7 +69,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Tasks.CompilerBase.html b/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Tasks.CompilerBase.html index fd68e9db..b328922f 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Tasks.CompilerBase.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Tasks.CompilerBase.html @@ -19,11 +19,12 @@ -> Element Reference -> CompilerBase - - v0.85 + + v0.91-alpha2

CompilerBase

+

[This is preliminary documentation and subject to change.]

Provides the abstract base class for compiler tasks.

Parameters

@@ -58,6 +59,14 @@ Define conditional compilation symbol(s). False + + delaysign + + DelaySign + + Specifies whether to delay sign the assembly using only the public portion of the strong name key. The default is NotSet. + False + keycontainer string @@ -101,6 +110,12 @@ Icon to associate with the application. False + + win32res + file + Specifies a Win32 resource file (.res). + False + failonerror bool @@ -148,6 +163,20 @@ The name of the executable that should be used to launch the external program. False + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + + + supportsdelaysign + bool + Indicates whether the compiler for a given target framework supports the "delaysign" option. The default is false. + False + supportskeycontainer bool @@ -181,7 +210,8 @@ useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -190,53 +220,53 @@

- - <warnaserror> + + <warnaserror>

Controls which warnings should be reported as errors.

- - </warnaserror> + + </warnaserror>

- - <nowarn> + + <nowarn>

Specifies a list of warnings that you want the compiler to suppress.
<warning>

Represents a compiler warning.

Parameters

AttributeTypeDescriptionRequired
numberstring A warning number, or comma-separated list of warnings, that you want the compiler to suppress or report. True
ifbool If true then the element will be processed; otherwise, skipped. The default is true. False
unlessbool If true then the element will be skipped; otherwise, processed. The default is false. False
</warning>

</nowarn>

- - <lib> + + <lib>

Deprecated. Additional directories to search in for assembly references.

- - </lib> + + </lib>

- - <references> + + <references>

Reference metadata from the specified assembly files.

- - </references> + + </references>

- - <pkg-references> + + <pkg-references>

Specifies list of packages to reference.
<package>

Represents a package.

Parameters

AttributeTypeDescriptionRequired
namestring Name of the package to reference. Multiple package can be specified with a single element as a semi-colon separated list of package names. True
ifbool Indicates if the package should be passed to the task. If true then the package will be passed; otherwise, skipped. The default is true. False
unlessbool Indicates if the package should not be passed to the task. If false then the package will be passed; otherwise, skipped. The default is false. False
</package>

</pkg-references>

@@ -244,50 +274,50 @@

- - <resources> + + <resources>

Resources to embed.

- - </resources> + + </resources>

- - <modules> + + <modules>

Link the specified modules into this assembly.

- - </modules> + + </modules>

- - <sources> + + <sources>

The set of source files for compilation.

- - </sources> + + </sources>

- - <arg> + + <arg>

-
The command-line arguments for the external program.

Represents a command-line argument.

Parameters

AttributeTypeDescriptionRequired
dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
linestring List of command-line arguments; will be passed to the executable as is. False
path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
valuestring A single command-line argument; can contain space characters. False

Nested Elements:

- <path> -

Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

- </path> +
The command-line arguments for the external program.

Represents a command-line argument.

When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

Parameters

AttributeTypeDescriptionRequired
dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
linestring List of command-line arguments; will be passed to the executable as is. False
path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
valuestring A single command-line argument; can contain space characters. False

Nested Elements:

+ <path> +

Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

+ </path>

Examples

  • A single command-line argument containing a space character.

     <arg value="-l -a" />
         
  • Two separate command-line arguments.

    @@ -297,12 +327,12 @@
         

- - </arg> + + </arg>

Requirements

- Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.AssemblyAttribute.html b/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.AssemblyAttribute.html index 881881d0..e5e9d06c 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.AssemblyAttribute.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.AssemblyAttribute.html @@ -19,11 +19,12 @@ -> Element Reference -> <attribute> - - v0.85 + + v0.91-alpha2

<attribute>

+

[This is preliminary documentation and subject to change.]

Represents an assembly-level attribute.

Parameters

@@ -68,7 +69,7 @@

Requirements

- Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.CompilerWarning.html b/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.CompilerWarning.html index 9b6b9556..ed9851ea 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.CompilerWarning.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.CompilerWarning.html @@ -19,11 +19,12 @@ -> Element Reference -> CompilerWarning - - v0.85 + + v0.91-alpha2

CompilerWarning

+

[This is preliminary documentation and subject to change.]

Represents a compiler warning.

Parameters

@@ -56,7 +57,7 @@

Requirements

- Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.DataTypeCollectionBase.html b/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.DataTypeCollectionBase.html index 824464d5..fe22bbe6 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.DataTypeCollectionBase.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.DataTypeCollectionBase.html @@ -19,11 +19,12 @@ -> Element Reference -> DataTypeCollectionBase - - v0.85 + + v0.91-alpha2

DataTypeCollectionBase

+

[This is preliminary documentation and subject to change.]

Base class for collections that needs to be globally referencable.

Parameters

@@ -50,7 +51,7 @@

Requirements

- Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.EmbeddedResourceCollection.html b/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.EmbeddedResourceCollection.html index 6cba8a76..2b723cd0 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.EmbeddedResourceCollection.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.EmbeddedResourceCollection.html @@ -19,11 +19,12 @@ -> Element Reference -> EmbeddedResourceCollection - - v0.85 + + v0.91-alpha2

EmbeddedResourceCollection

-

Contains a collection of EmbeddedResource items.

Do not yet expose this to build authors.

Parameters

AttributeTypeDescriptionRequired
idstring The ID used to be referenced later. False
refidstring The ID to use as the reference. False

Requirements

Assembly: NAnt.DotNetTasks (0.85.2478.0) +

[This is preliminary documentation and subject to change.]

+

Contains a collection of EmbeddedResource items.

Do not yet expose this to build authors.

Parameters

AttributeTypeDescriptionRequired
idstring The ID used to be referenced later. False
refidstring The ID to use as the reference. False

Requirements

Assembly: NAnt.DotNetTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.LibDirectorySet.html b/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.LibDirectorySet.html index 25741f9f..27c84f91 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.LibDirectorySet.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.LibDirectorySet.html @@ -19,39 +19,44 @@ -> Element Reference -> LibDirectorySet - - v0.85 + + v0.91-alpha2

LibDirectorySet

-

A specialized <fileset> used for setting the lib directories.

The primary reason for this class is to allow the BaseDirectory to always be the same value as the parent <assemblyfileset>

Parameters

AttributeTypeDescriptionRequired
defaultexcludesbool Indicates whether default excludes should be used or not. The default is true. False
failonemptybool When set to true, causes the fileset element to throw a ValidationException when no files match the includes and excludes criteria. The default is false. False
idstring The ID used to be referenced later. False
refidstring The ID to use as the reference. False

Nested Elements:

- <includes> -

Deprecated. The items to include in the fileset.

Parameters

AttributeTypeDescriptionRequired
namestring The pattern or file name to include. True
asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
frompathbool If true then the file will be searched for on the path. The default is false. False
ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

- </includes> -

- <include> -

The items to include in the fileset.

Parameters

AttributeTypeDescriptionRequired
namestring The pattern or file name to include. True
asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
frompathbool If true then the file will be searched for on the path. The default is false. False
ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

- </include> -

- <excludes> -

Deprecated. The items to exclude from the fileset.

Parameters

AttributeTypeDescriptionRequired
namestring The pattern or file name to exclude. True
ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

- </excludes> -

- <exclude> -

The items to exclude from the fileset.

Parameters

AttributeTypeDescriptionRequired
namestring The pattern or file name to exclude. True
ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

- </exclude> -

- <includesList> -

Deprecated. The files from which a list of patterns or files to include should be obtained.

Parameters

AttributeTypeDescriptionRequired
asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
namefile The name of a file; each line of this file is taken to be a pattern. True

- </includesList> -

- <includesfile> -

The files from which a list of patterns or files to include should be obtained.

Parameters

AttributeTypeDescriptionRequired
asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
namefile The name of a file; each line of this file is taken to be a pattern. True

- </includesfile> -

- <excludesfile> -

The files from which a list of patterns or files to exclude should be obtained.

Parameters

AttributeTypeDescriptionRequired
namefile The name of a file; each line of this file is taken to be a pattern. True
ifbool If true then the patterns will be excluded; otherwise, skipped. The default is true. False
unlessbool Opposite of if. If false then the patterns will be excluded; otherwise, skipped. The default is false. False

- </excludesfile> -

Requirements

Assembly: NAnt.DotNetTasks (0.85.2478.0) +

[This is preliminary documentation and subject to change.]

+

A specialized <fileset> used for setting the lib directories.

The primary reason for this class is to allow the BaseDirectory to always be the same value as the parent <assemblyfileset>

Parameters

AttributeTypeDescriptionRequired
casesensitivebool Indicates whether include and exclude patterns must be treated in a case-sensitive way. The default is true on Unix; otherwise, false. False
defaultexcludesbool Indicates whether default excludes should be used or not. The default is true. False
failonemptybool When set to true, causes the fileset element to throw a ValidationException when no files match the includes and excludes criteria. The default is false. False
idstring The ID used to be referenced later. False
refidstring The ID to use as the reference. False

Nested Elements:

+ <includes> +

Deprecated. The items to include in the fileset.

Parameters

AttributeTypeDescriptionRequired
namestring The pattern or file name to include. True
asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
frompathbool If true then the file will be searched for on the path. The default is false. False
ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

+ </includes> +

+ <include> +

The items to include in the fileset.

Parameters

AttributeTypeDescriptionRequired
namestring The pattern or file name to include. True
asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
frompathbool If true then the file will be searched for on the path. The default is false. False
ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

+ </include> +

+ <excludes> +

Deprecated. The items to exclude from the fileset.

Parameters

AttributeTypeDescriptionRequired
namestring The pattern or file name to exclude. True
ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

+ </excludes> +

+ <exclude> +

The items to exclude from the fileset.

Parameters

AttributeTypeDescriptionRequired
namestring The pattern or file name to exclude. True
ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

+ </exclude> +

+ <includesList> +

Deprecated. The files from which a list of patterns or files to include should be obtained.

Parameters

AttributeTypeDescriptionRequired
asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
namefile The name of a file; each line of this file is taken to be a pattern. True

+ </includesList> +

+ <includesfile> +

The files from which a list of patterns or files to include should be obtained.

Parameters

AttributeTypeDescriptionRequired
asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
namefile The name of a file; each line of this file is taken to be a pattern. True

+ </includesfile> +

+ <excludesfile> +

The files from which a list of patterns or files to exclude should be obtained.

Parameters

AttributeTypeDescriptionRequired
namefile The name of a file; each line of this file is taken to be a pattern. True
ifbool If true then the patterns will be excluded; otherwise, skipped. The default is true. False
unlessbool Opposite of if. If false then the patterns will be excluded; otherwise, skipped. The default is false. False

+ </excludesfile> +

+ <patternset> +

Adds a nested set of patterns, or references a standalone patternset.

+ </patternset> +

Requirements

Assembly: NAnt.DotNetTasks (0.91.3881.0)

See Also

<fileset> \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.NamespaceImport.html b/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.NamespaceImport.html index 7d7f6f40..b94e8d0e 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.NamespaceImport.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.NamespaceImport.html @@ -19,11 +19,12 @@ -> Element Reference -> <import> - - v0.85 + + v0.91-alpha2

<import>

+

[This is preliminary documentation and subject to change.]

Represents a namespace to import.

Parameters

@@ -63,7 +64,7 @@

Requirements

- Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.Package.html b/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.Package.html index 0212a53d..1b6c228a 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.Package.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.DotNet.Types.Package.html @@ -19,11 +19,12 @@ -> Element Reference -> Package - - v0.85 + + v0.91-alpha2

Package

+

[This is preliminary documentation and subject to change.]

Represents a package.

Parameters

@@ -56,7 +57,7 @@

Requirements

- Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.NUnit.Types.FormatterElement.html b/build-support/tools/nant/doc/help/elements/NAnt.NUnit.Types.FormatterElement.html index 6496cc53..19ac2d20 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.NUnit.Types.FormatterElement.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.NUnit.Types.FormatterElement.html @@ -19,11 +19,12 @@ -> Element Reference -> <formatter> - - v0.85 + + v0.91-alpha2

<formatter>

+

[This is preliminary documentation and subject to change.]

Represents the FormatterElement of the NUnit task.

Parameters

@@ -64,7 +65,7 @@

Requirements

- Assembly: NAnt.NUnit (0.85.2478.0) + Assembly: NAnt.NUnit (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.NUnit1.Types.NUnitTest.html b/build-support/tools/nant/doc/help/elements/NAnt.NUnit1.Types.NUnitTest.html index 3ad5700c..ca1929c4 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.NUnit1.Types.NUnitTest.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.NUnit1.Types.NUnitTest.html @@ -19,11 +19,12 @@ -> Element Reference -> <test> - - v0.85 + + v0.91-alpha2

<test>

+

[This is preliminary documentation and subject to change.]

Represents a test element of an <nunit> task.

Parameters

@@ -86,7 +87,7 @@

Requirements

- Assembly: NAnt.NUnit1Tasks (0.85.2478.0) + Assembly: NAnt.NUnit1Tasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.NUnit2.Types.Category.html b/build-support/tools/nant/doc/help/elements/NAnt.NUnit2.Types.Category.html index 31b12587..cb61019d 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.NUnit2.Types.Category.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.NUnit2.Types.Category.html @@ -19,11 +19,12 @@ -> Element Reference -> Category - - v0.85 + + v0.91-alpha2

Category

+

[This is preliminary documentation and subject to change.]

Represents a certain group of test cases or fixtures.

Parameters

@@ -56,7 +57,7 @@

Requirements

- Assembly: NAnt.NUnit2Tasks (0.85.2478.0) + Assembly: NAnt.NUnit2Tasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.NUnit2.Types.NUnit2Test.html b/build-support/tools/nant/doc/help/elements/NAnt.NUnit2.Types.NUnit2Test.html index f74db1ec..8bc27315 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.NUnit2.Types.NUnit2Test.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.NUnit2.Types.NUnit2Test.html @@ -19,11 +19,12 @@ -> Element Reference -> <test> - - v0.85 + + v0.91-alpha2

<test>

+

[This is preliminary documentation and subject to change.]

Represents a test element of an <nunit2> task.

Parameters

@@ -70,30 +71,42 @@

- - <assemblies> + + <assemblies>

Assemblies to include in test.

- - </assemblies> + + </assemblies> +

+ +

+ + + <references> +

+
Assemblies to scan for missing assembly references.

+

+ + + </references>

- - <categories> + + <categories>

Categories of test cases to include or exclude.

- - </categories> + + </categories>

Requirements

- Assembly: NAnt.NUnit2Tasks (0.85.2478.0) + Assembly: NAnt.NUnit2Tasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.SourceControl.Tasks.AbstractCvsTask.html b/build-support/tools/nant/doc/help/elements/NAnt.SourceControl.Tasks.AbstractCvsTask.html index 02705cc0..2cff8525 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.SourceControl.Tasks.AbstractCvsTask.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.SourceControl.Tasks.AbstractCvsTask.html @@ -19,11 +19,12 @@ -> Element Reference -> AbstractCvsTask - - v0.85 + + v0.91-alpha2

AbstractCvsTask

+

[This is preliminary documentation and subject to change.]

A base class for creating tasks for executing CVS client commands on a CVS repository.

Parameters

@@ -178,10 +179,19 @@ Description Required + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -190,26 +200,26 @@

- - <fileset> + + <fileset>

Used to specify the version control system (VCS) files that are going to be acted on.

- - </fileset> + + </fileset>

- - <arg> + + <arg>

-
The command-line arguments for the external program.

Represents a command-line argument.

Parameters

AttributeTypeDescriptionRequired
dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
linestring List of command-line arguments; will be passed to the executable as is. False
path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
valuestring A single command-line argument; can contain space characters. False

Nested Elements:

- <path> -

Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

- </path> +
The command-line arguments for the external program.

Represents a command-line argument.

When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

Parameters

AttributeTypeDescriptionRequired
dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
linestring List of command-line arguments; will be passed to the executable as is. False
path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
valuestring A single command-line argument; can contain space characters. False

Nested Elements:

+ <path> +

Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

+ </path>

Examples

  • A single command-line argument containing a space character.

     <arg value="-l -a" />
         
  • Two separate command-line arguments.

    @@ -219,12 +229,12 @@
         

- - </arg> + + </arg>

Requirements

- Assembly: NAnt.SourceControlTasks (0.85.2478.0) + Assembly: NAnt.SourceControlTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.SourceControl.Tasks.AbstractSourceControlTask.html b/build-support/tools/nant/doc/help/elements/NAnt.SourceControl.Tasks.AbstractSourceControlTask.html index 677127f5..388fc2b5 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.SourceControl.Tasks.AbstractSourceControlTask.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.SourceControl.Tasks.AbstractSourceControlTask.html @@ -19,11 +19,12 @@ -> Element Reference -> AbstractSourceControlTask - - v0.85 + + v0.91-alpha2

AbstractSourceControlTask

+

[This is preliminary documentation and subject to change.]

A base class for creating tasks for executing CVS client commands on a CVS repository.

Parameters

@@ -106,10 +107,19 @@ Description Required + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -118,26 +128,26 @@

- - <fileset> + + <fileset>

Used to specify the version control system (VCS) files that are going to be acted on.

- - </fileset> + + </fileset>

- - <arg> + + <arg>

-
The command-line arguments for the external program.

Represents a command-line argument.

Parameters

AttributeTypeDescriptionRequired
dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
linestring List of command-line arguments; will be passed to the executable as is. False
path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
valuestring A single command-line argument; can contain space characters. False

Nested Elements:

- <path> -

Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

- </path> +
The command-line arguments for the external program.

Represents a command-line argument.

When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

Parameters

AttributeTypeDescriptionRequired
dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
linestring List of command-line arguments; will be passed to the executable as is. False
path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
valuestring A single command-line argument; can contain space characters. False

Nested Elements:

+ <path> +

Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

+ </path>

Examples

  • A single command-line argument containing a space character.

     <arg value="-l -a" />
         
  • Two separate command-line arguments.

    @@ -147,12 +157,12 @@
         

- - </arg> + + </arg>

Requirements

- Assembly: NAnt.SourceControlTasks (0.85.2478.0) + Assembly: NAnt.SourceControlTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.VSNet.Types.WebMap.html b/build-support/tools/nant/doc/help/elements/NAnt.VSNet.Types.WebMap.html index a32e9f61..ffc7068e 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.VSNet.Types.WebMap.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.VSNet.Types.WebMap.html @@ -19,11 +19,12 @@ -> Element Reference -> WebMap - - v0.85 + + v0.91-alpha2

WebMap

+

[This is preliminary documentation and subject to change.]

Represents a single mapping from URL project path to physical project path.

Parameters

@@ -68,7 +69,7 @@

Requirements

- Assembly: NAnt.VSNetTasks (0.85.2478.0) + Assembly: NAnt.VSNetTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.VisualCpp.Types.Library.html b/build-support/tools/nant/doc/help/elements/NAnt.VisualCpp.Types.Library.html index 7dd2bfb3..c765578c 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.VisualCpp.Types.Library.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.VisualCpp.Types.Library.html @@ -19,11 +19,12 @@ -> Element Reference -> Library - - v0.85 + + v0.91-alpha2

Library

+

[This is preliminary documentation and subject to change.]

Represents a library.

Parameters

@@ -56,7 +57,7 @@

Requirements

- Assembly: NAnt.VisualCppTasks (0.85.2478.0) + Assembly: NAnt.VisualCppTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/elements/NAnt.VisualCpp.Types.Symbol.html b/build-support/tools/nant/doc/help/elements/NAnt.VisualCpp.Types.Symbol.html index 84f4da29..42b874eb 100644 --- a/build-support/tools/nant/doc/help/elements/NAnt.VisualCpp.Types.Symbol.html +++ b/build-support/tools/nant/doc/help/elements/NAnt.VisualCpp.Types.Symbol.html @@ -19,11 +19,12 @@ -> Element Reference -> Symbol - - v0.85 + + v0.91-alpha2

Symbol

+

[This is preliminary documentation and subject to change.]

Represents a symbol.

Parameters

@@ -56,7 +57,7 @@

Requirements

- Assembly: NAnt.VisualCppTasks (0.85.2478.0) + Assembly: NAnt.VisualCppTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/enums/NAnt.Compression.Types.DuplicateHandling.html b/build-support/tools/nant/doc/help/enums/NAnt.Compression.Types.DuplicateHandling.html index dddef0ee..7b95acec 100644 --- a/build-support/tools/nant/doc/help/enums/NAnt.Compression.Types.DuplicateHandling.html +++ b/build-support/tools/nant/doc/help/enums/NAnt.Compression.Types.DuplicateHandling.html @@ -19,11 +19,12 @@ -> Enum Reference -> DuplicateHandling - - v0.85 + + v0.91-alpha2

DuplicateHandling

+

[This is preliminary documentation and subject to change.]

Specifies how entries with the same name should be processed.

Fields

@@ -48,7 +49,7 @@

Requirements

- Assembly: NAnt.CompressionTasks (0.85.2478.0) + Assembly: NAnt.CompressionTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/enums/NAnt.Core.Level.html b/build-support/tools/nant/doc/help/enums/NAnt.Core.Level.html index 91f86d39..8b0d6073 100644 --- a/build-support/tools/nant/doc/help/enums/NAnt.Core.Level.html +++ b/build-support/tools/nant/doc/help/enums/NAnt.Core.Level.html @@ -19,11 +19,12 @@ -> Enum Reference -> Level - - v0.85 + + v0.91-alpha2

Level

+

[This is preliminary documentation and subject to change.]

Defines the set of levels recognised by the NAnt logging system.

Fields

@@ -60,7 +61,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/enums/NAnt.Core.Tasks.AvailableTask.ResourceType.html b/build-support/tools/nant/doc/help/enums/NAnt.Core.Tasks.AvailableTask.ResourceType.html index db8a5dea..06c0ed3a 100644 --- a/build-support/tools/nant/doc/help/enums/NAnt.Core.Tasks.AvailableTask.ResourceType.html +++ b/build-support/tools/nant/doc/help/enums/NAnt.Core.Tasks.AvailableTask.ResourceType.html @@ -19,11 +19,12 @@ -> Enum Reference -> AvailableTask.ResourceType - - v0.85 + + v0.91-alpha2

AvailableTask.ResourceType

+

[This is preliminary documentation and subject to change.]

Defines the possible resource checks.

Fields

@@ -52,7 +53,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/enums/NAnt.Core.Tasks.LoopTask.LoopItem.html b/build-support/tools/nant/doc/help/enums/NAnt.Core.Tasks.LoopTask.LoopItem.html index 48f4d3c0..c5800d4a 100644 --- a/build-support/tools/nant/doc/help/enums/NAnt.Core.Tasks.LoopTask.LoopItem.html +++ b/build-support/tools/nant/doc/help/enums/NAnt.Core.Tasks.LoopTask.LoopItem.html @@ -19,11 +19,12 @@ -> Enum Reference -> LoopTask.LoopItem - - v0.85 + + v0.91-alpha2

LoopTask.LoopItem

+

[This is preliminary documentation and subject to change.]

Fields

@@ -57,7 +58,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/enums/NAnt.Core.Tasks.LoopTask.LoopTrim.html b/build-support/tools/nant/doc/help/enums/NAnt.Core.Tasks.LoopTask.LoopTrim.html index 4d856a1f..fd885a35 100644 --- a/build-support/tools/nant/doc/help/enums/NAnt.Core.Tasks.LoopTask.LoopTrim.html +++ b/build-support/tools/nant/doc/help/enums/NAnt.Core.Tasks.LoopTask.LoopTrim.html @@ -19,11 +19,12 @@ -> Enum Reference -> LoopTask.LoopTrim - - v0.85 + + v0.91-alpha2

LoopTask.LoopTrim

+

[This is preliminary documentation and subject to change.]

Fields

@@ -53,7 +54,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/enums/NAnt.DotNet.Tasks.AssemblyInfoTask.CodeLanguage.html b/build-support/tools/nant/doc/help/enums/NAnt.DotNet.Tasks.AssemblyInfoTask.CodeLanguage.html index 064f4a6c..0b2a7ac2 100644 --- a/build-support/tools/nant/doc/help/enums/NAnt.DotNet.Tasks.AssemblyInfoTask.CodeLanguage.html +++ b/build-support/tools/nant/doc/help/enums/NAnt.DotNet.Tasks.AssemblyInfoTask.CodeLanguage.html @@ -19,11 +19,12 @@ -> Enum Reference -> AssemblyInfoTask.CodeLanguage - - v0.85 + + v0.91-alpha2

AssemblyInfoTask.CodeLanguage

+

[This is preliminary documentation and subject to change.]

Defines the supported code languages for generating an AssemblyInfo file.

Fields

@@ -48,7 +49,7 @@

Requirements

- Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/enums/NAnt.DotNet.Tasks.RegsvcsTask.ActionType.html b/build-support/tools/nant/doc/help/enums/NAnt.DotNet.Tasks.RegsvcsTask.ActionType.html index b8924a88..234d5fc5 100644 --- a/build-support/tools/nant/doc/help/enums/NAnt.DotNet.Tasks.RegsvcsTask.ActionType.html +++ b/build-support/tools/nant/doc/help/enums/NAnt.DotNet.Tasks.RegsvcsTask.ActionType.html @@ -19,11 +19,12 @@ -> Enum Reference -> RegsvcsTask.ActionType - - v0.85 + + v0.91-alpha2

RegsvcsTask.ActionType

+

[This is preliminary documentation and subject to change.]

Defines the possible actions for a .NET Service.

Fields

@@ -48,7 +49,7 @@

Requirements

- Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/enums/NAnt.DotNet.Types.DebugOutput.html b/build-support/tools/nant/doc/help/enums/NAnt.DotNet.Types.DebugOutput.html index 05673c42..3e067c87 100644 --- a/build-support/tools/nant/doc/help/enums/NAnt.DotNet.Types.DebugOutput.html +++ b/build-support/tools/nant/doc/help/enums/NAnt.DotNet.Types.DebugOutput.html @@ -19,11 +19,12 @@ -> Enum Reference -> DebugOutput - - v0.85 + + v0.91-alpha2

DebugOutput

+

[This is preliminary documentation and subject to change.]

Specifies the type of debugging information generated by the compiler.

For backward compatibility, the following string values can also be used in build files:

@@ -78,7 +79,7 @@

Requirements

- Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/enums/NAnt.MSNet.Tasks.ServiceControllerTask.ActionType.html b/build-support/tools/nant/doc/help/enums/NAnt.MSNet.Tasks.ServiceControllerTask.ActionType.html index bb1e76a9..e9f7d41d 100644 --- a/build-support/tools/nant/doc/help/enums/NAnt.MSNet.Tasks.ServiceControllerTask.ActionType.html +++ b/build-support/tools/nant/doc/help/enums/NAnt.MSNet.Tasks.ServiceControllerTask.ActionType.html @@ -19,11 +19,12 @@ -> Enum Reference -> ServiceControllerTask.ActionType - - v0.85 + + v0.91-alpha2

ServiceControllerTask.ActionType

+

[This is preliminary documentation and subject to change.]

Defines the actions that can be performed on a service.

Fields

@@ -56,7 +57,7 @@

Requirements

- Assembly: NAnt.MSNetTasks (0.85.2478.0) + Assembly: NAnt.MSNetTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/enums/NAnt.NUnit.Types.FormatterType.html b/build-support/tools/nant/doc/help/enums/NAnt.NUnit.Types.FormatterType.html index 0ad67614..356f5cc1 100644 --- a/build-support/tools/nant/doc/help/enums/NAnt.NUnit.Types.FormatterType.html +++ b/build-support/tools/nant/doc/help/enums/NAnt.NUnit.Types.FormatterType.html @@ -19,11 +19,12 @@ -> Enum Reference -> FormatterType - - v0.85 + + v0.91-alpha2

FormatterType

+

[This is preliminary documentation and subject to change.]

The built-in formatter types.

Fields

@@ -44,7 +45,7 @@

Requirements

- Assembly: NAnt.NUnit (0.85.2478.0) + Assembly: NAnt.NUnit (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/enums/NAnt.VisualCpp.Tasks.ClTask.PrecompiledHeaderMode.html b/build-support/tools/nant/doc/help/enums/NAnt.VisualCpp.Tasks.ClTask.PrecompiledHeaderMode.html index 3b03bad1..ec1f9f16 100644 --- a/build-support/tools/nant/doc/help/enums/NAnt.VisualCpp.Tasks.ClTask.PrecompiledHeaderMode.html +++ b/build-support/tools/nant/doc/help/enums/NAnt.VisualCpp.Tasks.ClTask.PrecompiledHeaderMode.html @@ -19,11 +19,12 @@ -> Enum Reference -> ClTask.PrecompiledHeaderMode - - v0.85 + + v0.91-alpha2

ClTask.PrecompiledHeaderMode

+

[This is preliminary documentation and subject to change.]

Defines the supported modes for the use of precompiled header files.

Fields

@@ -48,7 +49,7 @@

Requirements

- Assembly: NAnt.VisualCppTasks (0.85.2478.0) + Assembly: NAnt.VisualCppTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/enums/NAnt.VisualCpp.Types.CharacterSet.html b/build-support/tools/nant/doc/help/enums/NAnt.VisualCpp.Types.CharacterSet.html index dd69c40b..687d69c6 100644 --- a/build-support/tools/nant/doc/help/enums/NAnt.VisualCpp.Types.CharacterSet.html +++ b/build-support/tools/nant/doc/help/enums/NAnt.VisualCpp.Types.CharacterSet.html @@ -19,11 +19,12 @@ -> Enum Reference -> CharacterSet - - v0.85 + + v0.91-alpha2

CharacterSet

+

[This is preliminary documentation and subject to change.]

Defines the character sets that can be used by the C++ compiler.

Fields

@@ -48,7 +49,7 @@

Requirements

- Assembly: NAnt.VisualCppTasks (0.85.2478.0) + Assembly: NAnt.VisualCppTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/filters/expandproperties.html b/build-support/tools/nant/doc/help/filters/expandproperties.html index 3782b25b..4633de6a 100644 --- a/build-support/tools/nant/doc/help/filters/expandproperties.html +++ b/build-support/tools/nant/doc/help/filters/expandproperties.html @@ -19,15 +19,16 @@ -> Filter Reference -> <expandproperties> - - v0.85 + + v0.91-alpha2

<expandproperties>

+

[This is preliminary documentation and subject to change.]

Parses NAnt properties and expressions

This filter parses any NAnt properties or expressions found in its input, inlining their values in its output.

Note: Due to limitations on buffering, expressions longer than 2048 characters are not guaranteed to be expanded.

Filters are intended to be used as a element of a <filterchain>.

Parameters

AttributeTypeDescriptionRequired
ifbool If true then the filter will be used; otherwise, skipped. The default is true. False
unlessbool Opposite of if. If false then the filter will be executed; otherwise, skipped. The default is false. False

Examples

  • Replace all properties with their corresponding values.

     <expandproperties />
    -    

Requirements

Assembly: NAnt.Core (0.85.2478.0) +

Requirements

Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/filters/index.html b/build-support/tools/nant/doc/help/filters/index.html index 7b1dd183..f9b2c01f 100644 --- a/build-support/tools/nant/doc/help/filters/index.html +++ b/build-support/tools/nant/doc/help/filters/index.html @@ -16,14 +16,15 @@ -> Help - -> - Filter Reference + -> + Filter Reference - - v0.85 + + v0.91-alpha2

Filter Reference

+

[This is preliminary documentation and subject to change.]

diff --git a/build-support/tools/nant/doc/help/filters/replacestring.html b/build-support/tools/nant/doc/help/filters/replacestring.html index 3ef08906..2d958251 100644 --- a/build-support/tools/nant/doc/help/filters/replacestring.html +++ b/build-support/tools/nant/doc/help/filters/replacestring.html @@ -19,11 +19,12 @@ ->Filter Reference-> <replacestring> - +

<replacestring>

+

[This is preliminary documentation and subject to change.]

Replaces all occurrences of a given string in the original input with user-supplied replacement string.

This filter replaces all occurrences of a given string in the original input stream with a user-supplied replacement string. By default string comparisons are case sensitive but this can be changed by setting the optional ignorecase attribute to true.

To use this filter specify the string to be replaced with the from attribute and the string to replace it with using the to attribute.

@@ -86,7 +87,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/filters/replacetokens.html b/build-support/tools/nant/doc/help/filters/replacetokens.html index 615145c4..a290f57e 100644 --- a/build-support/tools/nant/doc/help/filters/replacetokens.html +++ b/build-support/tools/nant/doc/help/filters/replacetokens.html @@ -19,11 +19,12 @@ -> Filter Reference -> <replacetokens> - - v0.85 + + v0.91-alpha2

<replacetokens>

+

[This is preliminary documentation and subject to change.]

Replaces tokens in the original input with user-supplied values.

This filter replaces all token surrounded by a beginning and ending token. The default beginning and ending tokens both default to '@'. The optional begintoken and endtoken attributes can be specified to change either token. By default string comparisons are case sensitive but this can be changed by setting the optional ignorecase attribute to true.

Tokens are specified by using the Token element. It is possible to specify from 1 to n tokens and replacement values. Values can be any valid NAnt expression.

@@ -74,14 +75,14 @@

- - <token> + + <token>

Tokens and replacement values.

ReplaceTokens filter token.

Parameters

AttributeTypeDescriptionRequired
keystring Token to be replaced. True
valuestring New value of token. True
ifbool Indicates if the token should be used to replace values. If true then the token will be used; otherwise, not. The default is true. False
unlessbool Indicates if the token should not be used to replace values. If false then the token will be used; otherwise, not. The default is false. False

- - </token> + + </token>

Examples

    @@ -104,7 +105,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/filters/tabstospaces.html b/build-support/tools/nant/doc/help/filters/tabstospaces.html index ebf1bacb..49abfe31 100644 --- a/build-support/tools/nant/doc/help/filters/tabstospaces.html +++ b/build-support/tools/nant/doc/help/filters/tabstospaces.html @@ -19,11 +19,12 @@ -> Filter Reference -> <tabstospaces> - - v0.85 + + v0.91-alpha2

<tabstospaces>

+

[This is preliminary documentation and subject to change.]

Converts tabs to spaces.

The <tabstospaces> filter replaces tabs in a text file with spaces.

Filters are intended to be used as a element of a <filterchain>.

@@ -67,7 +68,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/functions/index.html b/build-support/tools/nant/doc/help/functions/index.html index c7b96f2c..0085be14 100644 --- a/build-support/tools/nant/doc/help/functions/index.html +++ b/build-support/tools/nant/doc/help/functions/index.html @@ -16,14 +16,15 @@ -> Help - -> - Function Reference + -> + Function Reference - - v0.85 + + v0.91-alpha2

Function Reference

+

[This is preliminary documentation and subject to change.]

Assembly Functions
Conversion Functions @@ -32,6 +33,8 @@
Directory Functions
+ DNS Functions +
Environment Functions
File Functions @@ -65,67 +68,67 @@ - assembly::get-full-name + assembly::get-full-name Gets the full name of the assembly, also known as the display name. - assembly::get-location + assembly::get-location Gets the physical location, in codebase format, of the loaded file that contains the manifest. - assembly::get-name + assembly::get-name Gets an AssemblyName for the specified assembly. - assembly::load + assembly::load Loads an assembly given the long form of its name. - assembly::load-from-file + assembly::load-from-file Loads an assembly given its file name or path. - assemblyname::get-assembly-name + assemblyname::get-assembly-name Gets the AssemblyName for a given file. - assemblyname::get-codebase + assemblyname::get-codebase Gets the location of the assembly as a URL. - assemblyname::get-escaped-codebase + assemblyname::get-escaped-codebase Gets the URI, including escape characters, that represents the codebase. - assemblyname::get-full-name + assemblyname::get-full-name Gets the full name of the assembly, also known as the display name. - assemblyname::get-name + assemblyname::get-name Gets the simple, unencrypted name of the assembly. - assemblyname::get-version + assemblyname::get-version Gets the version of the assembly. @@ -146,19 +149,19 @@ - bool::parse + bool::parse Converts the specified string representation of a logical value to its Boolean equivalent. - bool::to-string + bool::to-string Converts the specified Boolean to its equivalent string representation. - + convert::to-boolean @@ -166,7 +169,7 @@ - + convert::to-datetime @@ -174,7 +177,7 @@ - + convert::to-double @@ -182,7 +185,7 @@ - + convert::to-int @@ -190,7 +193,7 @@ - + convert::to-string @@ -198,73 +201,73 @@ - datetime::parse + datetime::parse Converts the specified string representation of a date and time to its DateTime equivalent. - datetime::to-string + datetime::to-string Converts the specified DateTime to its equivalent string representation. - double::parse + double::parse Converts the specified string representation of a number to its double-precision floating point number equivalent. - double::to-string + double::to-string Converts the specified Double to its equivalent string representation. - int::parse + int::parse Converts the specified string representation of a number to its 32-bit signed integer equivalent. - int::to-string + int::to-string Converts the specified Int32 to its equivalent string representation. - long::parse + long::parse Converts the specified string representation of a number to its 64-bit signed integer equivalent. - long::to-string + long::to-string Converts the specified Int64 to its equivalent string representation. - timespan::parse + timespan::parse Constructs a TimeSpan from a time indicated by a specified string. - timespan::to-string + timespan::to-string Converts the specified TimeSpan to its equivalent string representation. - version::parse + version::parse Converts the specified string representation of a version to its Version equivalent. - version::to-string + version::to-string Converts the specified Version to its equivalent string representation. @@ -285,181 +288,181 @@ - datetime::get-day + datetime::get-day Gets the day of the month represented by the specified date. - datetime::get-day-of-week + datetime::get-day-of-week Gets the day of the week represented by the specified date. - datetime::get-day-of-year + datetime::get-day-of-year Gets the day of the year represented by the specified date. - datetime::get-days-in-month + datetime::get-days-in-month Returns the number of days in the specified month of the specified year. - datetime::get-hour + datetime::get-hour Gets the hour component of the specified date. - datetime::get-millisecond + datetime::get-millisecond Gets the milliseconds component of the specified date. - datetime::get-minute + datetime::get-minute Gets the minute component of the specified date. - datetime::get-month + datetime::get-month Gets the month component of the specified date. - datetime::get-second + datetime::get-second Gets the seconds component of the specified date. - datetime::get-ticks + datetime::get-ticks Gets the number of ticks that represent the specified date. - datetime::get-year + datetime::get-year Gets the year component of the specified date. - datetime::is-leap-year + datetime::is-leap-year Returns an indication whether the specified year is a leap year. - datetime::now + datetime::now Gets a DateTime that is the current local date and time on this computer. - timespan::from-days + timespan::from-days Returns a TimeSpan that represents a specified number of days, where the specification is accurate to the nearest millisecond. - timespan::from-hours + timespan::from-hours Returns a TimeSpan that represents a specified number of hours, where the specification is accurate to the nearest millisecond. - timespan::from-milliseconds + timespan::from-milliseconds Returns a TimeSpan that represents a specified number of milliseconds. - timespan::from-minutes + timespan::from-minutes Returns a TimeSpan that represents a specified number of minutes, where the specification is accurate to the nearest millisecond. - timespan::from-seconds + timespan::from-seconds Returns a TimeSpan that represents a specified number of seconds, where the specification is accurate to the nearest millisecond. - timespan::from-ticks + timespan::from-ticks Returns a TimeSpan that represents a specified time, where the specification is in units of ticks. - timespan::get-days + timespan::get-days Returns the number of whole days represented by the specified TimeSpan. - timespan::get-hours + timespan::get-hours Returns the number of whole hours represented by the specified TimeSpan. - timespan::get-milliseconds + timespan::get-milliseconds Returns the number of whole milliseconds represented by the specified TimeSpan. - timespan::get-minutes + timespan::get-minutes Returns the number of whole minutes represented by the specified TimeSpan. - timespan::get-seconds + timespan::get-seconds Returns the number of whole seconds represented by the specified TimeSpan. - timespan::get-ticks + timespan::get-ticks Returns the number of ticks contained in the specified TimeSpan. - timespan::get-total-days + timespan::get-total-days Returns the total number of days represented by the specified TimeSpan, expressed in whole and fractional days. - timespan::get-total-hours + timespan::get-total-hours Returns the total number of hours represented by the specified TimeSpan, expressed in whole and fractional hours. - timespan::get-total-milliseconds + timespan::get-total-milliseconds Returns the total number of milliseconds represented by the specified TimeSpan, expressed in whole and fractional milliseconds. - timespan::get-total-minutes + timespan::get-total-minutes Returns the total number of minutes represented by the specified TimeSpan, expressed in whole and fractional minutes. - timespan::get-total-seconds + timespan::get-total-seconds Returns the total number of seconds represented by the specified TimeSpan, expressed in whole and fractional seconds. @@ -480,48 +483,69 @@ - directory::exists + directory::exists Determines whether the given path refers to an existing directory on disk. - directory::get-creation-time + directory::get-creation-time Returns the creation date and time of the specified directory. - directory::get-current-directory + directory::get-current-directory Gets the current working directory. - directory::get-directory-root + directory::get-directory-root Returns the volume information, root information, or both for the specified path. - directory::get-last-access-time + directory::get-last-access-time Returns the date and time the specified directory was last accessed. - directory::get-last-write-time + directory::get-last-write-time Returns the date and time the specified directory was last written to. - directory::get-parent-directory + directory::get-parent-directory Retrieves the parent directory of the specified path.
+ + +

DNS Functions

+
+ + + + + + + + + + + + + +
NameSummary
+ dns::get-host-name + Gets the host name of the local computer.
+

Environment Functions

@@ -537,43 +561,49 @@ - environment::get-folder-path + environment::get-folder-path Gets the path to the system special folder identified by the specified enumeration. - environment::get-machine-name + environment::get-machine-name Gets the NetBIOS name of this local computer. - environment::get-operating-system + environment::get-operating-system Gets an OperatingSystem object that represents the current operating system. - environment::get-user-name + environment::get-user-name Gets the user name of the person who started the current thread. - environment::get-variable + environment::get-variable Returns the value of the specified environment variable. - environment::get-version + environment::get-version Gets a Version object that describes the major, minor, build, and revision numbers of the Common Language Runtime. - environment::variable-exists + environment::newline + + Gets the newline string defined for this environment. + + + + environment::variable-exists Gets a value indicating whether the specified environment variable exists. @@ -594,43 +624,43 @@ - file::exists + file::exists Determines whether the specified file exists. - file::get-creation-time + file::get-creation-time Returns the creation date and time of the specified file. - file::get-last-access-time + file::get-last-access-time Returns the date and time the specified file was last accessed. - file::get-last-write-time + file::get-last-write-time Returns the date and time the specified file was last written to. - file::get-length + file::get-length Gets the length of the file. - file::is-assembly + file::is-assembly Checks if a given file is an assembly. - file::up-to-date + file::up-to-date Determines whether targetFile is more or equal up-to-date than srcFile. @@ -651,25 +681,25 @@ - math::abs + math::abs Returns the absolute value of the specified number - math::ceiling + math::ceiling Returns the smallest whole number greater than or equal to the specified number - math::floor + math::floor Returns the largest whole number less than or equal to the specified number. - math::round + math::round Rounds the value to the nearest whole number @@ -690,187 +720,225 @@ - framework::exists + framework::exists - Checks whether the specified framework exists. + Checks whether the specified framework exists, and is valid. - framework::get-assembly-directory + framework::get-assembly-directory Gets the assembly directory of the specified framework. - framework::get-clr-version + framework::get-clr-version + + Gets the Common Language Runtime version of the current target framework. + + + + framework::get-clr-version Gets the Common Language Runtime version of the specified framework. - framework::get-description + framework::get-description + + Gets the description of the current target framework. + + + + framework::get-description Gets the description of the specified framework. - framework::get-family + framework::get-family Gets the family of the specified framework. - framework::get-framework-directory + framework::get-framework-directory Gets the framework directory of the specified framework. - framework::get-runtime-engine + framework::get-frameworks + + Gets a comma-separated list of frameworks filtered by the specified FrameworkTypes. + + + + framework::get-runtime-engine Gets the runtime engine of the specified framework. - framework::get-runtime-framework + framework::get-runtime-framework Gets the identifier of the runtime framework. - framework::get-sdk-directory + framework::get-sdk-directory Gets the SDK directory of the specified framework. - framework::get-target-framework + framework::get-target-framework Gets the identifier of the current target framework. - framework::get-version + framework::get-tool-path + + Gets the absolute path of the specified tool for the current target framework. + + + + framework::get-version + + Gets the version of the current target framework. + + + + framework::get-version Gets the version of the specified framework. - framework::sdk-exists + framework::sdk-exists Checks whether the SDK for the specified framework is installed. - nant::get-assembly + nant::get-assembly Gets the NAnt assembly. - nant::get-base-directory + nant::get-base-directory Gets the base directory of the appdomain in which NAnt is running. - platform::get-name + platform::get-name Gets the name of the platform on which NAnt is running. - platform::is-unix + platform::is-unix - Checks whether NAnt is running on unix. + Checks whether NAnt is running on Unix. - platform::is-win32 + + platform::is-win32 + - Checks whether NAnt is running on the win32 platform. + Checks whether NAnt is running on Windows (and not just 32-bit Windows as the name may lead you to believe). - project::get-base-directory + platform::is-windows + + Checks whether NAnt is running on Windows. + + + + project::get-base-directory Gets the base directory of the current project. - project::get-buildfile-path + project::get-buildfile-path Gets the local path to the build file. - project::get-buildfile-uri + project::get-buildfile-uri Gets the Uri form of the build file. - project::get-default-target + project::get-default-target Gets the name of the target that will be executed when no other build targets are specified. - project::get-name + project::get-name Gets the name of the current project. - property::exists + property::exists Checks whether the specified property exists. - property::get-value + property::get-value Gets the value of the specified property. - property::is-dynamic + property::is-dynamic Checks whether the specified property is a dynamic property. - property::is-readonly + property::is-readonly Checks whether the specified property is read-only. - target::exists + target::exists Checks whether the specified target exists. - target::get-current-target + target::get-current-target Gets the name of the target being executed. - target::has-executed + target::has-executed Checks whether the specified target has already been executed. - task::exists + task::exists Checks whether the specified task exists. - task::get-assembly + task::get-assembly Returns the Assembly from which the specified task was loaded. @@ -891,19 +959,19 @@ - operating-system::get-platform + operating-system::get-platform Gets a PlatformID value that identifies the operating system platform. - operating-system::get-version + operating-system::get-version Gets a Version object that identifies this operating system. - operating-system::to-string + operating-system::to-string Converts the value of the specified operating system to its equivalent String representation. @@ -924,73 +992,73 @@ - path::change-extension + path::change-extension Changes the extension of the path string. - path::combine + path::combine Combines two paths. - path::get-directory-name + path::get-directory-name Returns the directory information for the specified path string. - path::get-extension + path::get-extension Returns the extension for the specified path string. - path::get-file-name + path::get-file-name Returns the filename for the specified path string. - path::get-file-name-without-extension + path::get-file-name-without-extension Returns the filename without extension for the specified path string. - path::get-full-path + path::get-full-path Returns the fully qualified path. - path::get-path-root + path::get-path-root Gets the root directory of the specified path. - path::get-temp-file-name + path::get-temp-file-name Returns a uniquely named zero-byte temporary file on disk and returns the full path to that file. - path::get-temp-path + path::get-temp-path Gets the path to the temporary directory. - path::has-extension + path::has-extension Determines whether a path string includes an extension. - path::is-path-rooted + path::is-path-rooted Determines whether a path string is absolute. @@ -1011,91 +1079,91 @@ - string::contains + string::contains Tests whether the specified string contains the given search string. - string::ends-with + string::ends-with Tests whether the specified string ends with the specified suffix string. - string::get-length + string::get-length Returns the length of the specified string. - string::index-of + string::index-of Returns the position of the first occurrence in the specified string of the given search string. - string::last-index-of + string::last-index-of Returns the position of the last occurrence in the specified string of the given search string. - string::pad-left + string::pad-left Returns the given string left-padded to the given length. - string::pad-right + string::pad-right Returns the given string right-padded to the given length. - string::replace + string::replace Returns a string corresponding to the replacement of a given string with another in the specified string. - string::starts-with + string::starts-with Tests whether the specified string starts with the specified prefix string. - string::substring + string::substring Returns a substring of the specified string. - string::to-lower + string::to-lower Returns the specified string converted to lowercase. - string::to-upper + string::to-upper Returns the specified string converted to uppercase. - string::trim + string::trim Returns the given string trimmed of whitespace. - string::trim-end + string::trim-end Returns the given string trimmed of trailing whitespace. - string::trim-start + string::trim-start Returns the given string trimmed of leading whitespace. @@ -1116,73 +1184,73 @@ - cygpath::get-dos-path + cygpath::get-dos-path Gets the DOS (short) form of the specified path. - cygpath::get-unix-path + cygpath::get-unix-path Gets the Unix form of the specified path. - cygpath::get-windows-path + cygpath::get-windows-path Gets the Windows form of the specified path. - pkg-config::exists + pkg-config::exists Determines whether the given package exists. - pkg-config::get-compile-flags + pkg-config::get-compile-flags Gets the compile flags required to compile the package, including all its dependencies. - pkg-config::get-link-flags + pkg-config::get-link-flags Gets the link flags required to compile the package, including all its dependencies. - pkg-config::get-mod-version + pkg-config::get-mod-version Determines the version of the given package. - pkg-config::get-variable + pkg-config::get-variable Gets the value of a variable for the specified package. - pkg-config::is-atleast-version + pkg-config::is-atleast-version Determines whether the given package is at least version version. - pkg-config::is-between-version + pkg-config::is-between-version Determines whether the given package is between two versions. - pkg-config::is-exact-version + pkg-config::is-exact-version Determines whether the given package is exactly version version. - pkg-config::is-max-version + pkg-config::is-max-version Determines whether the given package is at no newer than version version. @@ -1203,55 +1271,55 @@ - fileversioninfo::get-company-name + fileversioninfo::get-company-name Gets the name of the company that produced the file. - fileversioninfo::get-file-version + fileversioninfo::get-file-version Gets the file version of a file. - fileversioninfo::get-product-name + fileversioninfo::get-product-name Gets the name of the product the file is distributed with. - fileversioninfo::get-product-version + fileversioninfo::get-product-version Gets the product version of a file. - fileversioninfo::get-version-info + fileversioninfo::get-version-info Returns a FileVersionInfo representing the version information associated with the specified file. - version::get-build + version::get-build Gets the value of the build component of a given version. - version::get-major + version::get-major Gets the value of the major component of a given version. - version::get-minor + version::get-minor Gets the value of the minor component of a given version. - version::get-revision + version::get-revision Gets the value of the revision component of a given version. diff --git a/build-support/tools/nant/doc/help/fundamentals/buildfiles.html b/build-support/tools/nant/doc/help/fundamentals/buildfiles.html index a8185bd7..58d7248d 100644 --- a/build-support/tools/nant/doc/help/fundamentals/buildfiles.html +++ b/build-support/tools/nant/doc/help/fundamentals/buildfiles.html @@ -1,81 +1,81 @@ - - - - - - - - NAnt - Build Files - - - - - - - - -

Build Files

- -

NAnt's build files are written in XML. Each build file contains one - project and a number of targets.  - Each target contains a number of tasks.

-

Here is a simple build file that compiles a C# HelloWorld project.  -

-
-    <?xml version="1.0"?>
-    <project name="Hello World" default="build" basedir=".">
-        <description>The Hello World of build files.</description>
-        <property name="debug" value="true" overwrite="false" />
-        <target name="clean" description="remove all generated files">
-            <delete file="HelloWorld.exe" failonerror="false" />
-            <delete file="HelloWorld.pdb" failonerror="false" />
-        </target>
-        <target name="build" description="compiles the source code">
-            <csc target="exe" output="HelloWorld.exe" debug="${debug}">
-                <sources>
-                    <includes name="HelloWorld.cs" />
-                </sources>
-            </csc>
-        </target>
-    </project>
-        
-

In this example there are two targets, "clean" and "build".  By default the - "build" target will be called. -

-

Examples

-

You can find the files you need to try out these examples in the examples - folder that comes with the NAnt distribution. -

-
-
nant
-
-
-

Runs NAnt and builds the project in debug mode (the default).

-
-
nant clean
-
-
-

Runs NAnt and removes the compiled files if they exist.

-
-
nant -D:debug=false
-
-
-

Runs NAnt and builds the project in non-debug mode.  Even though the build - file sets the debug property to true, the value that is set on the command line - will not be touched, as the "overwrite" attribute on the - <property> - task is set to "false".

-

Important: Some tasks like the compiler tasks will only execute - if the date stamp of the generated file is older than the source files.  - If you compile HelloWorld project in debug mode and then try to compile it - again in non-debug mode without first cleaning nothing will happen because NAnt - will think the project does not need rebuilding.

- - + + + + + + + + NAnt - Build Files + + + + + + + + +

Build Files

+

[This is preliminary documentation and subject to change.]

+

NAnt's build files are written in XML. Each build file contains one + project and a number of targets.  + Each target contains a number of tasks.

+

Here is a simple build file that compiles a C# HelloWorld project.  +

+
+    <?xml version="1.0"?>
+    <project name="Hello World" default="build" basedir=".">
+        <description>The Hello World of build files.</description>
+        <property name="debug" value="true" overwrite="false" />
+        <target name="clean" description="remove all generated files">
+            <delete file="HelloWorld.exe" failonerror="false" />
+            <delete file="HelloWorld.pdb" failonerror="false" />
+        </target>
+        <target name="build" description="compiles the source code">
+            <csc target="exe" output="HelloWorld.exe" debug="${debug}">
+                <sources>
+                    <includes name="HelloWorld.cs" />
+                </sources>
+            </csc>
+        </target>
+    </project>
+        
+

In this example there are two targets, "clean" and "build".  By default the + "build" target will be called. +

+

Examples

+

You can find the files you need to try out these examples in the examples + folder that comes with the NAnt distribution. +

+
+
nant
+
+
+

Runs NAnt and builds the project in debug mode (the default).

+
+
nant clean
+
+
+

Runs NAnt and removes the compiled files if they exist.

+
+
nant -D:debug=false
+
+
+

Runs NAnt and builds the project in non-debug mode.  Even though the build + file sets the debug property to true, the value that is set on the command line + will not be touched, as the "overwrite" attribute on the + <property> + task is set to "false".

+

Important: Some tasks like the compiler tasks will only execute + if the date stamp of the generated file is older than the source files.  + If you compile HelloWorld project in debug mode and then try to compile it + again in non-debug mode without first cleaning nothing will happen because NAnt + will think the project does not need rebuilding.

+ + diff --git a/build-support/tools/nant/doc/help/fundamentals/expressions.html b/build-support/tools/nant/doc/help/fundamentals/expressions.html index f89a3f2b..c639f790 100644 --- a/build-support/tools/nant/doc/help/fundamentals/expressions.html +++ b/build-support/tools/nant/doc/help/fundamentals/expressions.html @@ -1,1898 +1,2127 @@ - - - - - - - - NAnt - Expressions - - - - - - - - -

Expressions

- -

Contents

-
- 1 Introduction
- 2 Expression syntax
- 3 Data types
- 4 Operators -
- 4.1 Operator precedence
- 4.2 Operators on Numeric Values -
- 4.2.1 Add
- 4.2.2 Subtract
- 4.2.3 Multiply
- 4.2.4 Divide
- 4.2.5 Mod
- 4.2.6 Equal
- 4.2.7 Inequal
- 4.2.8 Greater than
- 4.2.9 Greater than or equal
- 4.2.10 Less than
- 4.2.11 Less than or equal
- 4.2.12 Unary plus
- 4.2.13 Unary minus -
-
-
- 4.3 Operators on Boolean Values -
- 4.3.1 Equal
- 4.3.2 Inequal
- 4.3.3 Greater than
- 4.3.4 Greater than or equal
- 4.3.5 Less than
- 4.3.6 Less than or equal
- 4.3.7 Logical and
- 4.3.8 Logical or
-
-
-
- 4.4 Operators on String Values -
- 4.4.1 Concat
- 4.4.2 Equal
- 4.4.3 Inequal
- 4.4.4 Greater than
- 4.4.5 Greater than or equal
- 4.4.6 Less than
- 4.4.7 Less than or equal
-
-
-
- 4.5 Operators on TimeSpan and DateTime Values -
- 4.5.1 Add
- 4.5.2 Subtract
- 4.5.3 Equal
- 4.5.4 Inequal
- 4.5.5 Greater than
- 4.5.6 Greater than or equal
- 4.5.7 Less than
- 4.5.8 Less than or equal
-
-
-
-

1 Introduction

-

Expressions are simple, yet powerful mechanism that allows you to write advanced - formulas to be used in task arguments and conditions that direct the build - process. Expressions can access project properties - and call builtin or user-defined functions.

-

- NAnt provides a rich set of bulitin functions, that allow you to:

-
    -
  • - manipulate strings
  • -
  • - manipulate date/time values
  • -
  • - manipulate path names
  • -
  • - read the properties of files/directories
  • -
  • - access current build information and more
  • -
  • - and more
  • -
-

For a full list of supported functions, click here.

-

2 Expression Syntax

-

Expressions can be used in all task arguments, by using ${...} notation. - You may use standard syntax for arithmetical (addition, subtraction, - multiplication, division, modulus), logical (negation, conjunction, - alternative) and relational operators (equality, inequality). To call - functions, use prefix::function-name(argument1, ..., argumentN) syntax. - To access properties, you simply use their names without any prefix or suffix. - See the examples section below for more information.

-

NOTE: Expressions are often used in XML attributes. The grammar specified in this - section applies to the attribute value after XML 1.0 normalization. So, for - example, if the grammar uses the character <, this must not - appear in the XML source as < but must be quoted according to - XML 1.0 rules by, for example, entering it as &lt;. -

-

Examples:

-
    -
  1. - Accessing a property: -

    - <property name="build.version" value="3" />
    - <echo message="The current date is: - ${build.version}" /> -

    -

    This will output the current value of build.version property.

    -
  2. -
  3. - Calling a function -

    - <echo message="The current date is: - ${datetime::now()}" - /> -

    -

    This will output the current date and time.

    -
  4. -
  5. - Storing the result of an expression -

    To store the result of an expression in a property, use the <property> - task:

    -

    - <property name="autoexec-present" value="${file::exists('c:\autoexec.bat')}" - /> -

    -

    This will set the property autoexec-present to either true - or false depending on whether the specified file exists or not.

    -
  6. -
  7. - Real-life expression use -

    - <property name="myprj.basedir" value="c:\" />
    - <property name="filename" value="${path::combine(myprj.basedir,'version.txt')}" - />
    -
    - <if test="${not file::exists(filename) or file::get-length(filename) = 0}">
    -     <echo message="The version file - ${filename} - doesn't exist or is empty!" />
    - </if>
    -

    -

    This will check for the existence of a file version.txt - in a directory specified by myprj.basedir. Note that this makes use of the - short-circuit evaluation supported by NAnt, so you can test for the existence - of the file and check its length in the same expression. ( ie like C, NAnt will - not evaluate the second part of an 'or' expression if the first evaluates to - true ) -

    -
  8. -
  9. - Using expressions to conditionally execute tasks -

    All tasks support if and unless attributes. - Expressions can be used there to control which tasks get executed:

    -

    - <property name="myprj.basedir" value="c:\" unless="property::exists('myprj.basedir')" - />
    - <csc target="library" output="out.dll" ... -
    -      if="${datetime::now() - file::get-last-write-time('out.dll')) > timespan::from-hours(1)}">
    - ...
    - </csc>
    -
    -

    -

    - This will rebuild the C# library only if it was last rebuilt more than an hour - ago. -

    -
  10. -
-

3 Data types

-

Expressions can access, pass and return values of the following types:

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Type - Allowed values
int32-bit signed integer value
long64-bit signed integer value
double64-bit signed double precision floating point value
booleantrue or false
stringstrings of characters of any length.
datetimevalues represeting date & time (range is from 00:00:00, January 1, 1 AD to - 23:59:59, December 31, 9999 AD)
timespanrepresents a time interval.
-
-

In addition, the expression evaluation engine allows you to return and pass - values of any CLI type through the use of custom - functions. Note that there's no support for implicit type conversions.

-

4 Operators

-

4.1 Operator precedence

-

NAnt expressions support standard ( c style ) operator precedence, that we're - accustomed to:

-
    -
  • - and is evaluated before or, left to right. For - example false or true and true and false evaluates as false or - ((true and true) and false)
  • -
  • - multiplication,division and modulus are evaluated before addition and - subtraction, left to right. For example 1 + 2 * 3 / 4 evaluates as - 1 + ((2 * 3) / 4)
  • -
  • - parentheses can be used to override the default operator precedence. For - example (1 + 2) * 3 evaluates as written, even though the - multiplication has precedence over addition
  • -
-

NOTE: Because NAnt supports properties whose names can contain dashes, - there's a possible ambiguity between the subtraction of two properties and - accessing a single property with a name containing a dash:

-

- aaa-bbb - this is ambiguous. It could either be property aaa - MINUS property bbb or property aaa-bbb.

-

To avoid confusion, it's recommended to surround the subtraction operator (or - even better, all binary operators) with spaces. The expression aaa - bbb - always evaluates as a subtraction.

-

4.2 Operators on Numeric Values

-

The following operators are supported on numeric values:

-
    -
  • - + operator -
  • -
  • - - operator -
  • -
  • - * operator -
  • -
  • - / operator -
  • -
  • - % operator -
  • -
  • - == operator -
  • -
  • - != operator -
  • -
  • - > operator -
  • -
  • - >= operator -
  • -
  • - < operator -
  • -
  • - <= operator -
  • -
  • - unary plus -
  • -
  • - unary minus (negation) -
  • -
-

4.2.1 Add

-
Summary
-

- Returns the arithmetic sum of its operands. -

-
Operands
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Left Operand - Right Operand - Example
intint - 1 + 5 evaluates to 6 -
intlong - 1 + 6666666667 evaluates to 6666666668 -
intdouble - 1 + 5.0 evaluates to 6.0 -
longlong - 6666666667 + 11111111111 evaluates to 17777777778 -
longint - 6666666667 + 1 evaluates to 6666666668 -
longdouble - 6666666667 + 1.5 evaluates to 6666666668.5 -
doubledouble - 1.5 + 5.0 evaluates to 6.5 -
doubleint - 1.0 + 5 evaluates to 6.0 -
doublelong - 1.5 + 6666666667 evaluates to 6666666668.5 -
-
-

4.2.2 Subtract

-
Summary
-

- Returns the arithmetic difference of its operands. -

-
Operands
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Left Operand - Right Operand - Example
intint - 5 - 1 evaluates to 4 -
intlong - 5 - 6666666667 evaluates to -6666666662 -
intdouble - 5.0 - 1 evaluates to 4.0 -
longlong - 11111111111 - 6666666667 evaluates to 4444444444 -
longint - 6666666667 - 5 evaluates to 6666666662 -
longdouble - 6666666667 - 1.5 evaluates to 6666666665.5 -
doubledouble - 5.0 - 1.0 evaluates to 4.0 -
doubleint - 5.0 - 1 evaluates to 4.0 -
doublelong - 1.5 - 6666666667 evaluates to -6666666665.5 -
-
-

4.2.3 Multiply

-
Summary
-

- Returns the arithmetic product of its operands. -

-
Operands
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Left Operand - Right Operand - Example
intint - 5 * 2 evaluates to 10 -
intlong - 2 * 6666666667 evaluates to 13333333334 -
intdouble - 5 * 2.0 evaluates to 10.0 -
longlong - 6666666667 * long::parse('2') evaluates to 13333333334 -
longint - 6666666667 * 2 evaluates to 13333333334 -
longdouble - 6666666667 * 1.7 evaluates to 11333333333.9 -
doubledouble - 5.0 * 2.0 evaluates to 10.0 -
doubleint - 5.0 * 2 evaluates to 10.0 -
doublelong - 1.7 * 6666666667 evaluates to 11333333333.9 -
-
-

4.2.4 Divide

-
Summary
-

- Returns the arithmetic quotient of its operands. -

-
Operands
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Left Operand - Right Operand - Example
intint - 10 / 2 evaluates to 5 -
intlong - 10 / 10000000000 evaluates to 0.000000001 -
intdouble - 8 / 2.0 evaluates to 4.0 -
longlong - 13333333334 / 6666666667 evaluates to 2 -
longint - 13333333334 / 2 evaluates to 6666666667 -
longdouble - 13333333334 / 2.0 evaluates to 6666666667.0 -
doubledouble - 9.0 / 2.0 evaluates to 4.5 -
doubleint - 6.0 / 3 evaluates to 2.0 -
doublelong - 20000000000.0 / 10000000000 evaluates to 2.0 -
-
-
Remarks
-

- If the divisor is zero, then an error is raised. -

-

4.2.5 Mod

-
Summary
-

- Returns the remainder after dividing its first operand by its second. -

-
Operands
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Left Operand - Right Operand - Example
intint - 5 % 3 evaluates to 2 -
intlong - 10 % 6666666667 evaluates to 10 -
intdouble - 5 % 3.5 evaluates to 1.5 -
longlong - 13333333334 % 6666666667 evaluates to 0 -
longint - 6666666667 % 10 evaluates to 7 -
longdouble - 6666666667 % 3.5 evaluates to 3.0 -
doubledouble - 9.0 % 4.7 evaluates to 4.3 -
doubleint - 8.5 % 2 evaluates to 0.5 -
doublelong - 20000000000.0 % 6666666667 evaluates to 6666666666.0 -
-
-
Remarks
-

- If the divisor is zero, then an error is raised. -

-

4.2.6 Equal

-
Summary
-

- Returns true if and only if the value of the first operand is equal to the - value of the second operand. -

-
Operands
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Left Operand - Right Operand - Example
intint - 5 == 3 evaluates to false -
intlong - 5 == 6666666667 evaluates to false -
intdouble - 6 == 6.0 evaluates to true -
longlong - 6666666667 == 6666666667 evaluates to true -
longint - 6666666667 == 665 evaluates to false -
longdouble - 6666666667 == 6666666667.0 evaluates to true -
doubledouble - 9.5 == 6.7 evaluates to false -
doubleint - 8.5 == 8 evaluates to false -
doublelong - 8.5 == 6666666667 evaluates to false -
-
-

4.2.7 Inequal

-
Summary
-

- Returns true if and only if the value of the first operand is not equal to the - value of the second operand. -

-
Operands
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Left Operand - Right Operand - Example
intint - 5 != 3 evaluates to true -
intlong - 5 != 6666666667 evaluates to true -
intdouble - 6 != 6.0 evaluates to false -
longlong - 6666666667 != 6666666667 evaluates to false -
longint - 6666666667 != 665 evaluates to true -
longdouble - 6666666667 != 6666666667.0 evaluates to false -
doubledouble - 9.5 != 6.7 evaluates to true -
doubleint - 8.5 != 8 evaluates to true -
doublelong - 8.5 != 6666666667 evaluates to true -
-
-

4.2.8 Greater than

-
Summary
-

- Returns true if and only if the first operand is greater than the - second operand. -

-
Operands
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Left Operand - Right Operand - Example
intint - 5 > 3 evaluates to false -
intlong - 5 > 6666666667 evaluates to false -
intdouble - 6 > 4.0 evaluates to true -
longlong - 6666666667 > 6666666667 evaluates to false -
longint - 6666666667 > 665 evaluates to true -
longdouble - 6666666667 > 6666666667.0 evaluates to false -
doubledouble - 9.5 > 9.5 evaluates to false -
doubleint - 8.3 > 9 evaluates to false -
doublelong - 8.5 > 6666666667 evaluates to false -
-
-

4.2.9 Greater than or equal

-
Summary
-

- Returns true if and only if the first operand is greater than or - equal to second operand. -

-
Operands
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Left Operand - Right Operand - Example
intint - 5 >= 3 evaluates to false -
intlong - 5 >= 6666666667 evaluates to false -
intdouble - 6 >= 4.0 evaluates to true -
longlong - 6666666667 >= 6666666667 evaluates to true -
longint - 6666666667 >= 665 evaluates to true -
longdouble - 6666666667 >= 6666666667.0 evaluates to true -
doubledouble - 9.5 >= 9.5 evaluates to true -
doubleint - 8.3 >= 9 evaluates to false -
doublelong - 8.5 >= 6666666667 evaluates to false -
-
-

4.2.10 Less than

-
Summary
-

- Returns true if and only if the first operand is less than the - second operand. -

-
Operands
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Left Operand - Right Operand - Example
intint - 5 < 3 evaluates to false -
intlong - 5 < 6666666667 evaluates to true -
intdouble - 6 < 7.0 evaluates to true -
longlong - 6666666667 < 6666666667 evaluates to false -
longint - 6666666667 < 665 evaluates to false -
longdouble - 6666666667 < 6666666667.0 evaluates to false -
doubledouble - 9.5 < 9.5 evaluates to false -
doubleint - 8.3 < 9 evaluates to true -
doublelong - 8.5 < 6666666667 evaluates to true -
-
-

4.2.11 Less than or equal

-
Summary
-

- Returns true if and only if the first operand is less than or - equal to second operand. -

-
Operands
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Left Operand - Right Operand - Example
intint - 5 <= 3 evaluates to false -
intlong - 5 <= 6666666667 evaluates to true -
intdouble - 6 <= 7.0 evaluates to true -
longlong - 6666666667 <= 6666666667 evaluates to true -
longint - 6666666667 <= 665 evaluates to false -
longdouble - 6666666667 <= 6666666667.0 evaluates to true -
doubledouble - 9.5 <= 9.5 evaluates to true -
doubleint - 8.3 <= 9 evaluates to true -
doublelong - 8.5 <= 6666666667 evaluates to true -
-
-

4.2.12 Unary plus

-
Summary
-

- Returns its operand with the sign unchanged. Semantically, this operation - performs no operation. -

-
Operands
-
- - - - - - - - - - - - - - - - - - - - - - -
- Operand - Example
int - (+1) evaluates to 1 -
long - (+6666666667) evaluates to 6666666667 -
double - (+1.5) evaluates to 1.5 -
-
-

4.2.13 Unary minus

-
Summary
-

- Returns its operand with the sign reversed. -

-

- If the operand is positive, its negative is returned; if it is negative, its - positive is returned. -

-
Operands
-
- - - - - - - - - - - - - - - - - - - - - - -
- Operand - Example
int - (-1) evaluates to -1 -
long - (-6666666667) evaluates to -6666666667 -
double - (-9.6) evaluates to -9.6 -
-
-

4.3 Operators on Boolean Values

-

The following operators are supported on boolean values:

-
    -
  • - == operator -
  • -
  • - != operator -
  • -
  • - > operator -
  • -
  • - >= operator -
  • -
  • - < operator -
  • -
  • - <= operator -
  • -
  • - and operator -
  • -
  • - or operator -
  • -
-

4.3.1 Equal

-
Summary
-

- Returns true if both operands are true or if both - operands are false. -

-
Examples
-

4.3.2 Inequal

-
Summary
-

- Returns true if the first operand is true and the - second operand is false, or the first operand is false - and the second operand is true. -

-
Examples
-

4.3.3 Greater than

-
Summary
-

- Returns true if the first operand is true and the - second operand is false; otherwise, returns false. -

-
Examples
-

4.3.4 Greater than or equal

-
Summary
-

- Returns true if the first operand is true and the - second operand is false, or both operands are either true - or false. -

-
Examples
-

4.3.5 Less than

-
Summary
-

- Returns true if the first operand is false and the - second operand is true; otherwise, returns false. -

-
Examples
-

4.3.6 Less than or equal

-
Summary
-

- Returns true if the first operand is false and the - second operand is true, or both operands are either true - or false. -

-
Examples
-

4.3.7 Logical and

-
Summary
-

- Returns true if both operands are true, - otherwise returns false. -

-
Examples
-

- <if test="${A and B}"> - -

-

4.3.8 Logical or

-
Summary
-

- Returns true if either operand is true, - otherwise returns false. -

-
Examples
-

- <if test="${A or B}"> -

-

4.4 Operators on String Values

-

The following operators are supported on string values:

-
    -
  • - + operator -
  • -
  • - == operator -
  • -
  • - != operator -
  • -
  • - > operator -
  • -
  • - >= operator -
  • -
  • - < operator -
  • -
  • - <= operator -
  • -
-

4.4.1 Concat

-
Summary
-

- Returns the concatenation of both string operands. -

-
Examples
-

4.4.2 Equal

-
Summary
-

- Returns true if the value of the left operand is the same as the - value of the right operand. -

-
Remarks
-

- The comparison is case-sensitive and culture-insensitive. -

-

4.4.3 Inequal

-
Summary
-

- Returns true if the value of the first operand is not the same as - the value of the second operand. -

-
Remarks
-

- The comparison is case-sensitive and culture-insensitive. -

-

4.4.4 Greater than

-
Summary
-

- Returns true if the first operand is greater than the seconds - operand. -

-
Remarks
-

- The comparison is case-sensitive and culture-insensitive. -

-

4.4.5 Greater than or equal

-
Summary
-

- Returns true if the first operand is greater than or equal to the - seconds operand. -

-
Remarks
-

- The comparison is case-sensitive and culture-insensitive. -

-

4.4.6 Less than

-
Summary
-

- Returns true if the first operand is less than the seconds - operand. -

-
Remarks
-

- The comparison is case-sensitive and culture-insensitive. -

-

4.4.7 Less than or equal

-
Summary
-

- Returns true if the first operand is less than or equal to the - seconds operand. -

-
Remarks
-

- The comparison is case-sensitive and culture-insensitive. -

-

4.5 Operators on TimeSpan and DateTime Values

-

The following operators are supported on timespan and datetime values:

-
    -
  • - + operator -
  • -
  • - - operator -
  • -
  • - == operator -
  • -
  • - != operator -
  • -
  • - > operator -
  • -
  • - >= operator -
  • -
  • - < operator -
  • -
  • - <= operator -
  • -
-

4.5.1 Add

-
Summary
-

- Returns the result of adding the value of the left operand to the value of the - right operand. -

-
Operands
-
- - - - - - - - - - - - - - - - - - - - - -
- Left Operand - Right Operand - Example
datetimetimespan - datetime::now() + timespan::from-days(10) - evaluates to a datetime 10 days in the future -
timespantimespan - timespan::from-seconds(30) + timespan::from-minutes(10) - evaluates to a timespan representing a duratio of 10 minutes and 30 - seconds -
-
-

4.5.2 Subtract

-
Summary
-

- Returns the result of subtracting the value of the right operand - from the value of the left operand. -

-
Operands
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- Left Operand - Right Operand - Example
datetimedatetime - (datetime::now() + timespan::from-days(10)) - datetime::now - evaluates to a timespan representing a duration of 10 days -
datetimetimespan - timespan::from-seconds(30) - timespan::from-seconds(10) evaluates - to a timespan representing a duration of 20 seconds -
timespantimespan - timespan::from-seconds(30) + timespan::from-minutes(10) evaluates - to a timespan representing 10 minutes and 30 seconds -
-
-

4.5.3 Equal

-
Summary
-

- Returns true if the value of the left operand is the same as the - value of the right operand. -

-
Operands
-
- - - - - - - - - - - - - - - - - - - - - -
- Left Operand - Right Operand - Example
datetimedatetime - datetime::now() == (datetime::now()+timespan::from-days(10)) evaluates - to false -
timespantimespan - timespan::from-seconds(30) == timespan::from-seconds(30) evaluates - to true -
-
-

4.5.4 Inequal

-
Summary
-

- Returns true if the value of the left operand is not the same as - the value of the right operand. -

-
Operands
-
- - - - - - - - - - - - - - - - - - - - - -
- Left Operand - Right Operand - Example
datetimedatetime - datetime::now() != (datetime::now()+timespan::from-days(10)) evaluates - to true -
timespantimespan - timespan::from-seconds(30) != timespan::from-seconds(30) evaluates - to false -
-
-

4.5.5 Greater than

-
Summary
-

- Returns true if the value of the left operand is greater than the - value of the right operand. -

-
Operands
-
- - - - - - - - - - - - - - - - - - - - - -
- Left Operand - Right Operand - Example
datetimedatetime - datetime::now() > (datetime::now()+timespan::from-days(10)) evaluates - to false -
timespantimespan - timespan::from-seconds(30) > timespan::from-seconds(30) evaluates - to false -
-
-

4.5.6 Greater than or equal

-
Summary
-

- Returns true if the value of the left operand is greater than or - equal to the value of the right operand. -

-
Operands
-
- - - - - - - - - - - - - - - - - - - - - -
- Left Operand - Right Operand - Example
datetimedatetime - datetime::now() >= (datetime::now()+timespan::from-days(10)) evaluates - to false -
timespantimespan - timespan::from-seconds(30) >= timespan::from-seconds(30) evaluates - to false -
-
-

4.5.7 Less than

-
Summary
-

- Returns true if the value of the left operand is less than the - value of the right operand. -

-
Operands
-
- - - - - - - - - - - - - - - - - - - - - -
- Left Operand - Right Operand - Example
datetimedatetime - datetime::now() < (datetime::now()+timespan::from-days(10)) evaluates - to true -
timespantimespan - timespan::from-seconds(30) < timespan::from-seconds(30) evaluates - to false -
-
-

4.5.8 Less than or equal

-
Summary
-

- Returns true if the value of the left operand is less than the - value of the right operand. -

-
Operands
-
- - - - - - - - - - - - - - - - - - - - - -
- Left Operand - Right Operand - Example
datetimedatetime - datetime::now() <= (datetime::now()+timespan::from-days(10)) evaluates - to false -
timespantimespan - timespan::from-seconds(30) <= timespan::from-seconds(30) evaluates - to true -
-
- - + + + + + + + + NAnt - Expressions + + + + + + + + +

Expressions

+

[This is preliminary documentation and subject to change.]

+

Contents

+
+ 1 Introduction
+ 2 Expression syntax
+ 3 Data types
+ 4 Operators +
+ 4.1 Operator precedence
+ 4.2 Operators on Numeric Values +
+ 4.2.1 Add
+ 4.2.2 Subtract
+ 4.2.3 Multiply
+ 4.2.4 Divide
+ 4.2.5 Mod
+ 4.2.6 Equal
+ 4.2.7 Inequal
+ 4.2.8 Greater than
+ 4.2.9 Greater than or equal
+ 4.2.10 Less than
+ 4.2.11 Less than or equal
+ 4.2.12 Unary plus
+ 4.2.13 Unary minus +
+
+
+ 4.3 Operators on Boolean Values +
+ 4.3.1 Equal
+ 4.3.2 Inequal
+ 4.3.3 Greater than
+ 4.3.4 Greater than or equal
+ 4.3.5 Less than
+ 4.3.6 Less than or equal
+ 4.3.7 Logical and
+ 4.3.8 Logical or
+
+
+
+ 4.4 Operators on String Values +
+ 4.4.1 Concat
+ 4.4.2 Equal
+ 4.4.3 Inequal
+ 4.4.4 Greater than
+ 4.4.5 Greater than or equal
+ 4.4.6 Less than
+ 4.4.7 Less than or equal
+
+
+
+ 4.5 Operators on TimeSpan and DateTime Values +
+ 4.5.1 Add
+ 4.5.2 Subtract
+ 4.5.3 Equal
+ 4.5.4 Inequal
+ 4.5.5 Greater than
+ 4.5.6 Greater than or equal
+ 4.5.7 Less than
+ 4.5.8 Less than or equal
+
+
+
+ 4.6 Operators on Version Values +
+ 4.6.1 Equal
+ 4.6.2 Inequal
+ 4.6.3 Greater than
+ 4.6.4 Greater than or equal
+ 4.6.5 Less than
+ 4.6.6 Less than or equal
+
+
+
+

1 Introduction

+

Expressions are simple, yet powerful mechanism that allows you to write advanced + formulas to be used in task arguments and conditions that direct the build + process. Expressions can access project properties + and call builtin or user-defined functions.

+

+ NAnt provides a rich set of bulitin functions, that allow you to:

+
    +
  • + manipulate strings
  • +
  • + manipulate date/time values
  • +
  • + manipulate path names
  • +
  • + read the properties of files/directories
  • +
  • + access current build information and more
  • +
  • + and more
  • +
+

For a full list of supported functions, click here.

+

2 Expression Syntax

+

Expressions can be used in all task arguments, by using ${...} notation. + You may use standard syntax for arithmetical (addition, subtraction, + multiplication, division, modulus), logical (negation, conjunction, + alternative) and relational operators (equality, inequality). To call + functions, use prefix::function-name(argument1, ..., argumentN) syntax. + To access properties, you simply use their names without any prefix or suffix. + See the examples section below for more information.

+

NOTE: Expressions are often used in XML attributes. The grammar specified in this + section applies to the attribute value after XML 1.0 normalization. So, for + example, if the grammar uses the character <, this must not + appear in the XML source as < but must be quoted according to + XML 1.0 rules by, for example, entering it as &lt;. +

+

Examples:

+
    +
  1. + Accessing a property: +

    + <property name="build.version" value="3" />
    + <echo message="The current date is: + ${build.version}" /> +

    +

    This will output the current value of build.version property.

    +
  2. +
  3. + Calling a function +

    + <echo message="The current date is: + ${datetime::now()}" + /> +

    +

    This will output the current date and time.

    +
  4. +
  5. + Storing the result of an expression +

    To store the result of an expression in a property, use the <property> + task:

    +

    + <property name="autoexec-present" value="${file::exists('c:\autoexec.bat')}" + /> +

    +

    This will set the property autoexec-present to either true + or false depending on whether the specified file exists or not.

    +
  6. +
  7. + Real-life expression use +

    + <property name="myprj.basedir" value="c:\" />
    + <property name="filename" value="${path::combine(myprj.basedir,'version.txt')}" + />
    +
    + <if test="${not file::exists(filename) or file::get-length(filename) = 0}">
    +     <echo message="The version file + ${filename} + doesn't exist or is empty!" />
    + </if>
    +

    +

    This will check for the existence of a file version.txt + in a directory specified by myprj.basedir. Note that this makes use of the + short-circuit evaluation supported by NAnt, so you can test for the existence + of the file and check its length in the same expression. ( ie like C, NAnt will + not evaluate the second part of an 'or' expression if the first evaluates to + true ) +

    +
  8. +
  9. + Using expressions to conditionally execute tasks +

    All tasks support if and unless attributes. + Expressions can be used there to control which tasks get executed:

    +

    + <property name="myprj.basedir" value="c:\" unless="property::exists('myprj.basedir')" + />
    + <csc target="library" output="out.dll" ... +
    +      if="${datetime::now() - file::get-last-write-time('out.dll')) > timespan::from-hours(1)}">
    + ...
    + </csc>
    +
    +

    +

    + This will rebuild the C# library only if it was last rebuilt more than an hour + ago. +

    +
  10. +
+

3 Data types

+

Expressions can access, pass and return values of the following types:

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Type + Allowed values
int32-bit signed integer value
long64-bit signed integer value
double64-bit signed double precision floating point value
booleantrue or false
stringstrings of characters of any length.
datetimevalues represeting date & time (range is from 00:00:00, January 1, 1 AD to + 23:59:59, December 31, 9999 AD)
timespanrepresents a time interval.
versionrepresents a version number consisting of two to four components.
+
+

In addition, the expression evaluation engine allows you to return and pass + values of any CLI type through the use of custom + functions. Note that there's no support for implicit type conversions.

+

4 Operators

+

4.1 Operator precedence

+

NAnt expressions support standard ( c style ) operator precedence, that we're + accustomed to:

+
    +
  • + and is evaluated before or, left to right. For + example false or true and true and false evaluates as false or + ((true and true) and false)
  • +
  • + multiplication,division and modulus are evaluated before addition and + subtraction, left to right. For example 1 + 2 * 3 / 4 evaluates as + 1 + ((2 * 3) / 4)
  • +
  • + parentheses can be used to override the default operator precedence. For + example (1 + 2) * 3 evaluates as written, even though the + multiplication has precedence over addition
  • +
+

NOTE: Because NAnt supports properties whose names can contain dashes, + there's a possible ambiguity between the subtraction of two properties and + accessing a single property with a name containing a dash:

+

+ aaa-bbb - this is ambiguous. It could either be property aaa + MINUS property bbb or property aaa-bbb.

+

To avoid confusion, it's recommended to surround the subtraction operator (or + even better, all binary operators) with spaces. The expression aaa - bbb + always evaluates as a subtraction.

+

4.2 Operators on Numeric Values

+

The following operators are supported on numeric values:

+
    +
  • + + operator +
  • +
  • + - operator +
  • +
  • + * operator +
  • +
  • + / operator +
  • +
  • + % operator +
  • +
  • + == operator +
  • +
  • + != operator +
  • +
  • + > operator +
  • +
  • + >= operator +
  • +
  • + < operator +
  • +
  • + <= operator +
  • +
  • + unary plus +
  • +
  • + unary minus (negation) +
  • +
+

4.2.1 Add

+
Summary
+

+ Returns the arithmetic sum of its operands. +

+
Operands
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
intint + 1 + 5 evaluates to 6 +
intlong + 1 + 6666666667 evaluates to 6666666668 +
intdouble + 1 + 5.0 evaluates to 6.0 +
longlong + 6666666667 + 11111111111 evaluates to 17777777778 +
longint + 6666666667 + 1 evaluates to 6666666668 +
longdouble + 6666666667 + 1.5 evaluates to 6666666668.5 +
doubledouble + 1.5 + 5.0 evaluates to 6.5 +
doubleint + 1.0 + 5 evaluates to 6.0 +
doublelong + 1.5 + 6666666667 evaluates to 6666666668.5 +
+
+

4.2.2 Subtract

+
Summary
+

+ Returns the arithmetic difference of its operands. +

+
Operands
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
intint + 5 - 1 evaluates to 4 +
intlong + 5 - 6666666667 evaluates to -6666666662 +
intdouble + 5.0 - 1 evaluates to 4.0 +
longlong + 11111111111 - 6666666667 evaluates to 4444444444 +
longint + 6666666667 - 5 evaluates to 6666666662 +
longdouble + 6666666667 - 1.5 evaluates to 6666666665.5 +
doubledouble + 5.0 - 1.0 evaluates to 4.0 +
doubleint + 5.0 - 1 evaluates to 4.0 +
doublelong + 1.5 - 6666666667 evaluates to -6666666665.5 +
+
+

4.2.3 Multiply

+
Summary
+

+ Returns the arithmetic product of its operands. +

+
Operands
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
intint + 5 * 2 evaluates to 10 +
intlong + 2 * 6666666667 evaluates to 13333333334 +
intdouble + 5 * 2.0 evaluates to 10.0 +
longlong + 6666666667 * long::parse('2') evaluates to 13333333334 +
longint + 6666666667 * 2 evaluates to 13333333334 +
longdouble + 6666666667 * 1.7 evaluates to 11333333333.9 +
doubledouble + 5.0 * 2.0 evaluates to 10.0 +
doubleint + 5.0 * 2 evaluates to 10.0 +
doublelong + 1.7 * 6666666667 evaluates to 11333333333.9 +
+
+

4.2.4 Divide

+
Summary
+

+ Returns the arithmetic quotient of its operands. +

+
Operands
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
intint + 10 / 2 evaluates to 5 +
intlong + 10 / 10000000000 evaluates to 0.000000001 +
intdouble + 8 / 2.0 evaluates to 4.0 +
longlong + 13333333334 / 6666666667 evaluates to 2 +
longint + 13333333334 / 2 evaluates to 6666666667 +
longdouble + 13333333334 / 2.0 evaluates to 6666666667.0 +
doubledouble + 9.0 / 2.0 evaluates to 4.5 +
doubleint + 6.0 / 3 evaluates to 2.0 +
doublelong + 20000000000.0 / 10000000000 evaluates to 2.0 +
+
+
Remarks
+

+ If the divisor is zero, then an error is raised. +

+

4.2.5 Mod

+
Summary
+

+ Returns the remainder after dividing its first operand by its second. +

+
Operands
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
intint + 5 % 3 evaluates to 2 +
intlong + 10 % 6666666667 evaluates to 10 +
intdouble + 5 % 3.5 evaluates to 1.5 +
longlong + 13333333334 % 6666666667 evaluates to 0 +
longint + 6666666667 % 10 evaluates to 7 +
longdouble + 6666666667 % 3.5 evaluates to 3.0 +
doubledouble + 9.0 % 4.7 evaluates to 4.3 +
doubleint + 8.5 % 2 evaluates to 0.5 +
doublelong + 20000000000.0 % 6666666667 evaluates to 6666666666.0 +
+
+
Remarks
+

+ If the divisor is zero, then an error is raised. +

+

4.2.6 Equal

+
Summary
+

+ Returns true if and only if the value of the first operand is equal to the + value of the second operand. +

+
Operands
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
intint + 5 == 3 evaluates to false +
intlong + 5 == 6666666667 evaluates to false +
intdouble + 6 == 6.0 evaluates to true +
longlong + 6666666667 == 6666666667 evaluates to true +
longint + 6666666667 == 665 evaluates to false +
longdouble + 6666666667 == 6666666667.0 evaluates to true +
doubledouble + 9.5 == 6.7 evaluates to false +
doubleint + 8.5 == 8 evaluates to false +
doublelong + 8.5 == 6666666667 evaluates to false +
+
+

4.2.7 Inequal

+
Summary
+

+ Returns true if and only if the value of the first operand is not equal to the + value of the second operand. +

+
Operands
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
intint + 5 != 3 evaluates to true +
intlong + 5 != 6666666667 evaluates to true +
intdouble + 6 != 6.0 evaluates to false +
longlong + 6666666667 != 6666666667 evaluates to false +
longint + 6666666667 != 665 evaluates to true +
longdouble + 6666666667 != 6666666667.0 evaluates to false +
doubledouble + 9.5 != 6.7 evaluates to true +
doubleint + 8.5 != 8 evaluates to true +
doublelong + 8.5 != 6666666667 evaluates to true +
+
+

4.2.8 Greater than

+
Summary
+

+ Returns true if and only if the first operand is greater than the + second operand. +

+
Operands
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
intint + 5 > 3 evaluates to false +
intlong + 5 > 6666666667 evaluates to false +
intdouble + 6 > 4.0 evaluates to true +
longlong + 6666666667 > 6666666667 evaluates to false +
longint + 6666666667 > 665 evaluates to true +
longdouble + 6666666667 > 6666666667.0 evaluates to false +
doubledouble + 9.5 > 9.5 evaluates to false +
doubleint + 8.3 > 9 evaluates to false +
doublelong + 8.5 > 6666666667 evaluates to false +
+
+

4.2.9 Greater than or equal

+
Summary
+

+ Returns true if and only if the first operand is greater than or + equal to second operand. +

+
Operands
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
intint + 5 >= 3 evaluates to false +
intlong + 5 >= 6666666667 evaluates to false +
intdouble + 6 >= 4.0 evaluates to true +
longlong + 6666666667 >= 6666666667 evaluates to true +
longint + 6666666667 >= 665 evaluates to true +
longdouble + 6666666667 >= 6666666667.0 evaluates to true +
doubledouble + 9.5 >= 9.5 evaluates to true +
doubleint + 8.3 >= 9 evaluates to false +
doublelong + 8.5 >= 6666666667 evaluates to false +
+
+

4.2.10 Less than

+
Summary
+

+ Returns true if and only if the first operand is less than the + second operand. +

+
Operands
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
intint + 5 < 3 evaluates to false +
intlong + 5 < 6666666667 evaluates to true +
intdouble + 6 < 7.0 evaluates to true +
longlong + 6666666667 < 6666666667 evaluates to false +
longint + 6666666667 < 665 evaluates to false +
longdouble + 6666666667 < 6666666667.0 evaluates to false +
doubledouble + 9.5 < 9.5 evaluates to false +
doubleint + 8.3 < 9 evaluates to true +
doublelong + 8.5 < 6666666667 evaluates to true +
+
+

4.2.11 Less than or equal

+
Summary
+

+ Returns true if and only if the first operand is less than or + equal to second operand. +

+
Operands
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
intint + 5 <= 3 evaluates to false +
intlong + 5 <= 6666666667 evaluates to true +
intdouble + 6 <= 7.0 evaluates to true +
longlong + 6666666667 <= 6666666667 evaluates to true +
longint + 6666666667 <= 665 evaluates to false +
longdouble + 6666666667 <= 6666666667.0 evaluates to true +
doubledouble + 9.5 <= 9.5 evaluates to true +
doubleint + 8.3 <= 9 evaluates to true +
doublelong + 8.5 <= 6666666667 evaluates to true +
+
+

4.2.12 Unary plus

+
Summary
+

+ Returns its operand with the sign unchanged. Semantically, this operation + performs no operation. +

+
Operands
+
+ + + + + + + + + + + + + + + + + + + + + + +
+ Operand + Example
int + (+1) evaluates to 1 +
long + (+6666666667) evaluates to 6666666667 +
double + (+1.5) evaluates to 1.5 +
+
+

4.2.13 Unary minus

+
Summary
+

+ Returns its operand with the sign reversed. +

+

+ If the operand is positive, its negative is returned; if it is negative, its + positive is returned. +

+
Operands
+
+ + + + + + + + + + + + + + + + + + + + + + +
+ Operand + Example
int + (-1) evaluates to -1 +
long + (-6666666667) evaluates to -6666666667 +
double + (-9.6) evaluates to -9.6 +
+
+

4.3 Operators on Boolean Values

+

The following operators are supported on boolean values:

+
    +
  • + == operator +
  • +
  • + != operator +
  • +
  • + > operator +
  • +
  • + >= operator +
  • +
  • + < operator +
  • +
  • + <= operator +
  • +
  • + and operator +
  • +
  • + or operator +
  • +
+

4.3.1 Equal

+
Summary
+

+ Returns true if both operands are true or if both + operands are false. +

+
Examples
+

4.3.2 Inequal

+
Summary
+

+ Returns true if the first operand is true and the + second operand is false, or the first operand is false + and the second operand is true. +

+
Examples
+

4.3.3 Greater than

+
Summary
+

+ Returns true if the first operand is true and the + second operand is false; otherwise, returns false. +

+
Examples
+

4.3.4 Greater than or equal

+
Summary
+

+ Returns true if the first operand is true and the + second operand is false, or both operands are either true + or false. +

+
Examples
+

4.3.5 Less than

+
Summary
+

+ Returns true if the first operand is false and the + second operand is true; otherwise, returns false. +

+
Examples
+

4.3.6 Less than or equal

+
Summary
+

+ Returns true if the first operand is false and the + second operand is true, or both operands are either true + or false. +

+
Examples
+

4.3.7 Logical and

+
Summary
+

+ Returns true if both operands are true, + otherwise returns false. +

+
Examples
+

+ <if test="${A and B}"> + +

+

4.3.8 Logical or

+
Summary
+

+ Returns true if either operand is true, + otherwise returns false. +

+
Examples
+

+ <if test="${A or B}"> +

+

4.4 Operators on String Values

+

The following operators are supported on string values:

+
    +
  • + + operator +
  • +
  • + == operator +
  • +
  • + != operator +
  • +
  • + > operator +
  • +
  • + >= operator +
  • +
  • + < operator +
  • +
  • + <= operator +
  • +
+

4.4.1 Concat

+
Summary
+

+ Returns the concatenation of both string operands. +

+
Examples
+

4.4.2 Equal

+
Summary
+

+ Returns true if the value of the left operand is the same as the + value of the right operand. +

+
Remarks
+

+ The comparison is case-sensitive and culture-insensitive. +

+

4.4.3 Inequal

+
Summary
+

+ Returns true if the value of the first operand is not the same as + the value of the second operand. +

+
Remarks
+

+ The comparison is case-sensitive and culture-insensitive. +

+

4.4.4 Greater than

+
Summary
+

+ Returns true if the first operand is greater than the seconds + operand. +

+
Remarks
+

+ The comparison is case-sensitive and culture-insensitive. +

+

4.4.5 Greater than or equal

+
Summary
+

+ Returns true if the first operand is greater than or equal to the + seconds operand. +

+
Remarks
+

+ The comparison is case-sensitive and culture-insensitive. +

+

4.4.6 Less than

+
Summary
+

+ Returns true if the first operand is less than the seconds + operand. +

+
Remarks
+

+ The comparison is case-sensitive and culture-insensitive. +

+

4.4.7 Less than or equal

+
Summary
+

+ Returns true if the first operand is less than or equal to the + seconds operand. +

+
Remarks
+

+ The comparison is case-sensitive and culture-insensitive. +

+

4.5 Operators on TimeSpan and DateTime Values

+

The following operators are supported on timespan and datetime values:

+
    +
  • + + operator +
  • +
  • + - operator +
  • +
  • + == operator +
  • +
  • + != operator +
  • +
  • + > operator +
  • +
  • + >= operator +
  • +
  • + < operator +
  • +
  • + <= operator +
  • +
+

4.5.1 Add

+
Summary
+

+ Returns the result of adding the value of the left operand to the value of the + right operand. +

+
Operands
+
+ + + + + + + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
datetimetimespan + datetime::now() + timespan::from-days(10) + evaluates to a datetime 10 days in the future +
timespantimespan + timespan::from-seconds(30) + timespan::from-minutes(10) + evaluates to a timespan representing a duratio of 10 minutes and 30 + seconds +
+
+

4.5.2 Subtract

+
Summary
+

+ Returns the result of subtracting the value of the right operand + from the value of the left operand. +

+
Operands
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
datetimedatetime + (datetime::now() + timespan::from-days(10)) - datetime::now + evaluates to a timespan representing a duration of 10 days +
datetimetimespan + datetime::now() - timespan::from-days(3) evaluates + to a datetime 3 days in the past +
timespantimespan + timespan::from-minutes(15) - timespan::from-minutes(10) evaluates + to a timespan representing 5 minutes +
+
+

4.5.3 Equal

+
Summary
+

+ Returns true if the value of the left operand is the same as the + value of the right operand. +

+
Operands
+
+ + + + + + + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
datetimedatetime + datetime::now() == (datetime::now() + timespan::from-days(10)) evaluates + to false +
timespantimespan + timespan::from-seconds(30) == timespan::from-seconds(30) evaluates + to true +
+
+

4.5.4 Inequal

+
Summary
+

+ Returns true if the value of the left operand is not the same as + the value of the right operand. +

+
Operands
+
+ + + + + + + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
datetimedatetime + datetime::now() != (datetime::now() + timespan::from-days(10)) evaluates + to true +
timespantimespan + timespan::from-seconds(30) != timespan::from-seconds(30) evaluates + to false +
+
+

4.5.5 Greater than

+
Summary
+

+ Returns true if the value of the left operand is greater than the + value of the right operand. +

+
Operands
+
+ + + + + + + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
datetimedatetime + datetime::now() > (datetime::now() + timespan::from-days(10)) evaluates + to false +
timespantimespan + timespan::from-seconds(30) > timespan::from-seconds(30) evaluates + to false +
+
+

4.5.6 Greater than or equal

+
Summary
+

+ Returns true if the value of the left operand is greater than or + equal to the value of the right operand. +

+
Operands
+
+ + + + + + + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
datetimedatetime + datetime::now() >= (datetime::now() + timespan::from-days(10)) evaluates + to false +
timespantimespan + timespan::from-seconds(30) >= timespan::from-seconds(30) evaluates + to true +
+
+

4.5.7 Less than

+
Summary
+

+ Returns true if the value of the left operand is less than the + value of the right operand. +

+
Operands
+
+ + + + + + + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
datetimedatetime + datetime::now() < (datetime::now() + timespan::from-days(10)) evaluates + to true +
timespantimespan + timespan::from-seconds(30) < timespan::from-seconds(30) evaluates + to false +
+
+

4.5.8 Less than or equal

+
Summary
+

+ Returns true if the value of the left operand is less than the + value of the right operand. +

+
Operands
+
+ + + + + + + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
datetimedatetime + datetime::now() <= (datetime::now() + timespan::from-days(10)) evaluates + to true +
timespantimespan + timespan::from-seconds(30) <= timespan::from-seconds(30) evaluates + to true +
+
+

4.6 Operators on Version Values

+

The following operators are supported on version values:

+
    +
  • + == operator +
  • +
  • + != operator +
  • +
  • + > operator +
  • +
  • + >= operator +
  • +
  • + < operator +
  • +
  • + <= operator +
  • +
+

4.6.1 Equal

+
Summary
+

+ Returns true if the value of the left operand is the same as the + value of the right operand. +

+
Operands
+
+ + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
versionversion + version::parse('1.2') == version::parse('1.2') evaluates + to true +
+
+

4.6.2 Inequal

+
Summary
+

+ Returns true if the value of the left operand is not the same as + the value of the right operand. +

+
Operands
+
+ + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
versionversion + version::parse('1.2') != version::parse('1.3.1') evaluates + to true +
+
+

4.6.3 Greater than

+
Summary
+

+ Returns true if the value of the left operand is greater than the + value of the right operand. +

+
Operands
+
+ + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
versionversion + version::parse('1.2') > version::parse('1.3.1') evaluates + to false +
+
+

4.6.4 Greater than or equal

+
Summary
+

+ Returns true if the value of the left operand is greater than or + equal to the value of the right operand. +

+
Operands
+
+ + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
versionversion + version::parse('1.2') >= version::parse('1.2') evaluates + to true +
+
+

4.6.5 Less than

+
Summary
+

+ Returns true if the value of the left operand is less than the + value of the right operand. +

+
Operands
+
+ + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
versionversion + version::parse('1.2') < version::parse('1.3.1') evaluates + to true +
+
+

4.6.6 Less than or equal

+
Summary
+

+ Returns true if the value of the left operand is less than or + equal to the value of the right operand. +

+
Operands
+
+ + + + + + + + + + + + + + + + +
+ Left Operand + Right Operand + Example
versionversion + version::parse('1.2') <= version::parse('1.2') evaluates + to true +
+
+ + diff --git a/build-support/tools/nant/doc/help/fundamentals/functions.html b/build-support/tools/nant/doc/help/fundamentals/functions.html index 079017f4..98eb1a45 100644 --- a/build-support/tools/nant/doc/help/fundamentals/functions.html +++ b/build-support/tools/nant/doc/help/fundamentals/functions.html @@ -1,311 +1,311 @@ - - - - - - - - NAnt - Functions - - - - - - - - -

Functions

- -

NAnt provides a rich set of bulitin functions, that allow you to:

-
    -
  • - manipulate strings
  • -
  • - manipulate date/time values
  • -
  • - manipulate path names
  • -
  • - read the properties of files/directories
  • -
  • - access current build information and more
  • -
  • - and more
  • -
-

For a full list of supported functions, click here.

-

Function Call Syntax

-

- To call functions, use prefix::function-name(argument1, ..., argumentN) - syntax within expressions. NAnt will (implicitly) try to convert the arguments - you pass to functions to correct types and will report an error in case of - failure. -

-

- For example, assuming you would like to call string::contains('0123456789',1) - which expects two string parameters, but you want to pass the - second parameter which is an integer. NAnt would attempt to convert the second - parameter from int to string, which succeeds and - function is called as if it was written as string::contains('0123456789','1'). -

-

The following table shows the possible type conversions:

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- From Type - To Type - Allowed - Remarks
intstringYesThe conversion is always possible.
intdoubleYesThe conversion is always possible.
intbooleanNoCan be done with the if() conditional operator or simply as (value - <> 0)
intdatetimeNoYou cannot convert from int to datetime.
inttimespanNoYou can use the timespan::from-xxx functions to construct a timespan from a given number of days, months, ....
-
stringintYesIf the string doesn't represent an integer value, an error is reported.
stringdoubleYesIf the string doesn't represent a floating point value, an error is reported.
stringbooleanYesIf the string isn't either true or false (case - insensitive), an error is reported.
stringdatetimeYesIf the string doesn't represent a valid date/time, an error is reported. - Date/time string format is MM/DD/YYYY HH:MI:SS
stringtimespanNo - You can use timespan::parse to construct a timespan - from a time indicated by a given string. If the string doesn't represent a valid - timespan, an error is reported. -
-
doubleintYesIf the string doesn't represent an integer value, an error is reported.
doublestringYesThe converted string uses dot as a fractional part separator so the result - looks like 0.1234567
doublebooleanNoYou cannot convert from double to boolean.
doubledatetimeNoYou cannot convert from double to datetime.
doubletimespanNoYou can use the timespan::from-xxx functions to construct a timespan from a given number of days, months, ....
-
booleanintNoYou cannot convert from boolean to int. You may - want to use if(boolvalue,1,0) instead.
booleanstringYesThe result is 'True' or 'False' string.
booleandoubleNoYou cannot convert from boolean to double.
booleandatetimeNoYou cannot convert from boolean to datetime.
booleantimespanNoYou cannot convert from boolean to timespan.
-
datetimeintNoYou cannot convert from datetime to int.
datetimestringYesThe result is a datetime string with the following format: MM/DD/YYYY HH:MI:SS
datetimedoubleNoYou cannot convert from datetime to double.
datetimebooleanNoYou cannot convert from datetime to boolean.
datetimetimespanNoYou can use the value of datetime::get-ticks to construct a timespan using timespan::from-ticks.
-
timespanintNoYou cannot convert from timespan to int.
timespandoubleNoYou can use timespan::get-ticks to convert from timespan to double.
timespanbooleanNoYou cannot convert from timespan to boolean.
timespanstringNoYou can use timespan::to-string to obtain the string representation of a timespan.
timespandatetimeNoYou cannot convert from timespan to datetime.
-
-

Custom Functions

-

- Just as you can extend NAnt with your own tasks it is also possible to - implement your own functions for use in build files.

-

Functions can be implemented in any .NET language and are loaded in the same - manner as tasks. ie either by locating your custom function assembly in the - NAnt bin directory or using the <loadtasks> - task. Example C# code for a Hello World function : -

-

Define a custom function using C#.

-
                    
-[FunctionSet("hello", "Hello")]
-public class HelloFunctions : FunctionSetBase {        
-    public HelloFunctions(Project project, PropertyDictionary properties) : base(project, properties) {
-    }
-    [Function("hello-world")]
-    public static string HelloWorldfunc() {
-        return "Hello World!!";
-    }
-}
-        
-

and call that function from a build file.

-
       
-<echo message="${hello::hello-world()}" />
-        
-

A quick and easy way to develop new functions is to use the - <script> task. This allows you to create and test new functions - without the overhead of building an external assembly. The - <script> task documentation contains examples of custom function - definitions.

- - + + + + + + + + NAnt - Functions + + + + + + + + +

Functions

+

[This is preliminary documentation and subject to change.]

+

NAnt provides a rich set of bulitin functions, that allow you to:

+
    +
  • + manipulate strings
  • +
  • + manipulate date/time values
  • +
  • + manipulate path names
  • +
  • + read the properties of files/directories
  • +
  • + access current build information and more
  • +
  • + and more
  • +
+

For a full list of supported functions, click here.

+

Function Call Syntax

+

+ To call functions, use prefix::function-name(argument1, ..., argumentN) + syntax within expressions. NAnt will (implicitly) try to convert the arguments + you pass to functions to correct types and will report an error in case of + failure. +

+

+ For example, assuming you would like to call string::contains('0123456789',1) + which expects two string parameters, but you want to pass the + second parameter which is an integer. NAnt would attempt to convert the second + parameter from int to string, which succeeds and + function is called as if it was written as string::contains('0123456789','1'). +

+

The following table shows the possible type conversions:

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ From Type + To Type + Allowed + Remarks
intstringYesThe conversion is always possible.
intdoubleYesThe conversion is always possible.
intbooleanNoCan be done with the if() conditional operator or simply as (value + <> 0)
intdatetimeNoYou cannot convert from int to datetime.
inttimespanNoYou can use the timespan::from-xxx functions to construct a timespan from a given number of days, months, ....
+
stringintYesIf the string doesn't represent an integer value, an error is reported.
stringdoubleYesIf the string doesn't represent a floating point value, an error is reported.
stringbooleanYesIf the string isn't either true or false (case + insensitive), an error is reported.
stringdatetimeYesIf the string doesn't represent a valid date/time, an error is reported. + Date/time string format is MM/DD/YYYY HH:MI:SS
stringtimespanNo + You can use timespan::parse to construct a timespan + from a time indicated by a given string. If the string doesn't represent a valid + timespan, an error is reported. +
+
doubleintYesIf the string doesn't represent an integer value, an error is reported.
doublestringYesThe converted string uses dot as a fractional part separator so the result + looks like 0.1234567
doublebooleanNoYou cannot convert from double to boolean.
doubledatetimeNoYou cannot convert from double to datetime.
doubletimespanNoYou can use the timespan::from-xxx functions to construct a timespan from a given number of days, months, ....
+
booleanintNoYou cannot convert from boolean to int. You may + want to use if(boolvalue,1,0) instead.
booleanstringYesThe result is 'True' or 'False' string.
booleandoubleNoYou cannot convert from boolean to double.
booleandatetimeNoYou cannot convert from boolean to datetime.
booleantimespanNoYou cannot convert from boolean to timespan.
+
datetimeintNoYou cannot convert from datetime to int.
datetimestringYesThe result is a datetime string with the following format: MM/DD/YYYY HH:MI:SS
datetimedoubleNoYou cannot convert from datetime to double.
datetimebooleanNoYou cannot convert from datetime to boolean.
datetimetimespanNoYou can use the value of datetime::get-ticks to construct a timespan using timespan::from-ticks.
+
timespanintNoYou cannot convert from timespan to int.
timespandoubleNoYou can use timespan::get-ticks to convert from timespan to double.
timespanbooleanNoYou cannot convert from timespan to boolean.
timespanstringNoYou can use timespan::to-string to obtain the string representation of a timespan.
timespandatetimeNoYou cannot convert from timespan to datetime.
+
+

Custom Functions

+

+ Just as you can extend NAnt with your own tasks it is also possible to + implement your own functions for use in build files.

+

Functions can be implemented in any .NET language and are loaded in the same + manner as tasks. ie either by locating your custom function assembly in the + NAnt bin directory or using the <loadtasks> + task. Example C# code for a Hello World function : +

+

Define a custom function using C#.

+
                    
+[FunctionSet("hello", "Hello")]
+public class HelloFunctions : FunctionSetBase {        
+    public HelloFunctions(Project project, PropertyDictionary properties) : base(project, properties) {
+    }
+    [Function("hello-world")]
+    public static string HelloWorldfunc() {
+        return "Hello World!!";
+    }
+}
+        
+

and call that function from a build file.

+
       
+<echo message="${hello::hello-world()}" />
+        
+

A quick and easy way to develop new functions is to use the + <script> task. This allows you to create and test new functions + without the overhead of building an external assembly. The + <script> task documentation contains examples of custom function + definitions.

+ + diff --git a/build-support/tools/nant/doc/help/fundamentals/index.html b/build-support/tools/nant/doc/help/fundamentals/index.html index 0effaac1..e72e8bd7 100644 --- a/build-support/tools/nant/doc/help/fundamentals/index.html +++ b/build-support/tools/nant/doc/help/fundamentals/index.html @@ -1,35 +1,35 @@ - - - - - - - - NAnt - Fundamentals - - - - - - - - -

Fundamentals

- -

The basic concepts needed to understand and use NAnt.

-

> Running NAnt

-

> Build Files

-

> Projects

-

> Targets

-

> Tasks

-

> Properties

-

> Loggers & Listeners

-

> Expressions

-

> Functions

- - + + + + + + + + NAnt - Fundamentals + + + + + + + + +

Fundamentals

+

[This is preliminary documentation and subject to change.]

+

The basic concepts needed to understand and use NAnt.

+

> Running NAnt

+

> Build Files

+

> Projects

+

> Targets

+

> Tasks

+

> Properties

+

> Loggers & Listeners

+

> Expressions

+

> Functions

+ + diff --git a/build-support/tools/nant/doc/help/fundamentals/listeners.html b/build-support/tools/nant/doc/help/fundamentals/listeners.html index c829157f..47e02535 100644 --- a/build-support/tools/nant/doc/help/fundamentals/listeners.html +++ b/build-support/tools/nant/doc/help/fundamentals/listeners.html @@ -1,318 +1,318 @@ - - - - NAnt - Loggers & Listeners - - - - - - - - - - - - - -

Loggers & Listeners

- -

Overview

-

- NAnt has two related features to allow the build process to be monitored: - listeners and loggers. -

-

Listeners

-

- A listener is alerted of the following events: -

-
    -
  • - build started -
  • -
  • - build finished -
  • -
  • - target started -
  • -
  • - target finished -
  • -
  • - task started -
  • -
  • - task finished -
  • -
  • - message logged
  • -
-

Loggers

-

- Loggers extend the capabilities of listeners and add the following features: -

-
    -
  • - Receives a handle to the standard output and error print streams and therefore - can log information to the console or the -logfile - specified file. -
  • -
  • - Logging level (-quiet, -verbose, -debug) - aware. -
  • -
  • - Emacs-mode aware. This still needs to be implemented. -
  • -
-

Built-in Listeners/Loggers

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Class - Description - Type
NAnt.Core.DefaultLogger - The logger used implicitly unless overridden with the -logger command-line - switch. - IBuildLogger
NAnt.Core.MailLogger - Extends DefaultLogger such that output is still - generated the same, and when the build is finished an e-mail can be sent. - IBuildLogger
NAnt.Core.XmlLogger - Generates output in XML format. - IBuildLogger
-
-

DefaultLogger

-

Simply run NAnt normally, or:

-
-

NAnt.exe -logger:NAnt.Core.DefaultLogger

-
-

MailLogger

-

- The MailLogger captures all output logged through DefaultLogger (standard NAnt - output) and will send success and failure messages to unique e-mail lists, with - control for turning off success or failure messages individually. -

-

Properties controlling the operation of MailLogger are:

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Property - Description - Required
MailLogger.mailhostThe SMTP server to use.No, default is "localhost"
MailLogger.fromThe address of the e-mail sender.Yes, if mail needs to be sent.
MailLogger.failure.notifySend build failure e-mails ?No, default is "true".
MailLogger.success.notifySend build success e-mails ?No, default is "true".
MailLogger.failure.toThe address to send build failure messages to.Yes, if failure mail is to be sent.
MailLogger.success.toThe address to send build success messages to.Yes, if success mail is to be sent.
MailLogger.failure.subjectThe subject of build failure messages.No, default is "Build Failure".
MailLogger.success.subjectThe subject of build success messages.No, default is "Build Success".
MailLogger.failure.attachmentsThe ID of a fileset representing a set of files to attach when the build fails.No.
MailLogger.success.attachmentsThe ID of a fileset representing a set of files to attach when the build is successful.No.
MailLogger.body.encodingThe encoding type of the body of the e-mail message.No, default is system's ANSI code page.
MailLogger.smtp.username1The name of the user to login to the SMTP server.No.
MailLogger.smtp.password1The password of the specified user.No.
MailLogger.smtp.enablessl1Specifies whether to use SSL to encrypt the connection.No, default is "false".
MailLogger.smtp.port1The SMTP server port to connect to.No, default is "25".
-

1 Only available when NAnt is built targeting .NET Framework 1.1 (or equivalent) or higher.

-
-

Usage:

-
-

NAnt.exe -logger:NAnt.Core.MailLogger

-
-

Example:

-
-    <project name="MailLogger Test" default="build">
-        <property name="MailLogger.mailhost" value="smtp.wherever.be" />
-        <property name="MailLogger.from" value="me@telenet.be" />
-        <property name="MailLogger.failure.notify" value="true" />
-        <property name="MailLogger.success.notify" value="true" />
-        <property name="MailLogger.failure.to" value="support@home.be" />
-        <property name="MailLogger.success.to" value="support@home.be" />
-        <property name="MailLogger.failure.subject" value="Nightly build failure !" />
-        <property name="MailLogger.success.subject" value="Nightly build successful" />
-        <property name="MailLogger.failure.attachments" value="MailLogger.failure.files" />
-        <property name="MailLogger.success.attachments" value="MailLogger.success.files" />
-
-        <!-- set of files to attach when build fails -->
-        <fileset id="MailLogger.failure.files">
-            <include name="dump.log" />
-            <include name="trace.txt" />
-        </fileset>
-
-        <!-- set of files to attach when build is successful -->
-        <fileset id="MailLogger.success.files">
-            <include name="trace.txt" />
-        </fileset>
-    
-        <target name="build">
-            <echo message="Starting build" />
-            ....
-            <echo message="Finished build" />
-        </target>
-    </project>
-        
-

XmlLogger

-

- Writes all build information out to an XML file named log.xml, or - the value of the XmlLogger.file property if present, when used as - a listener. When used as a logger, it writes all output to either the console - or to the value of -logfile. -

-

- Whether used as a listener or logger, the output is not generated until the - build is complete. -

-

Usage:

-
-

- NAnt.exe -listener:NAnt.Core.XmlLogger
- NAnt.exe -logger:NAnt.Core.XmlLogger -logfile:buildlog.xml -

-
-

Example:

-
-    <buildresults project="test">
-        <message level="Info"><![CDATA[Buildfile: file:///D:/nant-test/xmlpeek/default.build]]></message>
-        <message level="Info"><![CDATA[Target framework: Microsoft .NET Framework 1.1]]></message>
-        <message level="Info"><![CDATA[Target(s) specified: build]]></message>
-        <target name="build">
-            <task name="xmlpeek">
-                <message level="Info"><![CDATA[Peeking at 'D:\nant-test\xmlpeek\input.xml' with XPath expression 'x:parameters/x:param'.]]></message>
-                <message level="Info"><![CDATA[Found '1' nodes with the XPath expression 'x:parameters/x:param'.]]></message>
-                <duration>15.625</duration>
-            </task>
-            <duration>15.625</duration>
-        </target>
-        <duration>31.25</duration>
-    </buildresults>
-        
- - + + + + NAnt - Loggers & Listeners + + + + + + + + + + + + + +

Loggers & Listeners

+

[This is preliminary documentation and subject to change.]

+

Overview

+

+ NAnt has two related features to allow the build process to be monitored: + listeners and loggers. +

+

Listeners

+

+ A listener is alerted of the following events: +

+
    +
  • + build started +
  • +
  • + build finished +
  • +
  • + target started +
  • +
  • + target finished +
  • +
  • + task started +
  • +
  • + task finished +
  • +
  • + message logged
  • +
+

Loggers

+

+ Loggers extend the capabilities of listeners and add the following features: +

+
    +
  • + Receives a handle to the standard output and error print streams and therefore + can log information to the console or the -logfile + specified file. +
  • +
  • + Logging level (-quiet, -verbose, -debug) + aware. +
  • +
  • + Emacs-mode aware. This still needs to be implemented. +
  • +
+

Built-in Listeners/Loggers

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Class + Description + Type
NAnt.Core.DefaultLogger + The logger used implicitly unless overridden with the -logger command-line + switch. + IBuildLogger
NAnt.Core.MailLogger + Extends DefaultLogger such that output is still + generated the same, and when the build is finished an e-mail can be sent. + IBuildLogger
NAnt.Core.XmlLogger + Generates output in XML format. + IBuildLogger
+
+

DefaultLogger

+

Simply run NAnt normally, or:

+
+

NAnt.exe -logger:NAnt.Core.DefaultLogger

+
+

MailLogger

+

+ The MailLogger captures all output logged through DefaultLogger (standard NAnt + output) and will send success and failure messages to unique e-mail lists, with + control for turning off success or failure messages individually. +

+

Properties controlling the operation of MailLogger are:

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Property + Description + Required
MailLogger.mailhostThe SMTP server to use.No, default is "localhost"
MailLogger.fromThe address of the e-mail sender.Yes, if mail needs to be sent.
MailLogger.failure.notifySend build failure e-mails ?No, default is "true".
MailLogger.success.notifySend build success e-mails ?No, default is "true".
MailLogger.failure.toThe address to send build failure messages to.Yes, if failure mail is to be sent.
MailLogger.success.toThe address to send build success messages to.Yes, if success mail is to be sent.
MailLogger.failure.subjectThe subject of build failure messages.No, default is "Build Failure".
MailLogger.success.subjectThe subject of build success messages.No, default is "Build Success".
MailLogger.failure.attachmentsThe ID of a fileset representing a set of files to attach when the build fails.No.
MailLogger.success.attachmentsThe ID of a fileset representing a set of files to attach when the build is successful.No.
MailLogger.body.encodingThe encoding type of the body of the e-mail message.No, default is system's ANSI code page.
MailLogger.smtp.username1The name of the user to login to the SMTP server.No.
MailLogger.smtp.password1The password of the specified user.No.
MailLogger.smtp.enablessl1Specifies whether to use SSL to encrypt the connection.No, default is "false".
MailLogger.smtp.port1The SMTP server port to connect to.No, default is "25".
+

1 Only available when NAnt is built targeting .NET Framework 1.1 (or equivalent) or higher.

+
+

Usage:

+
+

NAnt.exe -logger:NAnt.Core.MailLogger

+
+

Example:

+
+    <project name="MailLogger Test" default="build">
+        <property name="MailLogger.mailhost" value="smtp.wherever.be" />
+        <property name="MailLogger.from" value="me@telenet.be" />
+        <property name="MailLogger.failure.notify" value="true" />
+        <property name="MailLogger.success.notify" value="true" />
+        <property name="MailLogger.failure.to" value="support@home.be" />
+        <property name="MailLogger.success.to" value="support@home.be" />
+        <property name="MailLogger.failure.subject" value="Nightly build failure !" />
+        <property name="MailLogger.success.subject" value="Nightly build successful" />
+        <property name="MailLogger.failure.attachments" value="MailLogger.failure.files" />
+        <property name="MailLogger.success.attachments" value="MailLogger.success.files" />
+
+        <!-- set of files to attach when build fails -->
+        <fileset id="MailLogger.failure.files">
+            <include name="dump.log" />
+            <include name="trace.txt" />
+        </fileset>
+
+        <!-- set of files to attach when build is successful -->
+        <fileset id="MailLogger.success.files">
+            <include name="trace.txt" />
+        </fileset>
+    
+        <target name="build">
+            <echo message="Starting build" />
+            ....
+            <echo message="Finished build" />
+        </target>
+    </project>
+        
+

XmlLogger

+

+ Writes all build information out to an XML file named log.xml, or + the value of the XmlLogger.file property if present, when used as + a listener. When used as a logger, it writes all output to either the console + or to the value of -logfile. +

+

+ Whether used as a listener or logger, the output is not generated until the + build is complete. +

+

Usage:

+
+

+ NAnt.exe -listener:NAnt.Core.XmlLogger
+ NAnt.exe -logger:NAnt.Core.XmlLogger -logfile:buildlog.xml +

+
+

Example:

+
+    <buildresults project="test">
+        <message level="Info"><![CDATA[Buildfile: file:///D:/nant-test/xmlpeek/default.build]]></message>
+        <message level="Info"><![CDATA[Target framework: Microsoft .NET Framework 1.1]]></message>
+        <message level="Info"><![CDATA[Target(s) specified: build]]></message>
+        <target name="build">
+            <task name="xmlpeek">
+                <message level="Info"><![CDATA[Peeking at 'D:\nant-test\xmlpeek\input.xml' with XPath expression 'x:parameters/x:param'.]]></message>
+                <message level="Info"><![CDATA[Found '1' nodes with the XPath expression 'x:parameters/x:param'.]]></message>
+                <duration>15.625</duration>
+            </task>
+            <duration>15.625</duration>
+        </target>
+        <duration>31.25</duration>
+    </buildresults>
+        
+ + diff --git a/build-support/tools/nant/doc/help/fundamentals/projects.html b/build-support/tools/nant/doc/help/fundamentals/projects.html index ebd56034..31761da5 100644 --- a/build-support/tools/nant/doc/help/fundamentals/projects.html +++ b/build-support/tools/nant/doc/help/fundamentals/projects.html @@ -1,71 +1,71 @@ - - - - - - - - NAnt - Projects - - - - - - - - -

Projects

- -

A project has these attributes:

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Attribute - Description - Required
nameThe name of the project.No
defaultThe default target to execute when no target is supplied on the command-line.No
basedirThe base directory from which all path calculations are done.  If not set, the parent directory of the buildfile will be used.No
-
-

Optionally, a description for the project can be provided as a top-level <description> - element.  The text contained in the description element is used when the -projecthelp command line option is used.  See the - example build file for details.

-

Each project defines zero or more targets.  - A target is a set of tasks to be - executed.  When starting NAnt, you can select which target(s) you want to - have executed.  When no target is given, the project's default target is used. - When no target and no default target are specified, only the global tasks of the - project are executed.

- - + + + + + + + + NAnt - Projects + + + + + + + + +

Projects

+

[This is preliminary documentation and subject to change.]

+

A project has these attributes:

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Attribute + Description + Required
nameThe name of the project.No
defaultThe default target to execute when no target is supplied on the command-line.No
basedirThe base directory from which all path calculations are done.  If not set, the parent directory of the buildfile will be used.No
+
+

Optionally, a description for the project can be provided as a top-level <description> + element.  The text contained in the description element is used when the -projecthelp command line option is used.  See the + example build file for details.

+

Each project defines zero or more targets.  + A target is a set of tasks to be + executed.  When starting NAnt, you can select which target(s) you want to + have executed.  When no target is given, the project's default target is used. + When no target and no default target are specified, only the global tasks of the + project are executed.

+ + diff --git a/build-support/tools/nant/doc/help/fundamentals/properties.html b/build-support/tools/nant/doc/help/fundamentals/properties.html index bde77164..1dbb4ae9 100644 --- a/build-support/tools/nant/doc/help/fundamentals/properties.html +++ b/build-support/tools/nant/doc/help/fundamentals/properties.html @@ -1,319 +1,314 @@ - - - - - - - - NAnt - Properties - - - - - - - - -

Properties

- -

Contents

- -

1 Introduction

-

A project can have a set of properties.  These might be set in the - buildfile by the <property> task, or - might be set outside NAnt.  A property has a name and a value. Properties - may be used in the value of task attributes. This is done by placing the - property name between "${" and "}" in the attribute - value. Properties may also be used in expressions. -

-

2 Naming rules

-

A property name is a string of the following characters:

-
    -
  • - letters (A-Z, a-z),
  • -
  • - digits (0-9),
  • -
  • - underscore characters (_),
  • -
  • - dash characters (-),
  • -
  • - dot characters (.),
  • -
-

In addition, a valid property name must start with a letter or an underscore and - must end with a letter, digit or an uderscore.

-

Examples of valid property names include:

-
    -
  • - propertyname
  • -
  • - property.name.with.dots
  • -
  • - property-name-with-dashes
  • -
  • - property.name-with.both-dots.and-dashes
  • -
  • - __prop---3-erty__
  • -
  • - __prop.1...erty__
  • -
  • - property1
  • -
  • - property1.0
  • -
  • - property2.0.0
  • -
  • - _property-2-1__
  • -
  • - property-1-name_
  • -
  • - property-1.0-name
  • -
-

The following property names are not valid in NAnt:

-
    -
  • - !@#!@$!@ (contains illegal characters)
  • -
  • - .aaaaa (starts with a dot)
  • -
  • - -aaaaa (starts with a dash)
  • -
  • - 1aaaaa (starts with a digit)
  • -
  • - aaaaa.aaa.a.a.a.a- (ends with a dash)
  • -
  • - aaaaa.aaa.a.a.a.a. (ends with a dot)
  • -
-

3 Built-in Properties

-

NAnt has these built-in properties:

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Property - Description
nant.versionDeprecated. The version of NAnt.
nant.filenameDeprecated. The full path to the NAnt assembly.
nant.locationDeprecated. The base directory of the NAnt assembly.
nant.project.basedirDeprecated. The absolute path of the project's basedir.
nant.project.buildfileDeprecated. The absolute path of the buildfile.
nant.project.nameDeprecated. The name of the project.
nant.project.defaultDeprecated. The name of the project's default target.
nant.onsuccessThe name of a target to be executed when the build succeeds.
nant.onfailureThe name of a target to be executed when the build fails.
nant.tasks.*Deprecated. Each task available to nant has a "true" value, e.g., - nant.tasks.copy
-
-

3.1 Framework related Properties:

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Property - Description
nant.settings.currentframeworkThe current target framework, eg. 'net-1.0'.
nant.settings.currentframework.descriptionDeprecated. Description of the current target framework.
nant.settings.currentframework.frameworkdirectoryDeprecated. The framework directory of the current target framework.
nant.settings.currentframework.sdkdirectoryDeprecated. The framework SDK directory of the current target framework.
nant.settings.currentframework.frameworkassemblydirectoryDeprecated. The framework assembly directory of the current target - framework.
nant.settings.currentframework.runtimeengineDeprecated. The runtime engine of the current target framework if used - eg. mono.exe.
-
-

3.2 Platform related Properties:

-
- - - - - - - - - - - - - - - - - - - -
- Property - Description
nant.platform.nameDeprecated. The name of the platform on which NAnt is currently running - - either win32 or unix.
nant.platform.win32Deprecated. Holds the value true if NAnt is running on the - win32 platform; otherwise, false.
nant.platform.unixDeprecated. Holds the value true if NAnt is running on the - unix platform; otherwise, false.
-
-

4 Read-only Properties

-

- A property can be explicitly marked read-only by setting the - "readonly" attribute on the <property> - task to true. -

-

- The value of a read-only property cannot be modified after it has been set. -

-

- When attempting to override a read-only property using the - <property> task, the new value will be ignored and a warning - message will be output in the build log. Attempting to override read-only - properties using any other means (eg. other tasks) will result in a build - failure. -

-

Note: properties set on the command-line are always read-only.

-

5 Global Properties

-

Properties that should be accessible to all build files on a system can be - defined in the <properties> node of the NAnt configuration - file (NAnt.exe.config).

-

By changing the value of the property in the NAnt configuration file, the - updated value will be accessible to all build files on the system:

-
-    <?xml version="1.0"?>
-    <configuration>
-        ...
-        <nant>
-            ...
-            <properties>
-                <!-- properties defined here are accessible to all build files -->
-                <property name="company.name" value="Foo Ltd." readonly="true" />
-            </properties>
-        </nant>
-    </configuration>
-        
-

Individual build files can then use this property:

-
-    <?xml version="1.0"?>
-    <project name="test">
-        <echo message="Company: ${company.name}" />
-    </project>
-        
-

The output of this build is:

-
-    [echo] Company: Foo Ltd.
-        
-

6 Examples

-

The following build file demonstrates the use of property expansion:

-
-    <?xml version="1.0"?>
-    <project name="Property Test" default="test" basedir=".">
-        <property name="project.name" value="PropertyTest"/>
-        <property name="project.version" value="1.0.0"/>
-        <target name="test">
-            <echo message="Building ${project.name}-${project.version}"/>
-        </target>
-    </project>
-        
-

The output of this build is:

-
-    [echo] Building PropertyTest-1.0.0
-        
-

The following build file demonstrates the use of properties in - expressions. It evaluates the length of the property project.name - and displays it.

-
-    <?xml version="1.0"?>
-    <project name="Expression Test" default="test" basedir=".">
-        <property name="project.name" value="Expression Test"/>
-        <target name="test">
-            <echo message="Project name consists of ${string::get-length(project.name)} characters."/>
-        </target>
-    </project>
-        
-

The output of this build is:

-
-   [echo] Project name consists of 15 characters.
-        
-

See Also

- - - + + + + + + + + NAnt - Properties + + + + + + + + +

Properties

+

[This is preliminary documentation and subject to change.]

+

Contents

+ +

1 Introduction

+

A project can have a set of properties.  These might be set in the + buildfile by the <property> task, or + might be set outside NAnt.  A property has a name and a value. Properties + may be used in the value of task attributes. This is done by placing the + property name between "${" and "}" in the attribute + value. Properties may also be used in expressions. +

+

2 Naming rules

+

A property name is a string of the following characters:

+
    +
  • + letters (A-Z, a-z),
  • +
  • + digits (0-9),
  • +
  • + underscore characters (_),
  • +
  • + dash characters (-),
  • +
  • + dot characters (.),
  • +
+

In addition, a valid property name must start with a letter or an underscore and + must end with a letter, digit or an uderscore.

+

Examples of valid property names include:

+
    +
  • + propertyname
  • +
  • + property.name.with.dots
  • +
  • + property-name-with-dashes
  • +
  • + property.name-with.both-dots.and-dashes
  • +
  • + __prop---3-erty__
  • +
  • + __prop.1...erty__
  • +
  • + property1
  • +
  • + property1.0
  • +
  • + property2.0.0
  • +
  • + _property-2-1__
  • +
  • + property-1-name_
  • +
  • + property-1.0-name
  • +
+

The following property names are not valid in NAnt:

+
    +
  • + !@#!@$!@ (contains illegal characters)
  • +
  • + .aaaaa (starts with a dot)
  • +
  • + -aaaaa (starts with a dash)
  • +
  • + 1aaaaa (starts with a digit)
  • +
  • + aaaaa.aaa.a.a.a.a- (ends with a dash)
  • +
  • + aaaaa.aaa.a.a.a.a. (ends with a dot)
  • +
+

3 Built-in Properties

+

NAnt has these built-in properties:

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Property + Description
nant.versionDeprecated. The version of NAnt.
nant.filenameDeprecated. The full path to the NAnt assembly.
nant.locationDeprecated. The base directory of the NAnt assembly.
nant.project.basedirDeprecated. The absolute path of the project's basedir.
nant.project.buildfileDeprecated. The absolute path of the buildfile.
nant.project.nameDeprecated. The name of the project.
nant.project.defaultDeprecated. The name of the project's default target.
nant.onsuccessThe name of a target to be executed when the build succeeds.
nant.onfailureThe name of a target to be executed when the build fails.
+
+

3.1 Framework related Properties:

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Property + Description
nant.settings.currentframeworkThe current target framework, eg. 'net-1.0'.
nant.settings.currentframework.descriptionDeprecated. Description of the current target framework.
nant.settings.currentframework.frameworkdirectoryDeprecated. The framework directory of the current target framework.
nant.settings.currentframework.sdkdirectoryDeprecated. The framework SDK directory of the current target framework.
nant.settings.currentframework.frameworkassemblydirectoryDeprecated. The framework assembly directory of the current target + framework.
nant.settings.currentframework.runtimeengineDeprecated. The runtime engine of the current target framework if used + eg. mono.exe.
+
+

3.2 Platform related Properties:

+
+ + + + + + + + + + + + + + + + + + + +
+ Property + Description
nant.platform.nameDeprecated. The name of the platform on which NAnt is currently running + - either win32 or unix.
nant.platform.win32Deprecated. Holds the value true if NAnt is running on the + win32 platform; otherwise, false.
nant.platform.unixDeprecated. Holds the value true if NAnt is running on the + unix platform; otherwise, false.
+
+

4 Read-only Properties

+

+ A property can be explicitly marked read-only by setting the + "readonly" attribute on the <property> + task to true. +

+

+ The value of a read-only property cannot be modified after it has been set. +

+

+ When attempting to override a read-only property using the + <property> task, the new value will be ignored and a warning + message will be output in the build log. Attempting to override read-only + properties using any other means (eg. other tasks) will result in a build + failure. +

+

Note: properties set on the command-line are always read-only.

+

5 Global Properties

+

Properties that should be accessible to all build files on a system can be + defined in the <properties> node of the NAnt configuration + file (NAnt.exe.config).

+

By changing the value of the property in the NAnt configuration file, the + updated value will be accessible to all build files on the system:

+
+    <?xml version="1.0"?>
+    <configuration>
+        ...
+        <nant>
+            ...
+            <properties>
+                <!-- properties defined here are accessible to all build files -->
+                <property name="company.name" value="Foo Ltd." readonly="true" />
+            </properties>
+        </nant>
+    </configuration>
+        
+

Individual build files can then use this property:

+
+    <?xml version="1.0"?>
+    <project name="test">
+        <echo message="Company: ${company.name}" />
+    </project>
+        
+

The output of this build is:

+
+    [echo] Company: Foo Ltd.
+        
+

6 Examples

+

The following build file demonstrates the use of property expansion:

+
+    <?xml version="1.0"?>
+    <project name="Property Test" default="test" basedir=".">
+        <property name="project.name" value="PropertyTest"/>
+        <property name="project.version" value="1.0.0"/>
+        <target name="test">
+            <echo message="Building ${project.name}-${project.version}"/>
+        </target>
+    </project>
+        
+

The output of this build is:

+
+    [echo] Building PropertyTest-1.0.0
+        
+

The following build file demonstrates the use of properties in + expressions. It evaluates the length of the property project.name + and displays it.

+
+    <?xml version="1.0"?>
+    <project name="Expression Test" default="test" basedir=".">
+        <property name="project.name" value="Expression Test"/>
+        <target name="test">
+            <echo message="Project name consists of ${string::get-length(project.name)} characters."/>
+        </target>
+    </project>
+        
+

The output of this build is:

+
+   [echo] Project name consists of 15 characters.
+        
+

See Also

+ + + diff --git a/build-support/tools/nant/doc/help/fundamentals/running-nant.html b/build-support/tools/nant/doc/help/fundamentals/running-nant.html index 912bfd45..607b733d 100644 --- a/build-support/tools/nant/doc/help/fundamentals/running-nant.html +++ b/build-support/tools/nant/doc/help/fundamentals/running-nant.html @@ -1,92 +1,92 @@ - - - - - - - - NAnt - Running NAnt - - - - - - - - -

Running NAnt

- -

- Running NAnt is simple once you have it - installed, just type NAnt.  Type - NAnt -help to get usage information.

-

Specifying the Build File

-

- When nothing is specified, NAnt looks for a file ending with .build, - e.g., NAnt.build, in the current directory.  If found, it - uses that file as the build file.  If more than one file is found you need - to specify the build file using the -buildfile option (see below).

-

- If you use the -find option, NAnt will search for a build file in - the parent directory, and so on, until the root of the file system has been - reached.  To make NAnt use another build file, use the command-line option - -buildfile:file, where file is the build file you want to - use.

-

Specifying Targets

-

- You can specify one or more targets that should be executed. When omitted, the - target that is specified in the default attribute of the <project> - tag is used.

-

- The -projecthelp option prints out the description of the project, - if it exists, followed by a list of the project's targets. First those with a - description, then those without one.

-

Setting Properties

-

- To override properties specified in the build file use the - -D:property=value option, where property is the - name of the property, and value is the value for that property. 

-

Examples

-
-
-
NAnt
-
-
-

- Runs NAnt using the file ending in *.build.xml file in the - current directory, on the default target.

-
-
-
NAnt -buildfile:..\ProjectName.build
-
-
-

- Runs NAnt using the ProjectName.build file in the parent - directory, on the default target.

-
-
-
NAnt clean
-
-
-

- Runs NAnt using the default build file in the current directory, on a target - called clean.

-
-
-
NAnt -D:debug=false clean dist
-
-
-

- Runs NAnt using the default build file in the current directory, first on - the clean target and then on the dist target - while setting the debug property to false.  This - could, for example, make a release distribution from scratch.

- - + + + + + + + + NAnt - Running NAnt + + + + + + + + +

Running NAnt

+

[This is preliminary documentation and subject to change.]

+

+ Running NAnt is simple once you have it + installed, just type NAnt.  Type + NAnt -help to get usage information.

+

Specifying the Build File

+

+ When nothing is specified, NAnt looks for a file ending with .build, + e.g., NAnt.build, in the current directory.  If found, it + uses that file as the build file.  If more than one file is found you need + to specify the build file using the -buildfile option (see below).

+

+ If you use the -find option, NAnt will search for a build file in + the parent directory, and so on, until the root of the file system has been + reached.  To make NAnt use another build file, use the command-line option + -buildfile:file, where file is the build file you want to + use.

+

Specifying Targets

+

+ You can specify one or more targets that should be executed. When omitted, the + target that is specified in the default attribute of the <project> + tag is used.

+

+ The -projecthelp option prints out the description of the project, + if it exists, followed by a list of the project's targets. First those with a + description, then those without one.

+

Setting Properties

+

+ To override properties specified in the build file use the + -D:property=value option, where property is the + name of the property, and value is the value for that property. 

+

Examples

+
+
+
NAnt
+
+
+

+ Runs NAnt using the file ending in *.build.xml file in the + current directory, on the default target.

+
+
+
NAnt -buildfile:..\ProjectName.build
+
+
+

+ Runs NAnt using the ProjectName.build file in the parent + directory, on the default target.

+
+
+
NAnt clean
+
+
+

+ Runs NAnt using the default build file in the current directory, on a target + called clean.

+
+
+
NAnt -D:debug=false clean dist
+
+
+

+ Runs NAnt using the default build file in the current directory, first on + the clean target and then on the dist target + while setting the debug property to false.  This + could, for example, make a release distribution from scratch.

+ + diff --git a/build-support/tools/nant/doc/help/fundamentals/targets.html b/build-support/tools/nant/doc/help/fundamentals/targets.html index a54e9a23..ebedcb88 100644 --- a/build-support/tools/nant/doc/help/fundamentals/targets.html +++ b/build-support/tools/nant/doc/help/fundamentals/targets.html @@ -1,136 +1,136 @@ - - - - - - - - NAnt - Targets - - - - - - - - -

Targets

- -

A target has these attributes:

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Attribute - Description - Required
nameThe name of the target.Yes
dependsA comma-separated list of names of targets on which this target depends.No
ifAn expression that should evaluate to true in order for this target to - execute.No
unlessAn expression that, when evaluated to true, will cause the target to be - skipped.No
descriptionA short description of this target's function.No
-
-

- The optional description attribute can be used to provide a - one-line description of this target, which is printed by the - -projecthelp command-line option.

-

Dependencies

-

- A target can depend on other targets.  You might have a target for - compiling, for example, and a target for creating a distributable.  You - can only build a distributable when you have compiled first, so the distribute - target depends on the compile target.  NAnt resolves these - dependencies.

-

- NAnt tries to execute the targets in the depends attribute in the - order they appear from left to right.  It is possible that a target can - get executed earlier when an earlier target depends on it:

-
-    <target name="A"/>
-    <target name="B" depends="A" />
-    <target name="C" depends="B" />
-    <target name="D" depends="C,B,A" />
-        
-

- Suppose we want to execute target D.  From its depends attribute, - you might think that first target C, then B and then A is executed.  - Wrong!  C depends on B, and B depends on A, so first A is executed, then - B, then C, and finally D.

-

- A target gets executed only once, even when more than one target depends on it - (see the previous example). However, when the <call> - task is used to execute a target, both the target and all its dependent targets - will be re-executed.

-

Wild Targets

-

- A target can be marked as wild by setting the name attribute - to "*". A build file can contain up to one wild target, and it is executed if - and only if the invoked target does not exist in the current build file.  Wild - targets let you define how to handle invalid requests, or provide generic - behavior for unknown targets. For example:

-
-     <target name="A" />
-     <target name="B" />
-     <target name="*" />
-         
-

- The last target is executed if the invoked target is neither A nor B.

-

Conditional Execution

-

- A target also has the ability to perform its execution if or unless a property - has been set.  This allows, for example, better control on the building - process depending on the state of the system (OS, command-line property - defines, etc.).  To make a target sense this property, you should - add the if or unless attribute with an expression - that the target should react to. For example:

-
-    <target name="build-module-A" if="${module-A-present}" />
-    <target name="build-own-fake-module-A" unless="${file::exists('fake-module-a.dll')}" />
-        
-

- If no if and no unless attribute is present, the - target will always be executed.

-

Note: the dependencies of a target are always executed before testing the - target's condition.

- - + + + + + + + + NAnt - Targets + + + + + + + + +

Targets

+

[This is preliminary documentation and subject to change.]

+

A target has these attributes:

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Attribute + Description + Required
nameThe name of the target.Yes
dependsA comma-separated list of names of targets on which this target depends.No
ifAn expression that should evaluate to true in order for this target to + execute.No
unlessAn expression that, when evaluated to true, will cause the target to be + skipped.No
descriptionA short description of this target's function.No
+
+

+ The optional description attribute can be used to provide a + one-line description of this target, which is printed by the + -projecthelp command-line option.

+

Dependencies

+

+ A target can depend on other targets.  You might have a target for + compiling, for example, and a target for creating a distributable.  You + can only build a distributable when you have compiled first, so the distribute + target depends on the compile target.  NAnt resolves these + dependencies.

+

+ NAnt tries to execute the targets in the depends attribute in the + order they appear from left to right.  It is possible that a target can + get executed earlier when an earlier target depends on it:

+
+    <target name="A"/>
+    <target name="B" depends="A" />
+    <target name="C" depends="B" />
+    <target name="D" depends="C,B,A" />
+        
+

+ Suppose we want to execute target D.  From its depends attribute, + you might think that first target C, then B and then A is executed.  + Wrong!  C depends on B, and B depends on A, so first A is executed, then + B, then C, and finally D.

+

+ A target gets executed only once, even when more than one target depends on it + (see the previous example). However, when the <call> + task is used to execute a target, both the target and all its dependent targets + will be re-executed.

+

Wild Targets

+

+ A target can be marked as wild by setting the name attribute + to "*". A build file can contain up to one wild target, and it is executed if + and only if the invoked target does not exist in the current build file.  Wild + targets let you define how to handle invalid requests, or provide generic + behavior for unknown targets. For example:

+
+     <target name="A" />
+     <target name="B" />
+     <target name="*" />
+         
+

+ The last target is executed if the invoked target is neither A nor B.

+

Conditional Execution

+

+ A target also has the ability to perform its execution if or unless a property + has been set.  This allows, for example, better control on the building + process depending on the state of the system (OS, command-line property + defines, etc.).  To make a target sense this property, you should + add the if or unless attribute with an expression + that the target should react to. For example:

+
+    <target name="build-module-A" if="${module-A-present}" />
+    <target name="build-own-fake-module-A" unless="${file::exists('fake-module-a.dll')}" />
+        
+

+ If no if and no unless attribute is present, the + target will always be executed.

+

Note: the dependencies of a target are always executed before testing the + target's condition.

+ + diff --git a/build-support/tools/nant/doc/help/fundamentals/tasks.html b/build-support/tools/nant/doc/help/fundamentals/tasks.html index 13f0df28..b2d35c01 100644 --- a/build-support/tools/nant/doc/help/fundamentals/tasks.html +++ b/build-support/tools/nant/doc/help/fundamentals/tasks.html @@ -1,274 +1,277 @@ - - - - - - - - Tasks - - - - - - - - -

Tasks

- -

Contents

- -

1 Introduction

-

A task is a piece of code that can be executed.

-

A task can have multiple attributes (or arguments, if you prefer).  The - value of an attribute may contain references to a property.  - These references will be resolved before the task is executed.

-

Tasks have a common structure:

-
<name attribute1="value1" attribute2="value2" ... />
-
-

where name is the name of the task, attribute# is the attribute - name, and value# is the value for this attribute.

-

> For - more information see the Task Reference.

-

2 Loading custom extensions

-

- Extensions can be devided in the following categories: -

-
    -
  • Tasks
  • -
  • Filters
  • -
  • Functions
  • -
  • Global Types
  • -
-

- NAnt currently provides two mechanisms to make third-party extensions available for use in build scripts: -

-
    -
  • - Automatic discovery -
  • -
  • - Forced scan -
  • -
-

- Both mechanisms use .NET reflection to scan one or more assemblies for the presence of extensions. When found, - these extensions are registered in the NAnt type system, and from then on these are available for all build - scripts (in the current NAnt instance). -

-

2.1 Automatic discovery

-

- To facilitate registration of extensions that are used in multiple (or even all) build - scripts, NAnt supports automatic discovery of extensions. -

-

- In this context, automatic discovery means scanning a predefined set of directories and files for extensions. -

-

- The actual set of directories and files that is scanned is determined by: -

-
    -
  • Operating system
  • -
  • Runtime framework
  • -
  • Project
  • -
-

2.1.1 Operating system

-

- When starting NAnt, all assemblies matching the following patterns will be scanned for extensions: -

-
-

- Windows -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PatternActionDescription

*Tasks.dllincludeNAnt Core assemblies
*Tests.dllincludeNAnt test assemblies
tasks/*.dllincludeFramework-neutral assemblies
NAnt.MSNetTasks.dllexcludeMicrosoft.NET specific assembly
NAnt.MSNet.Tests.dllexcludeMicrosoft.NET specific test assembly
-
-
-
-

- Unix -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PatternActionDescription

*Tasks.dllincludeNAnt Core assemblies
*Tests.dllincludeNAnt test assemblies
tasks/*.dllincludeFramework-neutral assemblies
NAnt.MSNetTasks.dllexcludeMicrosoft.NET specific assembly
NAnt.MSNet.Tests.dllexcludeMicrosoft.NET specific test assembly
NAnt.VSNetTasks.dllexcludeAssembly containing <solution> task
NAnt.Win32Tasks.dllexcludeWin32 specific assembly
NAnt.Win32.Tests.dllexcludeWin32 specific test assembly
-
-
-

- NOTE: all patterns are matched relative to the NAnt base directory, which is the directory in which NAnt.exe is located. -

-

2.1.2 Runtime framework

-

- Depending on the runtime framework on which NAnt is running, some additional directories are scanned. -

-

- In general, the following include patterns are applied: -

-
- tasks/<framework family>/*.dll
- tasks/<framework family>/<framework version>/**/*.dll
-
-

- Example: -

-

- When running NAnt on Microsoft .NET Framework 1.0, assemblies matching the following pattern would be scanned: -

-
- tasks/net/*.dll
- tasks/net/1.0/**/*.dll -
-

- NOTE: the exact set of patterns that are used for a given runtime framework is defined in the NAnt configuration file (NAnt.exe.config). -

-

2.1.3 Project

-

- Whenever a build project is started, NAnt will scan the following directories for assemblies that match the *.dll pattern: -

-
    -
  • - <Project Base Directory>\tasks\ -
  • -
  • - <Project Base Directory>\tasks\<framework family>\ -
  • -
  • - <Project Base Directory>\tasks\<framework family>\<framework version>\ -
  • -
-

- Example: -

-

- For a project file located in "c:\projects\log4net" with NAnt running on the Microsoft .NET 2.0 runtime, NAnt would end-up scanning the following project-level directories: -

-
    -
  • - c:\projects\log4net\tasks\ -
  • -
  • - c:\projects\log4net\tasks\net\ -
  • -
  • - c:\projects\log4net\tasks\net\2.0\ -
  • -
-

2.2 Forced scan

-

- To explicitly instruct NAnt to scan a certain assembly (or set of assemblies) for extensions, build authors can use the <loadtasks> tasks. -

- - + + + + + + + + Tasks + + + + + + + + +

Tasks

+

[This is preliminary documentation and subject to change.]

+

Contents

+ +

1 Introduction

+

A task is a piece of code that can be executed.

+

A task can have multiple attributes (or arguments, if you prefer).  The + value of an attribute may contain references to a property.  + These references will be resolved before the task is executed.

+

Tasks have a common structure:

+
<name attribute1="value1" attribute2="value2" ... />
+
+

where name is the name of the task, attribute# is the attribute + name, and value# is the value for this attribute.

+

> For + more information see the Task Reference.

+

2 Loading custom extensions

+

+ Extensions can be devided in the following categories: +

+
    +
  • Tasks
  • +
  • Filters
  • +
  • Functions
  • +
  • Global Types
  • +
+

+ NAnt currently provides two mechanisms to make third-party extensions available for use in build scripts: +

+
    +
  • + Automatic discovery +
  • +
  • + Forced scan +
  • +
+

+ Both mechanisms use .NET reflection to scan one or more assemblies for the presence of extensions. When found, + these extensions are registered in the NAnt type system, and from then on these are available for all build + scripts (in the current NAnt instance). +

+

2.1 Automatic discovery

+

+ To facilitate registration of extensions that are used in multiple (or even all) build + scripts, NAnt supports automatic discovery of extensions. +

+

+ In this context, automatic discovery means scanning a predefined set of directories and files for extensions. +

+

+ The actual set of directories and files that is scanned is determined by: +

+
    +
  • Operating system
  • +
  • Runtime framework
  • +
  • Project
  • +
+

2.1.1 Operating system

+

+ When starting NAnt, all assemblies matching the following patterns will be scanned for extensions: +

+
+

+ Windows +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PatternActionDescription

*Tasks.dllincludeNAnt Core assemblies
*Tests.dllincludeNAnt test assemblies
extensions/common/neutral/**/*.dllincludeFramework and version-neutral assemblies
NAnt.MSNetTasks.dllexcludeMicrosoft.NET specific assembly
NAnt.MSNet.Tests.dllexcludeMicrosoft.NET specific test assembly
+
+
+
+

+ Unix +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PatternActionDescription

*Tasks.dllincludeNAnt Core assemblies
*Tests.dllincludeNAnt test assemblies
extensions/common/neutral/**/*.dllincludeFramework and version-neutral assemblies
NAnt.MSNetTasks.dllexcludeMicrosoft.NET specific assembly
NAnt.MSNet.Tests.dllexcludeMicrosoft.NET specific test assembly
NAnt.Win32Tasks.dllexcludeWin32 specific assembly
NAnt.Win32.Tests.dllexcludeWin32 specific test assembly
+
+
+

+ NOTE: all patterns are matched relative to the NAnt base directory, which is the directory in which NAnt.exe is located. +

+

2.1.2 Runtime framework

+

+ Depending on the runtime framework on which NAnt is running, some additional directories are scanned. +

+

+ In general, the following include patterns are applied: +

+
+ extensions/common/<CLR version>/**/*.dll
+ extensions/<framework family>/neutral/**/*.dll
+ extensions/<framework family>/<framework version>/**/*.dll
+
+

+ Example: +

+

+ When running NAnt on Microsoft .NET Framework 1.0, assemblies matching the following pattern would be scanned: +

+
+ extensions/common/1.0/**/*.dll
+ extensions/net/neutral/**/*.dll
+ extensions/net/1.0/**/*.dll +
+

+ NOTE: the exact set of patterns that are used for a given runtime framework is defined in the NAnt configuration file (NAnt.exe.config). +

+

2.1.3 Project

+

+ Whenever a build project is started, NAnt will scan the following directories for assemblies that match the *.dll pattern: +

+
    +
  • + <Project Base Directory>/extensions/common/neutral/ +
  • +
  • + <Project Base Directory>/extensions/common/<CLR version>/ +
  • +
  • + <Project Base Directory>/extensions/<framework family>/neutral/ +
  • +
  • + <Project Base Directory>/tasks/<framework family>/<framework version>/ +
  • +
+

+ Example: +

+

+ For a project file located in "c:\projects\log4net" with NAnt running on the Microsoft .NET 2.0 runtime, NAnt would end-up scanning the following project-level directories: +

+
    +
  • + c:\projects\log4net\extensions\common\neutral\ +
  • +
  • + c:\projects\log4net\extensions\common\2.0\ +
  • +
  • + c:\projects\log4net\extensions\net\neutral\ +
  • +
  • + c:\projects\log4net\extensions\net\2.0\ +
  • +
+

2.2 Forced scan

+

+ To explicitly instruct NAnt to scan a certain assembly (or set of assemblies) for extensions, build authors can use the <loadtasks> tasks. +

+ + diff --git a/build-support/tools/nant/doc/help/index.html b/build-support/tools/nant/doc/help/index.html index 26dae29d..fa80bbd9 100644 --- a/build-support/tools/nant/doc/help/index.html +++ b/build-support/tools/nant/doc/help/index.html @@ -1,61 +1,61 @@ - - - - - - - NAnt Help - - - - - - - - - - - - - -
-

NAnt - Help

-
- NAnt logo (link to home page) -
- -

 > Introduction
- Requirements, installation, quick start, history of NAnt and other - miscellaneous topics.

-

 > Fundamentals
- The basic concepts needed to understand and use NAnt.

-

-  > Task Reference -
- List of Tasks. -

-

-  > Type Reference -
- List of global (referencable) Types. -

-

 > Function - Reference
- List of Functions that can be used in Expressions. -

-

 > Filter - Reference
- List of Filters that can be used in FilterChains. -

-
-

Portions of this document have been directly copied from the - Apache Ant user manual.

- - + + + + + + + NAnt Help + + + + + + + + + + + + + +
+

NAnt + Help

+
+ NAnt logo (link to home page) +
+

[This is preliminary documentation and subject to change.]

+

 > Introduction
+ Requirements, installation, quick start, history of NAnt and other + miscellaneous topics.

+

 > Fundamentals
+ The basic concepts needed to understand and use NAnt.

+

+  > Task Reference +
+ List of Tasks. +

+

+  > Type Reference +
+ List of global (referencable) Types. +

+

 > Function + Reference
+ List of Functions that can be used in Expressions. +

+

 > Filter + Reference
+ List of Filters that can be used in FilterChains. +

+
+

Portions of this document have been directly copied from the + Apache Ant user manual.

+ + diff --git a/build-support/tools/nant/doc/help/introduction/fog0000000006.html b/build-support/tools/nant/doc/help/introduction/fog0000000006.html index c7cbf175..3ce160d7 100644 --- a/build-support/tools/nant/doc/help/introduction/fog0000000006.html +++ b/build-support/tools/nant/doc/help/introduction/fog0000000006.html @@ -1,42 +1,42 @@ - - - - - - - - System Requirements - - - - - - - - -

System Requirements

- -

To use NAnt you need one of the following CLR's:

-
    -
  • Microsoft .NET Framework 1.0
  • -
  • Microsoft .NET Framework 1.1
  • -
  • Microsoft .NET Framework 2.0
  • -
  • Mono 1.x
  • -
-

Note: Additional requirements may apply to individual tasks.

-

Library Dependencies

-

NAnt uses a number of open source third party libaries.  Recent versions are included included with the NAnt distribution and no extra work is required to install them.  More information on these libraries are available at:

-

> NUnit - Required for unit testing

-

> NDoc - Required for documentation generation

-

> SharpZipLib - Required for the zip and unzip tasks

- - + + + + + + + + System Requirements + + + + + + + + +

System Requirements

+

[This is preliminary documentation and subject to change.]

+

To use NAnt you need one of the following CLR's:

+
    +
  • Microsoft .NET Framework 1.0
  • +
  • Microsoft .NET Framework 1.1
  • +
  • Microsoft .NET Framework 2.0
  • +
  • Mono 1.x
  • +
+

Note: Additional requirements may apply to individual tasks.

+

Library Dependencies

+

NAnt uses a number of open source third party libaries.  Recent versions are included included with the NAnt distribution and no extra work is required to install them.  More information on these libraries are available at:

+

> NUnit - Required for unit testing

+

> NDoc - Required for documentation generation

+

> SharpZipLib - Required for the zip and unzip tasks

+ + diff --git a/build-support/tools/nant/doc/help/introduction/fog0000000041.html b/build-support/tools/nant/doc/help/introduction/fog0000000041.html index e508c479..0677cf61 100644 --- a/build-support/tools/nant/doc/help/introduction/fog0000000041.html +++ b/build-support/tools/nant/doc/help/introduction/fog0000000041.html @@ -1,39 +1,39 @@ - - - - - - - - Getting Started - - - - - - - - -

Getting Started

- -

This topic will show you NAnt building itself.  Before you begin make sure your system meets the system requirements.

-
    -
  1. Download the latest release.
  2. -
  3. Unzip the distribution into a new folder.
  4. -
  5. Open a command prompt and change the directory to the folder where NAnt was installed.
  6. -
  7. Type bin\nant to build NAnt.
  8. -
  9. Look at the NAnt.build file to see how it works.
  10. -
-

If you did everything correctly you should see something like this:

-

Console output

- - + + + + + + + + Getting Started + + + + + + + + +

Getting Started

+

[This is preliminary documentation and subject to change.]

+

This topic will show you NAnt building itself.  Before you begin make sure your system meets the system requirements.

+
    +
  1. Download the latest source release.
  2. +
  3. Unzip the distribution into a new folder.
  4. +
  5. Open a command prompt and change the directory to the folder where NAnt was installed.
  6. +
  7. Type bin\nant to build NAnt.
  8. +
  9. Look at the NAnt.build file to see how it works.
  10. +
+

If you did everything correctly you should see something like this:

+

Console output

+ + diff --git a/build-support/tools/nant/doc/help/introduction/fog0000000042.html b/build-support/tools/nant/doc/help/introduction/fog0000000042.html index e6ac498b..58a3a7d8 100644 --- a/build-support/tools/nant/doc/help/introduction/fog0000000042.html +++ b/build-support/tools/nant/doc/help/introduction/fog0000000042.html @@ -1,32 +1,32 @@ - - - - - - - - History - - - - - - - - -

History

- -

The idea for NAnt came from Hazware's XBuild project which in turn was inspired from Apache Ant.  After emailing the author for a beta 2 release of the tool and getting no response Gerry Shaw ported the code to .NET beta 2.  Due to the number of changes from .NET beta 1 to beta 2 the result was a total rewrite.

-

NAnt was registered at Source Forge on July 18, 2001 with the first public release made that day.

-

The name NAnt comes from the fact that this tool is Not Ant.

- - + + + + + + + + History + + + + + + + + +

History

+

[This is preliminary documentation and subject to change.]

+

The idea for NAnt came from Hazware's XBuild project which in turn was inspired from Apache Ant.  After emailing the author for a beta 2 release of the tool and getting no response Gerry Shaw ported the code to .NET beta 2.  Due to the number of changes from .NET beta 1 to beta 2 the result was a total rewrite.

+

NAnt was registered at Source Forge on July 18, 2001 with the first public release made that day.

+

The name NAnt comes from the fact that this tool is Not Ant.

+ + diff --git a/build-support/tools/nant/doc/help/introduction/fog0000000079.html b/build-support/tools/nant/doc/help/introduction/fog0000000079.html index 292c6c2f..98ad7570 100644 --- a/build-support/tools/nant/doc/help/introduction/fog0000000079.html +++ b/build-support/tools/nant/doc/help/introduction/fog0000000079.html @@ -1,32 +1,32 @@ - - - - - - - - Why NAnt? - - - - - - - - -

Why NAnt?

- -

NAnt is different.  Instead of a model where it is extended with shell-based commands, NAnt is extended using task classes.  Instead of writing shell commands, the configuration files are XML-based, calling out a target tree where various tasks get executed.  Each task is run by an object that implements a particular Task interface.

-

Granted, this removes some of the expressive power that is inherent in being able to construct a shell command such as 'find . -name foo -exec rm {}', but it gives you the ability to be cross-platform - to work anywhere and everywhere. And hey, if you really need to execute a shell command, NAnt has an <exec> task that allows different commands to be executed based on the OS it is executing on.

-

For more information on why Ant and NAnt were developed read the Ant Introduction.

- - + + + + + + + + Why NAnt? + + + + + + + + +

Why NAnt?

+

[This is preliminary documentation and subject to change.]

+

NAnt is different.  Instead of a model where it is extended with shell-based commands, NAnt is extended using task classes.  Instead of writing shell commands, the configuration files are XML-based, calling out a target tree where various tasks get executed.  Each task is run by an object that implements a particular Task interface.

+

Granted, this removes some of the expressive power that is inherent in being able to construct a shell command such as 'find . -name foo -exec rm {}', but it gives you the ability to be cross-platform - to work anywhere and everywhere. And hey, if you really need to execute a shell command, NAnt has an <exec> task that allows different commands to be executed based on the OS it is executing on.

+

For more information on why Ant and NAnt were developed read the Ant Introduction.

+ + diff --git a/build-support/tools/nant/doc/help/introduction/fog0000000081.html b/build-support/tools/nant/doc/help/introduction/fog0000000081.html index b678e644..32491bcb 100644 --- a/build-support/tools/nant/doc/help/introduction/fog0000000081.html +++ b/build-support/tools/nant/doc/help/introduction/fog0000000081.html @@ -1,35 +1,35 @@ - - - - - - - - Ant Users - - - - - - - - -

Ant Users

- -

If you have used Ant before than NAnt should feel comfortable but NAnt is only compatible with Ant in spirit.   Here is a partial list of differences:

-
    -
  • Tasks do not have to be in a target.  Tasks that appear directly in the project are executed inorder before any tasks in targets are executed.
  • -
  • nant.onsuccess and nant.onfailure properties can be defined target names that will be executed at the end of the build.
  • -
  • NAnt looks for the first file ending in .build instead of build.xml.
  • -
- - + + + + + + + + Ant Users + + + + + + + + +

Ant Users

+

[This is preliminary documentation and subject to change.]

+

If you have used Ant before than NAnt should feel comfortable but NAnt is only compatible with Ant in spirit.   Here is a partial list of differences:

+
    +
  • Tasks do not have to be in a target.  Tasks that appear directly in the project are executed inorder before any tasks in targets are executed.
  • +
  • nant.onsuccess and nant.onfailure properties can be defined target names that will be executed at the end of the build.
  • +
  • NAnt looks for the first file ending in .build instead of build.xml.
  • +
+ + diff --git a/build-support/tools/nant/doc/help/introduction/index.html b/build-support/tools/nant/doc/help/introduction/index.html index 63b0552a..7cea2ccd 100644 --- a/build-support/tools/nant/doc/help/introduction/index.html +++ b/build-support/tools/nant/doc/help/introduction/index.html @@ -1,35 +1,35 @@ - - - - - - - - NAnt - Introduction - - - - - - - - -

Introduction

- -

Requirements, installation, quick start, history of NAnt and other miscellaneous - topics.

-

> Why NAnt?

-

> System - Requirements

-

> Installation

-

> Getting - Started

-

> Ant Users

-

> History

- - + + + + + + + + NAnt - Introduction + + + + + + + + +

Introduction

+

[This is preliminary documentation and subject to change.]

+

Requirements, installation, quick start, history of NAnt and other miscellaneous + topics.

+

> Why NAnt?

+

> System + Requirements

+

> Installation

+

> Getting + Started

+

> Ant Users

+

> History

+ + diff --git a/build-support/tools/nant/doc/help/introduction/installation.html b/build-support/tools/nant/doc/help/introduction/installation.html index 17fad073..a299a27a 100644 --- a/build-support/tools/nant/doc/help/introduction/installation.html +++ b/build-support/tools/nant/doc/help/introduction/installation.html @@ -1,164 +1,164 @@ - - - - - - - - Installation - - - - - - - - - -

Installation

-

NAnt is available in either a source or binary distribution. The binary - distribution is all you need to use NAnt to build your projects, including - creating your own custom tasks, types and functions.

-

If you are upgrading NAnt from a previous version, you must never install over - the top of your previous installation. Delete or rename the existing - installation directory before installing the new version of NAnt.

-

Installing from binaries

-
    -
  1. - Download the binary distribution archive. Either nant-bin.zip or - nant-bin.tar.gz will work, the contents of each archive are the - same.
  2. -
  3. - Remove any previous versions of NAnt you may have installed.
  4. -
  5. - Extract the contents of the archive to the location you wish to install NAnt - (eg: C:\Program Files\NAnt in windows, or /usr/local/nant in Linux) -
  6. -
  7. - Depending on your environment, create a wrapper script to run NAnt: -

    Run NAnt using Microsoft.NET

    -
      -
    • - Create a file called nant.bat in a directory that is included in - the PATH system environment variable. (eg. C:\WINDOWS). -
    • -
    • - Add the following to nant.bat: -
      -@echo off
      -"C:\Program Files\NAnt\bin\NAnt.exe" %*
      -                        
      -
    • -
    -

    Run NAnt using Mono

    -
      -
    • -

      Windows

      -
        -
      • - Create a file called nant.bat in a directory that is included in - the PATH system environment variable. (eg. C:\WINDOWS). -
      • -
      • - Add the following to nant.bat: -
        -@echo off
        -mono "C:\Program Files\NAnt\bin\NAnt.exe" %*
        -                                
        -
      • -
      -
    • -
    • -

      Linux / Cygwin

      -
        -
      • - Create a file called nant in a suitable location in your - filesystem (eg. /usr/local/bin). -
      • -
      • - Add the following to nant: -
        -#!/bin/sh
        -exec mono /usr/local/nant/bin/NAnt.exe "$@"
        -                        
        -
      • -
      • - Ensure nant has permission to execute, eg: -
        -chmod a+x /usr/local/bin/nant
        -                        
        -
      • -
      -
    • -
    -
  8. -
  9. - Open a new command prompt (shell) and type nant -help. If - successful, you should see a usage message displaying available command line - options.
  10. -
  11. - (optional) Download and install NAnt-contrib or other third party extensions to - NAnt.
  12. -
-

Installing from source

-
    -
  1. - Download the source distribution archive. Either nant-src.zip or - nant-src.tar.gz will work, the contents of each archive are the - same.
  2. -
  3. - Remove any previous versions of NAnt you may have installed.
  4. -
  5. - Extract the contents of the archive to a temporary location. This should not - be the location you wish to install NAnt to.
  6. -
  7. - Open a command prompt and change into the folder you extracted the archive to.
  8. -
  9. - Depending on your environment, build the NAnt distribution: -

    Install NAnt using Microsoft .NET

    -
      -
    • -

      GNU Make

      - make install MONO= MCS=csc prefix=installation-path -

      eg. make install MONO= MCS=csc prefix="C:\Program Files"

      -
    • -
    • -

      NMake

      - nmake -f Makefile.nmake install prefix=installation-path -

      eg. nmake -f Makefile.nmake install prefix="C:\Program Files"

      -
    • -
    -

    Install NAnt using Mono

    -
      -
    • -

      GNU Make

      - make install prefix=installation-path -

      eg. make install prefix="C:\Program Files"

      -
    • -
    • -

      NMake

      - nmake -f Makefile.nmake install MONO=mono CSC=mcs prefix=installation-path -

      eg. nmake -f Makefile.nmake install MONO=mono CSC=mcs prefix=/usr/local/

      -
    • -
    -

    - This will first build a bootstrap version of NAnt, and then use that to build - and install the full version to installation-path/NAnt. -

    -
  10. -
  11. - Follow the instructions as for a binary release from step 5.
  12. -
- - + + + + + + + + Installation + + + + + + + + + +

Installation

[This is preliminary documentation and subject to change.]

+

NAnt is available in either a source or binary distribution. The binary + distribution is all you need to use NAnt to build your projects, including + creating your own custom tasks, types and functions.

+

If you are upgrading NAnt from a previous version, you must never install over + the top of your previous installation. Delete or rename the existing + installation directory before installing the new version of NAnt.

+

Installing from binaries

+
    +
  1. + Download the binary distribution archive. Either nant-bin.zip or + nant-bin.tar.gz will work, the contents of each archive are the + same.
  2. +
  3. + Remove any previous versions of NAnt you may have installed.
  4. +
  5. + Extract the contents of the archive to the location you wish to install NAnt + (eg: C:\Program Files\NAnt in windows, or /usr/local/nant in Linux) +
  6. +
  7. + Depending on your environment, create a wrapper script to run NAnt: +

    Run NAnt using Microsoft.NET

    +
      +
    • + Create a file called nant.bat in a directory that is included in + the PATH system environment variable. (eg. C:\WINDOWS). +
    • +
    • + Add the following to nant.bat: +
      +@echo off
      +"C:\Program Files\NAnt\bin\NAnt.exe" %*
      +                        
      +
    • +
    +

    Run NAnt using Mono

    +
      +
    • +

      Windows

      +
        +
      • + Create a file called nant.bat in a directory that is included in + the PATH system environment variable. (eg. C:\WINDOWS). +
      • +
      • + Add the following to nant.bat: +
        +@echo off
        +mono "C:\Program Files\NAnt\bin\NAnt.exe" %*
        +                                
        +
      • +
      +
    • +
    • +

      Linux / Cygwin

      +
        +
      • + Create a file called nant in a suitable location in your + filesystem (eg. /usr/local/bin). +
      • +
      • + Add the following to nant: +
        +#!/bin/sh
        +exec mono /usr/local/nant/bin/NAnt.exe "$@"
        +                        
        +
      • +
      • + Ensure nant has permission to execute, eg: +
        +chmod a+x /usr/local/bin/nant
        +                        
        +
      • +
      +
    • +
    +
  8. +
  9. + Open a new command prompt (shell) and type nant -help. If + successful, you should see a usage message displaying available command line + options.
  10. +
  11. + (optional) Download and install NAnt-contrib or other third party extensions to + NAnt.
  12. +
+

Installing from source

+
    +
  1. + Download the source distribution archive. Either nant-src.zip or + nant-src.tar.gz will work, the contents of each archive are the + same.
  2. +
  3. + Remove any previous versions of NAnt you may have installed.
  4. +
  5. + Extract the contents of the archive to a temporary location. This should not + be the location you wish to install NAnt to.
  6. +
  7. + Open a command prompt and change into the folder you extracted the archive to.
  8. +
  9. + Depending on your environment, build the NAnt distribution: +

    Install NAnt using Microsoft .NET

    +
      +
    • +

      GNU Make

      + make install MONO= MCS=csc prefix=installation-path +

      eg. make install MONO= MCS=csc prefix="C:\Program Files"

      +
    • +
    • +

      NMake

      + nmake -f Makefile.nmake install prefix=installation-path +

      eg. nmake -f Makefile.nmake install prefix="C:\Program Files"

      +
    • +
    +

    Install NAnt using Mono

    +
      +
    • +

      GNU Make

      + make install prefix=installation-path +

      eg. make install prefix="C:\Program Files"

      +
    • +
    • +

      NMake

      + nmake -f Makefile.nmake install MONO=mono CSC=mcs prefix=installation-path +

      eg. nmake -f Makefile.nmake install MONO=mono CSC=mcs prefix=/usr/local/

      +
    • +
    +

    + This will first build a bootstrap version of NAnt, and then use that to build + and install the full version to installation-path/NAnt. +

    +
  10. +
  11. + Follow the instructions as for a binary release from step 5.
  12. +
+ + diff --git a/build-support/tools/nant/doc/help/style.css b/build-support/tools/nant/doc/help/style.css index c097a444..74a6d3c7 100644 --- a/build-support/tools/nant/doc/help/style.css +++ b/build-support/tools/nant/doc/help/style.css @@ -1,213 +1,213 @@ -body { - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 90%; - background: white; - color: black; -} - -h1, h2, h3, h4, h5, h6 { - font-family: Verdana, Arial, Helvetica, Geneva, SunSans-Regular, sans-serif; -} - -h1.LinkHeader, h2.LinkHeader, h3.LinkHeader { - margin-bottom: -18px; -} - -h4 { - margin-bottom: 0.5em; -} - -hr { - color: gray; - background-color: inherit; -} - -input { - font-family: Verdana, Arial, Helvetica, Geneva, SunSans-Regular, sans-serif; -} - -a:link { - color: #0000cc; - background-color: inherit; -} - -a:visited { - color: purple; - background-color: inherit; -} - -a:active { - color: #cc0000; - background-color: inherit; -} - -a:hover { - color: #cc0000; - background-color: inherit; -} - -a.heading:link { - color: black; - background-color: inherit; - text-decoration: none; -} - -a.heading:visited { - color: black; - background-color: inherit; - text-decoration: none; -} - -a.heading:active { - color: black; - background-color: inherit; - text-decoration: none; -} - -a.heading:hover { - color: #0000cc; - background-color: inherit; -} - -.NavBar { - color: black; - background-color: #dfff80; - border-color: #999966; - border-style: none none solid none; - border-width: 2px; -} - -.NavBar-Cell { - font-family: Verdana, Arial, Helvetica, Geneva, SunSans-Regular, sans-serif; - font-size: 79%; -} - -.SideBar { - font-size: 80%; - font-family: Verdana, Arial, Helvetica, Geneva, SunSans-Regular, sans-serif; - padding: 8px; -} - -div.table { - margin-left: 40px; - font-family: Verdana, Arial, Helvetica, Geneva, SunSans-Regular, sans-serif; - font-size: 80%; -} - -div.nested-element { - margin-left: 40px; - position: relative; -} - -div.nested-element table { - font-size: 100%; - border-collapse: collapse; - width: 710px; -} - -.table table { - font-size: 100%; - border-collapse: collapse; - width: 93%; -} - -.table th { - background-color: #eeeeee; - color: #000000; - font-weight: bolder; - padding: 5px; - border: 1px solid #999999; - text-align: left; -} - -.table td { - border: 1px solid #999999; - padding: 5px; -} - -.table td.section { - border: 1px solid #999999; - background-color: #f0f0e0; - padding: 5px; - font-weight: bold; -} - -.N { - color: #99cc00; - background-color: inherit; -} - -.Ant { - color: #ff9900; - background-color: inherit; -} - -pre { - margin-top: .5em; - margin-bottom: .5em; -} - -code { - font-family: Monospace, Courier New, Courier; - background-color: inherit; - color: #0000AA; - font-size: 100%; -} - -pre.code { - font-family: Monospace, Courier New, Courier; - background-color: inherit; - color: #0000AA; - font-size: 100%; -} - -pre.syntax { - background-color: #cccccc; - padding: 4px 8px; - cursor: text; - margin-top: 1em; - margin-bottom: 1em; - color: #000000; - border-width: 1px; - border-style: solid; - border-color: #999999; -} - -span.code { - font-family: Monospace, Courier New, Courier; - background-color: inherit; - color: #0000AA; - font-size: 100%; -} - -span.expression { - font-family: Monospace, Courier New, Courier; - background-color: inherit; - color: #0000AA; - font-weight: bold; - font-size: 100%; -} - -tr.required { -} - -td.required { - font-weight: bolder; -} - -.missing { - color: red; -} - -span.parameter { - color: #606080; -} - -p.topicstatus { - display: block; - color: red; -} - -ul.examples { - list-style-type: lower-roman; -} +body { + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 90%; + background: white; + color: black; +} + +h1, h2, h3, h4, h5, h6 { + font-family: Verdana, Arial, Helvetica, Geneva, SunSans-Regular, sans-serif; +} + +h1.LinkHeader, h2.LinkHeader, h3.LinkHeader { + margin-bottom: -18px; +} + +h4 { + margin-bottom: 0.5em; +} + +hr { + color: gray; + background-color: inherit; +} + +input { + font-family: Verdana, Arial, Helvetica, Geneva, SunSans-Regular, sans-serif; +} + +a:link { + color: #0000cc; + background-color: inherit; +} + +a:visited { + color: purple; + background-color: inherit; +} + +a:active { + color: #cc0000; + background-color: inherit; +} + +a:hover { + color: #cc0000; + background-color: inherit; +} + +a.heading:link { + color: black; + background-color: inherit; + text-decoration: none; +} + +a.heading:visited { + color: black; + background-color: inherit; + text-decoration: none; +} + +a.heading:active { + color: black; + background-color: inherit; + text-decoration: none; +} + +a.heading:hover { + color: #0000cc; + background-color: inherit; +} + +.NavBar { + color: black; + background-color: #dfff80; + border-color: #999966; + border-style: none none solid none; + border-width: 2px; +} + +.NavBar-Cell { + font-family: Verdana, Arial, Helvetica, Geneva, SunSans-Regular, sans-serif; + font-size: 79%; +} + +.SideBar { + font-size: 80%; + font-family: Verdana, Arial, Helvetica, Geneva, SunSans-Regular, sans-serif; + padding: 8px; +} + +div.table { + margin-left: 40px; + font-family: Verdana, Arial, Helvetica, Geneva, SunSans-Regular, sans-serif; + font-size: 80%; +} + +div.nested-element { + margin-left: 40px; + position: relative; +} + +div.nested-element table { + font-size: 100%; + border-collapse: collapse; + width: 710px; +} + +.table table { + font-size: 100%; + border-collapse: collapse; + width: 93%; +} + +.table th { + background-color: #eeeeee; + color: #000000; + font-weight: bolder; + padding: 5px; + border: 1px solid #999999; + text-align: left; +} + +.table td { + border: 1px solid #999999; + padding: 5px; +} + +.table td.section { + border: 1px solid #999999; + background-color: #f0f0e0; + padding: 5px; + font-weight: bold; +} + +.N { + color: #99cc00; + background-color: inherit; +} + +.Ant { + color: #ff9900; + background-color: inherit; +} + +pre { + margin-top: .5em; + margin-bottom: .5em; +} + +code { + font-family: Monospace, Courier New, Courier; + background-color: inherit; + color: #0000AA; + font-size: 100%; +} + +pre.code { + font-family: Monospace, Courier New, Courier; + background-color: inherit; + color: #0000AA; + font-size: 100%; +} + +pre.syntax { + background-color: #cccccc; + padding: 4px 8px; + cursor: text; + margin-top: 1em; + margin-bottom: 1em; + color: #000000; + border-width: 1px; + border-style: solid; + border-color: #999999; +} + +span.code { + font-family: Monospace, Courier New, Courier; + background-color: inherit; + color: #0000AA; + font-size: 100%; +} + +span.expression { + font-family: Monospace, Courier New, Courier; + background-color: inherit; + color: #0000AA; + font-weight: bold; + font-size: 100%; +} + +tr.required { +} + +td.required { + font-weight: bolder; +} + +.missing { + color: red; +} + +span.parameter { + color: #606080; +} + +p.topicstatus { + display: block; + color: red; +} + +ul.examples { + list-style-type: lower-roman; +} diff --git a/build-support/tools/nant/doc/help/tasks/al.html b/build-support/tools/nant/doc/help/tasks/al.html index 0ec6ea12..a529c6d2 100644 --- a/build-support/tools/nant/doc/help/tasks/al.html +++ b/build-support/tools/nant/doc/help/tasks/al.html @@ -19,11 +19,12 @@ -> Task Reference -> <al> - - v0.85 + + v0.91-alpha2

<al>

+

[This is preliminary documentation and subject to change.]

Wraps al.exe, the assembly linker for the .NET Framework.

All specified sources will be embedded using the /embed flag. Other source types are not supported.

Parameters

@@ -79,8 +80,10 @@ delaysign - bool - Specifies whether the assembly should be partially signed. The default is false. + + DelaySign + + Specifies whether the assembly should be partially signed. The default is NAnt.DotNet.Types.DelaySign.NotSet. False @@ -220,6 +223,14 @@ The name of the executable that should be used to launch the external program. False + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + supportstemplate bool @@ -229,35 +240,48 @@ useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False

Nested Elements:

+

+ + + <modules> +

+
One or more modules to be compiled into an assembly.

+

+ + + </modules> +

+

- - <sources> + + <sources>

The set of resources to embed.

- - </sources> + + </sources>

- - <arg> + + <arg>

-
The command-line arguments for the external program.

Represents a command-line argument.

Parameters

AttributeTypeDescriptionRequired
dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
linestring List of command-line arguments; will be passed to the executable as is. False
path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
valuestring A single command-line argument; can contain space characters. False

Nested Elements:

- <path> -

Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

- </path> +
The command-line arguments for the external program.

Represents a command-line argument.

When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

Parameters

AttributeTypeDescriptionRequired
dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
linestring List of command-line arguments; will be passed to the executable as is. False
path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
valuestring A single command-line argument; can contain space characters. False

Nested Elements:

+ <path> +

Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

+ </path>

Examples

  • A single command-line argument containing a space character.

     <arg value="-l -a" />
         
  • Two separate command-line arguments.

    @@ -267,25 +291,36 @@
         

- - </arg> + + </arg>

Examples

  • Create a library containing all icon files in the current directory.

    -<al output="MyIcons.dll" target="lib">
    -    <sources>
    -        <include name="*.ico" />
    -    </sources>
    -</al>
    -    
    + <al output="MyIcons.dll" target="lib"> + <sources> + <include name="*.ico" /> + </sources> + </al> + +
  • +
  • +

    Create an executable assembly manifest from modules.

    +
    +            <al output="Client.exe" target="exe" main="Program.Main">
    +                <modules>
    +                    <include name="Client.netmodule" />
    +                    <include name="Common.netmodule" />
    +                </modules>
    +            </al>
    +                

Requirements

- Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/asminfo.html b/build-support/tools/nant/doc/help/tasks/asminfo.html index 9154dbff..f6d7d99f 100644 --- a/build-support/tools/nant/doc/help/tasks/asminfo.html +++ b/build-support/tools/nant/doc/help/tasks/asminfo.html @@ -19,11 +19,12 @@ -> Task Reference -> <asminfo> - - v0.85 + + v0.91-alpha2

<asminfo>

+

[This is preliminary documentation and subject to change.]

Generates an AssemblyInfo file using the attributes given.

Parameters

@@ -78,34 +79,34 @@

- - <attributes> + + <attributes>

The assembly-level attributes to generate.
<attribute>

Represents an assembly-level attribute.

Parameters

AttributeTypeDescriptionRequired
typestring Typename of the assembly-level attribute. True
asisbool If true then the value of the attribute will be set as is, without actually looking for a matching constructor or named properties. The default is false. False
ifbool Indicates if the attribute should be generated. False
unlessbool Indicates if the attribute should be not generated. False
valuestring Value of the attribute. False
</attribute>

</attributes>

- - <imports> + + <imports>

The namespaces to import.

- - </imports> + + </imports>

- - <references> + + <references>

Assembly files used to locate the types of the specified attributes.

- - </references> + + </references>

Examples

    @@ -153,7 +154,7 @@

Requirements

- Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/attrib.html b/build-support/tools/nant/doc/help/tasks/attrib.html index e0137598..3a745216 100644 --- a/build-support/tools/nant/doc/help/tasks/attrib.html +++ b/build-support/tools/nant/doc/help/tasks/attrib.html @@ -19,11 +19,12 @@ -> Task Reference -> <attrib> - - v0.85 + + v0.91-alpha2

<attrib>

+

[This is preliminary documentation and subject to change.]

Changes the file attributes of a file or set of files and directories.

<attrib> task does not have the concept of turning attributes off. Instead you specify all the attributes that you want turned on and the rest are turned off by default.

@@ -103,14 +104,14 @@

- - <fileset> + + <fileset>

All the matching files and directories in this fileset will have their attributes set.

- - </fileset> + + </fileset>

Examples

    @@ -140,7 +141,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/available.html b/build-support/tools/nant/doc/help/tasks/available.html index e371e7e3..23e34e7c 100644 --- a/build-support/tools/nant/doc/help/tasks/available.html +++ b/build-support/tools/nant/doc/help/tasks/available.html @@ -19,11 +19,12 @@ -> Task Reference -> <available> - - v0.85 + + v0.91-alpha2

<available>

+

[This is preliminary documentation and subject to change.]

(Deprecated)

@@ -39,25 +40,25 @@ - file::exists() + file::exists() Determines whether the specified file exists. - directory::exists() + directory::exists() Determines whether the given path refers to an existing directory on disk. - framework::exists() + framework::exists() Checks whether the specified framework exists.. - framework::sdk-exists() + framework::sdk-exists() Checks whether the SDK for the specified framework is installed. @@ -147,7 +148,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/aximp.html b/build-support/tools/nant/doc/help/tasks/aximp.html index 0bedaaaf..f173892a 100644 --- a/build-support/tools/nant/doc/help/tasks/aximp.html +++ b/build-support/tools/nant/doc/help/tasks/aximp.html @@ -19,11 +19,12 @@ -> Task Reference -> <aximp> - - v0.85 + + v0.91-alpha2

<aximp>

+

[This is preliminary documentation and subject to change.]

Generates a Windows Forms Control that wraps ActiveX Controls defined in an OCX.

Parameters

@@ -129,6 +130,14 @@ The name of the executable that should be used to launch the external program. False + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + supportsrcw bool @@ -138,7 +147,8 @@ useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -148,13 +158,13 @@

- - <arg> + + <arg>

-
The command-line arguments for the external program.

Represents a command-line argument.

Parameters

AttributeTypeDescriptionRequired
dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
linestring List of command-line arguments; will be passed to the executable as is. False
path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
valuestring A single command-line argument; can contain space characters. False

Nested Elements:

- <path> -

Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

- </path> +
The command-line arguments for the external program.

Represents a command-line argument.

When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

Parameters

AttributeTypeDescriptionRequired
dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
linestring List of command-line arguments; will be passed to the executable as is. False
path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
valuestring A single command-line argument; can contain space characters. False

Nested Elements:

+ <path> +

Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

+ </path>

Examples

  • A single command-line argument containing a space character.

     <arg value="-l -a" />
         
  • Two separate command-line arguments.

    @@ -164,20 +174,20 @@
         

- - </arg> + + </arg>

Examples

  • -<aximp ocx="MyControl.ocx" output="MyFormsControl.dll" />
    -    
    + <aximp ocx="MyControl.ocx" output="MyFormsControl.dll" /> +

Requirements

- Assembly: NAnt.Win32Tasks (0.85.2478.0) + Assembly: NAnt.Win32Tasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/call.html b/build-support/tools/nant/doc/help/tasks/call.html index 5558cb83..a5e94ee5 100644 --- a/build-support/tools/nant/doc/help/tasks/call.html +++ b/build-support/tools/nant/doc/help/tasks/call.html @@ -19,11 +19,12 @@ -> Task Reference -> <call> - - v0.85 + + v0.91-alpha2

<call>

+

[This is preliminary documentation and subject to change.]

Calls a NAnt target in the current project.

When the <call> task is used to execute a target, both that target and all its dependent targets will be re-executed.

To avoid dependent targets from being executed more than once, two options are available:

@@ -117,8 +118,7 @@
build:
   
 init:
-
-    [echo] initializing
+                [echo] initializing
     
 compile:
 
@@ -139,8 +139,7 @@ BUILD SUCCEEDED
         
build:
   
 init:
-
-    [echo] initializing
+                [echo] initializing
     
 compile:
 
@@ -156,7 +155,7 @@ BUILD SUCCEEDED
     
     

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/cl.html b/build-support/tools/nant/doc/help/tasks/cl.html index 3c8d87a5..c7c829c1 100644 --- a/build-support/tools/nant/doc/help/tasks/cl.html +++ b/build-support/tools/nant/doc/help/tasks/cl.html @@ -19,11 +19,12 @@ -> Task Reference -> <cl> - - v0.85 + + v0.91-alpha2

<cl>

+

[This is preliminary documentation and subject to change.]

Compiles C/C++ programs using cl.exe, Microsoft's C/C++ compiler.

This task is intended for version 13.00.9466 of cl.exe.

Parameters

@@ -140,10 +141,19 @@ The name of the executable that should be used to launch the external program. False + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -152,64 +162,64 @@

- - <sources> + + <sources>

The list of files to compile.

- - </sources> + + </sources>

- - <includedirs> + + <includedirs>

The list of directories in which to search for include files.

- - </includedirs> + + </includedirs>

- - <metadataincludedirs> + + <metadataincludedirs>

Directories that the compiler will search to resolve file references passed to the #using directive.

- - </metadataincludedirs> + + </metadataincludedirs>

- - <forcedusingfiles> + + <forcedusingfiles>

Specifies metadata files to reference in this compilation as an alternative to passing a file name to #using in source code.

- - </forcedusingfiles> + + </forcedusingfiles>

- - <defines> + + <defines>

Macro definitions to pass to cl.exe. Each entry will generate a /D
<define>

Represents an option.

Parameters

AttributeTypeDescriptionRequired
namestring Name of the option. True
ifbool Indicates if the option should be passed to the task. If true then the option will be passed; otherwise, skipped. The default is true. False
unlessbool Indicates if the option should not be passed to the task. If false then the option will be passed; otherwise, skipped. The default is false. False
valuestring Value of the option. The default is a null reference (Nothing in Visual Basic). False
</define>

</defines>

- - <undefines> + + <undefines>

Macro undefines (/U) to pass to cl.exe.
<undefine>

Represents an option.

Parameters

AttributeTypeDescriptionRequired
namestring Name of the option. True
ifbool Indicates if the option should be passed to the task. If true then the option will be passed; otherwise, skipped. The default is true. False
unlessbool Indicates if the option should not be passed to the task. If false then the option will be passed; otherwise, skipped. The default is false. False
valuestring Value of the option. The default is a null reference (Nothing in Visual Basic). False
</undefine>

</undefines>

@@ -217,13 +227,13 @@

- - <arg> + + <arg>

-
The command-line arguments for the external program.

Represents a command-line argument.

Parameters

AttributeTypeDescriptionRequired
dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
linestring List of command-line arguments; will be passed to the executable as is. False
path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
valuestring A single command-line argument; can contain space characters. False

Nested Elements:

- <path> -

Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

- </path> +
The command-line arguments for the external program.

Represents a command-line argument.

When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

Parameters

AttributeTypeDescriptionRequired
dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
linestring List of command-line arguments; will be passed to the executable as is. False
path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
valuestring A single command-line argument; can contain space characters. False

Nested Elements:

+ <path> +

Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

+ </path>

Examples

  • A single command-line argument containing a space character.

     <arg value="-l -a" />
         
  • Two separate command-line arguments.

    @@ -233,25 +243,25 @@
         

- - </arg> + + </arg>

Examples

  • Compiles helloworld.cpp for the Common Language Runtime.

    -<cl outputdir="build" options="/clr">
    -    <sources>
    -        <include name="helloworld.cpp" />
    -    </sources>
    -</cl>
    -    
    + <cl outputdir="build" options="/clr"> + <sources> + <include name="helloworld.cpp" /> + </sources> + </cl> +

Requirements

- Assembly: NAnt.VisualCppTasks (0.85.2478.0) + Assembly: NAnt.VisualCppTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/copy.html b/build-support/tools/nant/doc/help/tasks/copy.html index ca3bdc78..e6f640f0 100644 --- a/build-support/tools/nant/doc/help/tasks/copy.html +++ b/build-support/tools/nant/doc/help/tasks/copy.html @@ -19,11 +19,12 @@ -> Task Reference -> <copy> - - v0.85 + + v0.91-alpha2

<copy>

+

[This is preliminary documentation and subject to change.]

Copies a file or set of files to a new file or directory.

Files are only copied if the source file is newer than the destination file, or if the destination file does not exist. However, you can explicitly overwrite files with the overwrite attribute.

When a <fileset> is used to select files to copy, the todir attribute must be set. Files that are located under the base directory of the <fileset> will be copied to a directory under the destination directory matching the path relative to the base directory of the <fileset>, unless the flatten attribute is set to true.

@@ -124,26 +125,26 @@

- - <fileset> + + <fileset>

Used to select the files to copy. To use a <fileset>, the todir attribute must be set.

- - </fileset> + + </fileset>

- - <filterchain> + + <filterchain>

Chain of filters used to alter the file's content as it is copied.

- - </filterchain> + + </filterchain>

Examples

    @@ -185,7 +186,7 @@

Requirements

- Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/csc.html b/build-support/tools/nant/doc/help/tasks/csc.html index 1ecd0ff6..0f5172a1 100644 --- a/build-support/tools/nant/doc/help/tasks/csc.html +++ b/build-support/tools/nant/doc/help/tasks/csc.html @@ -19,11 +19,12 @@ -> Task Reference -> <csc> - - v0.85 + + v0.91-alpha2

<csc>

+

[This is preliminary documentation and subject to change.]

Compiles C# programs.

Note: In order to have <csc> task generate manifest resource names that match those generated by Microsoft Visual Studio.NET, the value of the prefix attribute of the <resources> element should match the "Default Namespace" of the C# project, and the value of the dynamicprefix attribute should be set to "true".

@@ -134,6 +135,14 @@ Define conditional compilation symbol(s). False + + delaysign + + DelaySign + + Specifies whether to delay sign the assembly using only the public portion of the strong name key. The default is NotSet. + False + failonerror bool @@ -207,6 +216,12 @@ Icon to associate with the application. False + + win32res + file + Specifies a Win32 resource file (.res). + False +

Framework-configurable parameters

@@ -224,6 +239,14 @@ The name of the executable that should be used to launch the external program. False + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + noconfig bool @@ -236,6 +259,12 @@ Instructs the compiler not to import mscorlib.dll. The default is false. False + + supportsdelaysign + bool + Indicates whether the compiler for a given target framework supports the "delaysign" option. The default is false. + False + supportsdocgeneration bool @@ -287,7 +316,8 @@ useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -296,53 +326,53 @@

- - <warnaserror> + + <warnaserror>

Controls which warnings should be reported as errors.

- - </warnaserror> + + </warnaserror>

- - <nowarn> + + <nowarn>

Specifies a list of warnings that you want the compiler to suppress.
<warning>

Represents a compiler warning.

Parameters

AttributeTypeDescriptionRequired
numberstring A warning number, or comma-separated list of warnings, that you want the compiler to suppress or report. True
ifbool If true then the element will be processed; otherwise, skipped. The default is true. False
unlessbool If true then the element will be skipped; otherwise, processed. The default is false. False
</warning>

</nowarn>

- - <lib> + + <lib>

Deprecated. Additional directories to search in for assembly references.

- - </lib> + + </lib>

- - <references> + + <references>

Reference metadata from the specified assembly files.

- - </references> + + </references>

- - <pkg-references> + + <pkg-references>

Specifies list of packages to reference.
<package>

Represents a package.

Parameters

AttributeTypeDescriptionRequired
namestring Name of the package to reference. Multiple package can be specified with a single element as a semi-colon separated list of package names. True
ifbool Indicates if the package should be passed to the task. If true then the package will be passed; otherwise, skipped. The default is true. False
unlessbool Indicates if the package should not be passed to the task. If false then the package will be passed; otherwise, skipped. The default is false. False
</package>

</pkg-references>

@@ -350,50 +380,50 @@

- - <resources> + + <resources>

Resources to embed.

- - </resources> + + </resources>

- - <modules> + + <modules>

Link the specified modules into this assembly.

- - </modules> + + </modules>

- - <sources> + + <sources>

The set of source files for compilation.

- - </sources> + + </sources>

- - <arg> + + <arg>

-
The command-line arguments for the external program.

Represents a command-line argument.

Parameters

AttributeTypeDescriptionRequired
dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
linestring List of command-line arguments; will be passed to the executable as is. False
path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
valuestring A single command-line argument; can contain space characters. False

Nested Elements:

- <path> -

Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

- </path> +
The command-line arguments for the external program.

Represents a command-line argument.

When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

Parameters

AttributeTypeDescriptionRequired
dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
linestring List of command-line arguments; will be passed to the executable as is. False
path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
valuestring A single command-line argument; can contain space characters. False

Nested Elements:

+ <path> +

Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

+ </path>

Examples

  • A single command-line argument containing a space character.

     <arg value="-l -a" />
         
  • Two separate command-line arguments.

    @@ -403,8 +433,8 @@
         

- - </arg> + + </arg>

Examples

    @@ -432,7 +462,7 @@

Requirements

- Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/cvs-changelog.html b/build-support/tools/nant/doc/help/tasks/cvs-changelog.html index cf21055f..49a1c28d 100644 --- a/build-support/tools/nant/doc/help/tasks/cvs-changelog.html +++ b/build-support/tools/nant/doc/help/tasks/cvs-changelog.html @@ -19,11 +19,12 @@ -> Task Reference -> <cvs-changelog> - - v0.85 + + v0.91-alpha2

<cvs-changelog>

+

[This is preliminary documentation and subject to change.]

Produces an XML report that represents the cvs changes from the given start day, to a given end date.

Parameters

@@ -186,10 +187,19 @@ Description Required + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -198,26 +208,26 @@

- - <fileset> + + <fileset>

Used to specify the version control system (VCS) files that are going to be acted on.

- - </fileset> + + </fileset>

- - <arg> + + <arg>

-
The command-line arguments for the external program.

Represents a command-line argument.

Parameters

AttributeTypeDescriptionRequired
dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
linestring List of command-line arguments; will be passed to the executable as is. False
path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
valuestring A single command-line argument; can contain space characters. False

Nested Elements:

- <path> -

Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

- </path> +
The command-line arguments for the external program.

Represents a command-line argument.

When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

Parameters

AttributeTypeDescriptionRequired
dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
linestring List of command-line arguments; will be passed to the executable as is. False
path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
valuestring A single command-line argument; can contain space characters. False

Nested Elements:

+ <path> +

Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

+ </path>

Examples

  • A single command-line argument containing a space character.

     <arg value="-l -a" />
         
  • Two separate command-line arguments.

    @@ -227,28 +237,28 @@
         

- - </arg> + + </arg>

Examples

  • Report changes in NAnt from 1st of June 2004 until 25th of July 2004.

    -<cvs-changelog
    -    destination="e:/test/nant/sourcecontrol/"
    -    cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant"
    -    module="nant"
    -    start="2004/06/01"
    -    end="2004/07/25"
    -    xmlfile="e:/test/nant/sourcecontrol/changelog-nant.xml"
    -/>
    -    
    + <cvs-changelog + destination="e:/test/nant/sourcecontrol/" + cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" + module="nant" + start="2004/06/01" + end="2004/07/25" + xmlfile="e:/test/nant/sourcecontrol/changelog-nant.xml" + /> +

Requirements

- Assembly: NAnt.SourceControlTasks (0.85.2478.0) + Assembly: NAnt.SourceControlTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/cvs-checkout.html b/build-support/tools/nant/doc/help/tasks/cvs-checkout.html index 747a840b..7d0bbe42 100644 --- a/build-support/tools/nant/doc/help/tasks/cvs-checkout.html +++ b/build-support/tools/nant/doc/help/tasks/cvs-checkout.html @@ -19,11 +19,12 @@ -> Task Reference -> <cvs-checkout> - - v0.85 + + v0.91-alpha2

<cvs-checkout>

+

[This is preliminary documentation and subject to change.]

Checks out a CVS module to the required directory.

Parameters

@@ -208,10 +209,19 @@ Description Required + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -220,26 +230,26 @@

- - <fileset> + + <fileset>

Used to specify the version control system (VCS) files that are going to be acted on.

- - </fileset> + + </fileset>

- - <arg> + + <arg>

-
The command-line arguments for the external program.

Represents a command-line argument.

Parameters

AttributeTypeDescriptionRequired
dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
linestring List of command-line arguments; will be passed to the executable as is. False
path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
valuestring A single command-line argument; can contain space characters. False

Nested Elements:

- <path> -

Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

- </path> +
The command-line arguments for the external program.

Represents a command-line argument.

When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

Parameters

AttributeTypeDescriptionRequired
dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
linestring List of command-line arguments; will be passed to the executable as is. False
path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
valuestring A single command-line argument; can contain space characters. False

Nested Elements:

+ <path> +

Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

+ </path>

Examples

  • A single command-line argument containing a space character.

     <arg value="-l -a" />
         
  • Two separate command-line arguments.

    @@ -249,47 +259,47 @@
         

- - </arg> + + </arg>

Examples

  • Checkout NAnt.

    -<cvs-checkout 
    -    destination="c:\src\nant\" 
    -    cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" 
    -    module="nant" />
    -    
    + <cvs-checkout + destination="c:\src\nant\" + cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" + module="nant" /> +
  • Checkout NAnt revision named 0_85 to the folder c:\src\nant\v0.85.

    -<cvs-checkout 
    -    destination="c:\src\nant" 
    -    cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" 
    -    module="nant"
    -    revision="0_85"
    -    overridedir="v0.85" />
    -    
    + <cvs-checkout + destination="c:\src\nant" + cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" + module="nant" + revision="0_85" + overridedir="v0.85" /> +

    So the nant module tagged with revision 0_85 will be checked out in the folder v0.85 under the working/ destination directory.

    This could be used to work on different branches of a repository at the same time.

  • Checkout NAnt with specified revision date to the folder c:\src\nant\2003_08_16.

    -<cvs-checkout 
    -    destination="c:\src\nant\" 
    -    cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" 
    -    module="nant"
    -    date="2003/08/16"
    -    overridedir="2003_08_16" />
    -    
    + <cvs-checkout + destination="c:\src\nant\" + cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" + module="nant" + date="2003/08/16" + overridedir="2003_08_16" /> +

Requirements

- Assembly: NAnt.SourceControlTasks (0.85.2478.0) + Assembly: NAnt.SourceControlTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/cvs-export.html b/build-support/tools/nant/doc/help/tasks/cvs-export.html index 4d80dbcb..579527f9 100644 --- a/build-support/tools/nant/doc/help/tasks/cvs-export.html +++ b/build-support/tools/nant/doc/help/tasks/cvs-export.html @@ -19,11 +19,12 @@ -> Task Reference -> <cvs-export> - - v0.85 + + v0.91-alpha2

<cvs-export>

+

[This is preliminary documentation and subject to change.]

Exports a cvs module in preperation for a release (i.e. the CVS version folders are not exported).

Parameters

@@ -214,10 +215,19 @@ Description Required + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -226,26 +236,26 @@

- - <fileset> + + <fileset>

Used to specify the version control system (VCS) files that are going to be acted on.

- - </fileset> + + </fileset>

- - <arg> + + <arg>

-
The command-line arguments for the external program.

Represents a command-line argument.

Parameters

AttributeTypeDescriptionRequired
dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
linestring List of command-line arguments; will be passed to the executable as is. False
path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
valuestring A single command-line argument; can contain space characters. False

Nested Elements:

- <path> -

Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

- </path> +
The command-line arguments for the external program.

Represents a command-line argument.

When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

Parameters

AttributeTypeDescriptionRequired
dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
linestring List of command-line arguments; will be passed to the executable as is. False
path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
valuestring A single command-line argument; can contain space characters. False

Nested Elements:

+ <path> +

Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

+ </path>

Examples

  • A single command-line argument containing a space character.

     <arg value="-l -a" />
         
  • Two separate command-line arguments.

    @@ -255,41 +265,41 @@
         

- - </arg> + + </arg>

Examples

  • Export the most recent NAnt sources from cvs.

    -<cvs-export 
    -    destination="c:\src\nant\" 
    -    cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant"  
    -    module="nant" />
    -    
    + <cvs-export + destination="c:\src\nant\" + cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" + module="nant" /> +
  • Export NAnt revision named your_favorite_revision_here to the folder c:\src\nant\replacement_for_module_directory_name. **NOTE**: filesets names for the export task must be prefixed with the module name. This is different than other tasks.

    -<cvs-export 
    -    destination="c:\src\nant\" 
    -    cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" 
    -    module="nant"
    -    revision="your_favorite_revision_here"
    -    overridedir="replacement_for_module_directory_name"
    -    recursive="false">
    -    <fileset>
    -        <include name="nant/bin/NAnt.exe"/>
    -        <include name="nant/bin/NAnt.exe.config"/>
    -    </fileset>
    -</cvs-export>
    -    
    + <cvs-export + destination="c:\src\nant\" + cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" + module="nant" + revision="your_favorite_revision_here" + overridedir="replacement_for_module_directory_name" + recursive="false"> + <fileset> + <include name="nant/bin/NAnt.exe"/> + <include name="nant/bin/NAnt.exe.config"/> + </fileset> + </cvs-export> +

Requirements

- Assembly: NAnt.SourceControlTasks (0.85.2478.0) + Assembly: NAnt.SourceControlTasks (0.91.3881.0)
\ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/cvs-pass.html b/build-support/tools/nant/doc/help/tasks/cvs-pass.html index 99071bf9..a2a7e6cb 100644 --- a/build-support/tools/nant/doc/help/tasks/cvs-pass.html +++ b/build-support/tools/nant/doc/help/tasks/cvs-pass.html @@ -19,11 +19,12 @@ -> Task Reference -> <cvs-pass> - - v0.85 + + v0.91-alpha2

<cvs-pass>

+

[This is preliminary documentation and subject to change.]

Executes the cvs login command which appends or updates an entry to the specified .cvspass file.

Parameters

@@ -83,15 +84,15 @@
  • Update .cvspass file to include the NAnt anonymous login.

    -<cvs-pass cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" 
    -     password="anonymous"
    -     passfile="C:\.cvspass" />
    -    
    + <cvs-pass cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" + password="anonymous" + passfile="C:\.cvspass" /> +
  • Requirements

    - Assembly: NAnt.SourceControlTasks (0.85.2478.0) + Assembly: NAnt.SourceControlTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/cvs-rtag.html b/build-support/tools/nant/doc/help/tasks/cvs-rtag.html index 3ad6b678..20af6cf4 100644 --- a/build-support/tools/nant/doc/help/tasks/cvs-rtag.html +++ b/build-support/tools/nant/doc/help/tasks/cvs-rtag.html @@ -19,11 +19,12 @@ -> Task Reference -> <cvs-rtag> - - v0.85 + + v0.91-alpha2

    <cvs-rtag>

    +

    [This is preliminary documentation and subject to change.]

    Tags all sources in the remote repository with a given tag.

    Unlike tag, the rtag command acts only on sources that are in the repository. Any modified sources on the local file system will NOT be tagged with this command, so a commit should be performed before an rtag is done.

    NOTE: Although a working directory is not necessary to perform the command one must be specified in order to remain in compliance with the cvs library.

    @@ -222,10 +223,19 @@ Description Required + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -234,26 +244,26 @@

    - - <fileset> + + <fileset>

    Used to specify the version control system (VCS) files that are going to be acted on.

    - - </fileset> + + </fileset>

    - - <arg> + + <arg>

    -
    The command-line arguments for the external program.

    Represents a command-line argument.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    - <path> -

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    - </path> +
    The command-line arguments for the external program.

    Represents a command-line argument.

    When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    + <path> +

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    + </path>

    Examples

    • A single command-line argument containing a space character.

       <arg value="-l -a" />
           
    • Two separate command-line arguments.

      @@ -263,38 +273,36 @@
           

    - - </arg> + + </arg>

    Examples

    • Tag NAnt sources remotely.

      -<cvs-rtag 
      -    cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" 
      -    destination="."
      -    module="nant"
      -    tagname="v0_8_4"
      -     />
      -    
      + <cvs-rtag + cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" + destination="." + tag="v0_8_4" + /> +
    • Remove a tag from the remote repository.

      -<cvs-rtag 
      -    cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" 
      -    destination="."
      -    module="nant"
      -    tagname="v0_8_4"
      -    remove="true"
      -     />
      -    
      + <cvs-rtag + cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" + destination="." + tag="v0_8_4" + remove="true" + /> +

    Requirements

    - Assembly: NAnt.SourceControlTasks (0.85.2478.0) + Assembly: NAnt.SourceControlTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/cvs-tag.html b/build-support/tools/nant/doc/help/tasks/cvs-tag.html index f9a47e3f..42a8777d 100644 --- a/build-support/tools/nant/doc/help/tasks/cvs-tag.html +++ b/build-support/tools/nant/doc/help/tasks/cvs-tag.html @@ -19,11 +19,12 @@ -> Task Reference -> <cvs-tag> - - v0.85 + + v0.91-alpha2

    <cvs-tag>

    +

    [This is preliminary documentation and subject to change.]

    Tags all local sources with the specified tag.

    This differs from the <cvs-rtag> task in that it acts on references to the cvs files contained in your local filesystem. As such the sticky tags and local revisions can be considered in commits. It also allows you to verify that all local files have been checked in before a tag is performed.

    Parameters

    @@ -221,10 +222,19 @@ Description Required + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -233,26 +243,26 @@

    - - <fileset> + + <fileset>

    Used to specify the version control system (VCS) files that are going to be acted on.

    - - </fileset> + + </fileset>

    - - <arg> + + <arg>

    -
    The command-line arguments for the external program.

    Represents a command-line argument.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    - <path> -

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    - </path> +
    The command-line arguments for the external program.

    Represents a command-line argument.

    When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    + <path> +

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    + </path>

    Examples

    • A single command-line argument containing a space character.

       <arg value="-l -a" />
           
    • Two separate command-line arguments.

      @@ -262,8 +272,8 @@
           

    - - </arg> + + </arg>

    Examples

      @@ -273,8 +283,7 @@ <cvs-tag cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" destination="." - module="nant" - tagname="v0_8_4" + tag="v0_8_4" /> @@ -284,8 +293,7 @@ <cvs-tag cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" destination="." - module="nant" - tagname="v0_8_4" + tag="v0_8_4" remove="true" fail-if-modified="true" /> @@ -294,7 +302,7 @@

    Requirements

    - Assembly: NAnt.SourceControlTasks (0.85.2478.0) + Assembly: NAnt.SourceControlTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/cvs-update.html b/build-support/tools/nant/doc/help/tasks/cvs-update.html index 1d7be38a..abdec276 100644 --- a/build-support/tools/nant/doc/help/tasks/cvs-update.html +++ b/build-support/tools/nant/doc/help/tasks/cvs-update.html @@ -19,11 +19,12 @@ -> Task Reference -> <cvs-update> - - v0.85 + + v0.91-alpha2

    <cvs-update>

    +

    [This is preliminary documentation and subject to change.]

    Updates a CVS module in a local working directory.

    Parameters

    @@ -220,10 +221,19 @@ Description Required + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -232,26 +242,26 @@

    - - <fileset> + + <fileset>

    Used to specify the version control system (VCS) files that are going to be acted on.

    - - </fileset> + + </fileset>

    - - <arg> + + <arg>

    -
    The command-line arguments for the external program.

    Represents a command-line argument.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    - <path> -

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    - </path> +
    The command-line arguments for the external program.

    Represents a command-line argument.

    When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    + <path> +

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    + </path>

    Examples

    • A single command-line argument containing a space character.

       <arg value="-l -a" />
           
    • Two separate command-line arguments.

      @@ -261,41 +271,41 @@
           

    - - </arg> + + </arg>

    Examples

    • Update nant.

      -<cvs-update 
      -    destination="c:\src\nant\" 
      -    cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" 
      -    password="" 
      -    module="nant" />
      -    
      + <cvs-update + destination="c:\src\nant\" + cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" + password="" + module="nant" /> +
    • Update your NAnt revision named your_favorite_revision_here in the folder c:\src\nant\replacement_for_module_directory_name.

      -<cvs-update 
      -    destination="c:\src\nant\" 
      -    cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" 
      -    module="nant"
      -    revision="your_favorite_revision_here"
      -    overridedir="replacement_for_module_directory_name"
      -    usesharpcvslib="false">
      -    <fileset>
      -        <include name="build.number"/>
      -    </fileset>
      -</cvs-update>
      -    
      + <cvs-update + destination="c:\src\nant\" + cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" + module="nant" + revision="your_favorite_revision_here" + overridedir="replacement_for_module_directory_name" + usesharpcvslib="false"> + <fileset> + <include name="build.number"/> + </fileset> + </cvs-update> +

    Requirements

    - Assembly: NAnt.SourceControlTasks (0.85.2478.0) + Assembly: NAnt.SourceControlTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/cvs.html b/build-support/tools/nant/doc/help/tasks/cvs.html index 0534732e..d54db484 100644 --- a/build-support/tools/nant/doc/help/tasks/cvs.html +++ b/build-support/tools/nant/doc/help/tasks/cvs.html @@ -19,11 +19,12 @@ -> Task Reference -> <cvs> - - v0.85 + + v0.91-alpha2

    <cvs>

    +

    [This is preliminary documentation and subject to change.]

    Executes the cvs command specified by the command attribute.

    Parameters

    @@ -184,10 +185,19 @@ Description Required + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -196,26 +206,26 @@

    - - <fileset> + + <fileset>

    Used to specify the version control system (VCS) files that are going to be acted on.

    - - </fileset> + + </fileset>

    - - <arg> + + <arg>

    -
    The command-line arguments for the external program.

    Represents a command-line argument.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    - <path> -

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    - </path> +
    The command-line arguments for the external program.

    Represents a command-line argument.

    When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    + <path> +

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    + </path>

    Examples

    • A single command-line argument containing a space character.

       <arg value="-l -a" />
           
    • Two separate command-line arguments.

      @@ -225,24 +235,24 @@
           

    - - </arg> + + </arg>

    Examples

    • Checkout NAnt.

      -<cvs command="checkout" 
      -     destination="c:\src\nant\" 
      -     cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" 
      -     module="nant" />
      -    
      + <cvs command="checkout" + destination="c:\src\nant\" + cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" + module="nant" /> +

    Requirements

    - Assembly: NAnt.SourceControlTasks (0.85.2478.0) + Assembly: NAnt.SourceControlTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/delay-sign.html b/build-support/tools/nant/doc/help/tasks/delay-sign.html index 5a746e36..c6278871 100644 --- a/build-support/tools/nant/doc/help/tasks/delay-sign.html +++ b/build-support/tools/nant/doc/help/tasks/delay-sign.html @@ -19,11 +19,12 @@ -> Task Reference -> <delay-sign> - - v0.85 + + v0.91-alpha2

    <delay-sign>

    +

    [This is preliminary documentation and subject to change.]

    Signs delay-signed .NET Assemblies, or re-signs existing assemblies.

    The delay-signing mechanism takes a fileset (named targets) and either a keyfile attribute for a file containing the public and private keys, or keycontainer to name a key container.

    Parameters

    @@ -94,10 +95,19 @@ The name of the executable that should be used to launch the external program. False + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -106,26 +116,26 @@

    - - <targets> + + <targets>

    List of assemblies/executables to sign.

    - - </targets> + + </targets>

    - - <arg> + + <arg>

    -
    The command-line arguments for the external program.

    Represents a command-line argument.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    - <path> -

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    - </path> +
    The command-line arguments for the external program.

    Represents a command-line argument.

    When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    + <path> +

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    + </path>

    Examples

    • A single command-line argument containing a space character.

       <arg value="-l -a" />
           
    • Two separate command-line arguments.

      @@ -135,8 +145,8 @@
           

    - - </arg> + + </arg>

    Examples

      @@ -153,7 +163,7 @@

    Requirements

    - Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/delete.html b/build-support/tools/nant/doc/help/tasks/delete.html index 49ce08ad..14b9fb8a 100644 --- a/build-support/tools/nant/doc/help/tasks/delete.html +++ b/build-support/tools/nant/doc/help/tasks/delete.html @@ -19,11 +19,12 @@ -> Task Reference -> <delete> - - v0.85 + + v0.91-alpha2

    <delete>

    +

    [This is preliminary documentation and subject to change.]

    Deletes a file, fileset or directory.

    Deletes either a single file, all files in a specified directory and its sub-directories, or a set of files specified by one or more filesets.

    If the file or dir attribute is set then the fileset contents will be ignored. To delete the files in the fileset ommit the file and dir attributes in the <delete> element.

    @@ -87,14 +88,14 @@

    - - <fileset> + + <fileset>

    All the files in the file set will be deleted.

    - - </fileset> + + </fileset>

    Examples

      @@ -124,7 +125,7 @@

    Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/description.html b/build-support/tools/nant/doc/help/tasks/description.html index d6050673..a86d1fa2 100644 --- a/build-support/tools/nant/doc/help/tasks/description.html +++ b/build-support/tools/nant/doc/help/tasks/description.html @@ -19,11 +19,12 @@ -> Task Reference -> <description> - - v0.85 + + v0.91-alpha2

    <description>

    +

    [This is preliminary documentation and subject to change.]

    An empty task that allows a build file to contain a description.

    Parameters

    @@ -65,13 +66,13 @@
  • Set a description.

    -<description>This is a description.</description>
    -    
    + <description>This is a description.</description> +
  • Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/echo.html b/build-support/tools/nant/doc/help/tasks/echo.html index 4c703e62..4c048558 100644 --- a/build-support/tools/nant/doc/help/tasks/echo.html +++ b/build-support/tools/nant/doc/help/tasks/echo.html @@ -19,15 +19,18 @@ -> Task Reference -> <echo> - - v0.85 + + v0.91-alpha2

    <echo>

    +

    [This is preliminary documentation and subject to change.]

    Writes a message to the build log or a specified file.

    -

    The message can be specified using the message attribute or as inline content.

    +

    The message can be specified using the message attribute or as inline content. If neither is included - or the message contains only whitespace - then an empty message will be emitted in the output.

    Macros in the message will be expanded.

    When writing to a file, the level attribute is ignored.

    +

    + Note: Since NAnt 0.86, a newline will no longer be implictly added when writing a message to a file.

    Parameters

    @@ -43,6 +46,14 @@ + + + + + + @@ -95,6 +106,20 @@

    Writes a message with level Debug to the build log.

     <echo message="Hello, World!" level="Debug" />
    +    
    + +
  • +

    Writes a two-line message to the build log using inline content.

    +
    +<echo>First line
    +Second line</echo>
    +    
    +
  • +
  • +

    Writes a two-line message to the build log using the message attribute.

    +
    +<echo message='First line
    +Second line</echo>
         
  • @@ -118,7 +143,7 @@

    Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/exec.html b/build-support/tools/nant/doc/help/tasks/exec.html index 338a340e..91c1f692 100644 --- a/build-support/tools/nant/doc/help/tasks/exec.html +++ b/build-support/tools/nant/doc/help/tasks/exec.html @@ -19,12 +19,14 @@ -> Task Reference -> <exec> -
  • +
    Determines whether the <echo> task should append to the file, or overwrite it. By default, the file will be overwritten. False
    encoding + Encoding + The encoding to use when writing message to a file. The default is UTF-8 encoding without a Byte Order Mark (BOM). False
    file file

    <exec>

    +

    [This is preliminary documentation and subject to change.]

    Executes a system command.

    +

    Use of nested arg element(s) is advised over the commandline parameter, as it supports automatic quoting and can resolve relative to absolute paths.

    Parameters

    @@ -55,7 +57,15 @@ - + + + + + + + @@ -64,6 +74,12 @@ + + + + + + @@ -73,10 +89,17 @@ + + + + + + - + @@ -132,50 +155,44 @@ - - - - - -
    commandline string The command-line arguments for the program. The command-line arguments for the program. These will be passed as is to the external program. When quoting is necessary, these must be explictly set as part of the value. Consider using nested arg elements instead. False
    managed + ManagedExecution + Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False
    The file to which the standard output will be redirected. False
    pidpropertystring The name of a property in which the unique identifier of the spawned application should be stored. Only of interest if spawn is true. False
    resultproperty string False
    spawnbool Gets or sets a value indicating whether the application should be spawned. If you spawn an application, its output will not be logged by NAnt. The default is false. False
    useruntimeengine bool Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + Deprecated. Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. False
    The name of the executable that should be used to launch the external program. False
    useruntimeenginebool Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. False

    Nested Elements:

    - - <environment> + + <environment>

    -
    Environment variables to pass to the program.

    A set of environment variables.

    Nested Elements:

    - <option> -

    Deprecated. Environment variable to pass to a program.

    Represents an option.

    Parameters

    AttributeTypeDescriptionRequired
    namestring Name of the option. True
    ifbool Indicates if the option should be passed to the task. If true then the option will be passed; otherwise, skipped. The default is true. False
    unlessbool Indicates if the option should not be passed to the task. If false then the option will be passed; otherwise, skipped. The default is false. False
    valuestring Value of the option. The default is a null reference (Nothing in Visual Basic). False

    - </option> -

    - <variable> -

    Environment variable to pass to a program.

    Represents an environment variable.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The name of the environment variable. True
    dirdirectory The value for a directory-based environment variable. NAnt will convert it to an absolute path. False
    filefile The value for a file-based environment variable. NAnt will convert it to an absolute filename. False
    ifbool Indicates if the environment variable should be passed to the external program. If true then the environment variable will be passed; otherwise, skipped. The default is true. False
    path<path> The value for a PATH like environment variable. You can use : or ; as path separators and NAnt will convert it to the platform's local conventions. False
    unlessbool Indicates if the environment variable should not be passed to the external program. If false then the environment variable will be passed; otherwise, skipped. The default is false. False
    valuestring The literal value for the environment variable. False

    Nested Elements:

    - <path> -

    Sets a single environment variable and treats it like a PATH - ensures the right separator for the local platform is used.

    - </path> -

    - </variable> +
    Environment variables to pass to the program.

    A set of environment variables.

    Nested Elements:

    + <option> +

    Deprecated. Environment variable to pass to a program.

    Represents an option.

    Parameters

    AttributeTypeDescriptionRequired
    namestring Name of the option. True
    ifbool Indicates if the option should be passed to the task. If true then the option will be passed; otherwise, skipped. The default is true. False
    unlessbool Indicates if the option should not be passed to the task. If false then the option will be passed; otherwise, skipped. The default is false. False
    valuestring Value of the option. The default is a null reference (Nothing in Visual Basic). False

    + </option> +

    + <variable> +

    Environment variable to pass to a program.

    Represents an environment variable.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The name of the environment variable. True
    dirdirectory The value for a directory-based environment variable. NAnt will convert it to an absolute path. False
    filefile The value for a file-based environment variable. NAnt will convert it to an absolute filename. False
    ifbool Indicates if the environment variable should be passed to the external program. If true then the environment variable will be passed; otherwise, skipped. The default is true. False
    path<path> The value for a PATH like environment variable. You can use : or ; as path separators and NAnt will convert it to the platform's local conventions. False
    unlessbool Indicates if the environment variable should not be passed to the external program. If false then the environment variable will be passed; otherwise, skipped. The default is false. False
    valuestring The literal value for the environment variable. False

    Nested Elements:

    + <path> +

    Sets a single environment variable and treats it like a PATH - ensures the right separator for the local platform is used.

    + </path> +

    + </variable>

    - - </environment> + + </environment>

    - - <arg> + + <arg>

    -
    The command-line arguments for the external program.

    Represents a command-line argument.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    - <path> -

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    - </path> +
    The command-line arguments for the external program.

    Represents a command-line argument.

    When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    + <path> +

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    + </path>

    Examples

    • A single command-line argument containing a space character.

       <arg value="-l -a" />
           
    • Two separate command-line arguments.

      @@ -185,8 +202,8 @@
           

    - - </arg> + + </arg>

    Examples

      @@ -225,7 +242,7 @@

    Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/fail.html b/build-support/tools/nant/doc/help/tasks/fail.html index 7d98f39d..aac41a25 100644 --- a/build-support/tools/nant/doc/help/tasks/fail.html +++ b/build-support/tools/nant/doc/help/tasks/fail.html @@ -19,11 +19,12 @@ -> Task Reference -> <fail> - - v0.85 + + v0.91-alpha2

    <fail>

    +

    [This is preliminary documentation and subject to change.]

    Exits the current build by throwing a BuildException, optionally printing additional information.

    The cause of the build failure can be specified using the message attribute or as inline content.

    Macros in the message will be expanded.

    @@ -91,7 +92,7 @@

    Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/foreach.html b/build-support/tools/nant/doc/help/tasks/foreach.html index d2bcfecb..e2176177 100644 --- a/build-support/tools/nant/doc/help/tasks/foreach.html +++ b/build-support/tools/nant/doc/help/tasks/foreach.html @@ -19,11 +19,12 @@ -> Task Reference -> <foreach> - - v0.85 + + v0.91-alpha2

    <foreach>

    +

    [This is preliminary documentation and subject to change.]

    Loops over a set of items.

    Can loop over files in directory, lines in a file, etc.

    The property value is stored before the loop is done, and restored when the loop is finished.

    @@ -101,99 +102,99 @@

    - - <in> + + <in>

    -
    Stuff to operate in. Just like the in attribute, but supports more complicated things like a <fileset> and such.

    Note: Please remove the in attribute if you are using this element.

    Nested Elements:

    - <items> -

    - </items> +
    Stuff to operate in. Just like the in attribute, but supports more complicated things like a <fileset> and such.

    Note: Please remove the in attribute if you are using this element.

    Nested Elements:

    + <items> +

    + </items>

    - - </in> + + </in>

    - - <do> + + <do>

    Tasks to execute for each matching item.

    Executes embedded tasks in the order in which they are defined.

    Parameters

    AttributeTypeDescriptionRequired
    failonerrorbool Determines if task failure stops the build, or is just reported. The default is true. False
    ifbool If true then the task will be executed; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the task will be executed; otherwise, skipped. The default is false. False
    verbosebool Determines whether the task should report detailed build log messages. The default is false. False

    - - </do> + + </do>

    Examples

    • Loops over the files in c:\.

      -<foreach item="File" in="c:\" property="filename">
      -    <echo message="${filename}" />
      -</foreach>
      -    
      + <foreach item="File" in="c:\" property="filename"> + <echo message="${filename}" /> + </foreach> +
    • Loops over all files in the project directory.

      -<foreach item="File" property="filename">
      -    <in>
      -        <items>
      -            <include name="**" />
      -        </items>
      -    </in>
      -    <do>
      -        <echo message="${filename}" />
      -    </do>
      -</foreach>
      -    
      + <foreach item="File" property="filename"> + <in> + <items> + <include name="**" /> + </items> + </in> + <do> + <echo message="${filename}" /> + </do> + </foreach> +
    • Loops over the folders in c:\.

      -<foreach item="Folder" in="c:\" property="foldername">
      -    <echo message="${foldername}" />
      -</foreach>
      -    
      + <foreach item="Folder" in="c:\" property="foldername"> + <echo message="${foldername}" /> + </foreach> +
    • Loops over all folders in the project directory.

      -<foreach item="Folder" property="foldername">
      -    <in>
      -        <items>
      -            <include name="**" />
      -        </items>
      -    </in>
      -    <do>
      -        <echo message="${foldername}" />
      -    </do>
      -</foreach>
      -    
      + <foreach item="Folder" property="foldername"> + <in> + <items> + <include name="**" /> + </items> + </in> + <do> + <echo message="${foldername}" /> + </do> + </foreach> +
    • Loops over a list.

      -<foreach item="String" in="1 2,3" delim=" ," property="count">
      -    <echo message="${count}" />
      -</foreach>
      -    
      + <foreach item="String" in="1 2,3" delim=" ," property="count"> + <echo message="${count}" /> + </foreach> +
    • Loops over lines in the file properties.csv, where each line is of the format name,value.

      -<foreach item="Line" in="properties.csv" delim="," property="x,y">
      -    <echo message="Read pair ${x}=${y}" />
      -</foreach>
      -    
      + <foreach item="Line" in="properties.csv" delim="," property="x,y"> + <echo message="Read pair ${x}=${y}" /> + </foreach> +

    Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/get.html b/build-support/tools/nant/doc/help/tasks/get.html index ab69d40d..bee1e150 100644 --- a/build-support/tools/nant/doc/help/tasks/get.html +++ b/build-support/tools/nant/doc/help/tasks/get.html @@ -19,11 +19,12 @@ -> Task Reference -> <get> - - v0.85 + + v0.91-alpha2

    <get>

    +

    [This is preliminary documentation and subject to change.]

    Gets a particular file from a URL source.

    Options include verbose reporting and timestamp based fetches.

    Currently, only HTTP and UNC protocols are supported. FTP support may be added when more pluggable protocols are added to the System.Net assembly.

    @@ -107,38 +108,38 @@

    - - <proxy> + + <proxy>

    The network proxy to use to access the Internet resource.

    - - </proxy> + + </proxy>

    - - <credentials> + + <credentials>

    The network credentials used for authenticating the request with the Internet resource.

    - - </credentials> + + </credentials>

    - - <certificates> + + <certificates>

    The security certificates to associate with the request.

    - - </certificates> + + </certificates>

    Examples

      @@ -162,7 +163,7 @@

    Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/gunzip.html b/build-support/tools/nant/doc/help/tasks/gunzip.html index 58a05b15..fe2e150e 100644 --- a/build-support/tools/nant/doc/help/tasks/gunzip.html +++ b/build-support/tools/nant/doc/help/tasks/gunzip.html @@ -19,11 +19,12 @@ -> Task Reference -> <gunzip> - - v0.85 + + v0.91-alpha2

    <gunzip>

    +

    [This is preliminary documentation and subject to change.]

    Expands a file packed using GZip compression.

    Parameters

    @@ -77,13 +78,13 @@
  • Expands "test.tar.gz" to "test2.tar".

    -<gunzip src="test.tar.gz" dest="test.tar" />
    -    
    + <gunzip src="test.tar.gz" dest="test.tar" /> +
  • Requirements

    - Assembly: NAnt.CompressionTasks (0.85.2478.0) + Assembly: NAnt.CompressionTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/if.html b/build-support/tools/nant/doc/help/tasks/if.html index c6efe337..0d516b20 100644 --- a/build-support/tools/nant/doc/help/tasks/if.html +++ b/build-support/tools/nant/doc/help/tasks/if.html @@ -19,11 +19,12 @@ -> Task Reference -> <if> - - v0.85 + + v0.91-alpha2

    <if>

    +

    [This is preliminary documentation and subject to change.]

    Checks the conditional attributes and executes the children if true.

    If no conditions are checked, all child tasks are executed.

    If more than one attribute is used, they are &&'d. The first to fail stops the check.

    @@ -38,13 +39,13 @@ - property::exists() + property::exists() Checks whether the specified property exists. - target::exists() + target::exists() Checks whether the specified target exists. @@ -130,35 +131,35 @@

    - - <comparefiles> + + <comparefiles>

    Deprecated. The <fileset> that contains the comparison files for the uptodatefile(s) check.

    - - </comparefiles> + + </comparefiles>

    - - <uptodatefiles> + + <uptodatefiles>

    Deprecated. The <fileset> that contains the uptodate files for the comparefile(s) check.

    - - </uptodatefiles> + + </uptodatefiles>

    Examples

    • Tests the value of a property using expressions.

      -<if test="${build.configuration='release'}">
      +<if test="${build.configuration=='release'}">
           <echo>Build release configuration</echo>
       </if>
           
      @@ -249,7 +250,7 @@

    Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/ifnot.html b/build-support/tools/nant/doc/help/tasks/ifnot.html index 03d7c238..d21a9f28 100644 --- a/build-support/tools/nant/doc/help/tasks/ifnot.html +++ b/build-support/tools/nant/doc/help/tasks/ifnot.html @@ -19,11 +19,12 @@ -> Task Reference -> <ifnot> - - v0.85 + + v0.91-alpha2

    <ifnot>

    +

    [This is preliminary documentation and subject to change.]

    (Deprecated)

    @@ -108,57 +109,57 @@

    - - <comparefiles> + + <comparefiles>

    Deprecated. The <fileset> that contains the comparison files for the uptodatefile(s) check.

    - - </comparefiles> + + </comparefiles>

    - - <uptodatefiles> + + <uptodatefiles>

    Deprecated. The <fileset> that contains the uptodate files for the comparefile(s) check.

    - - </uptodatefiles> + + </uptodatefiles>

    Examples

    • Check that a property does not exist.

      -<ifnot propertyexists="myProp">
      -    <echo message="myProp does not exist."/>
      -</if>
      -    
      + <ifnot propertyexists="myProp"> + <echo message="myProp does not exist."/> + </if> +

      Check that a property value is not true.

      -<ifnot propertytrue="myProp">
      -    <echo message="myProp is not true."/>
      -</if>
      -    
      + <ifnot propertytrue="myProp"> + <echo message="myProp is not true."/> + </if> +
    • Check that a target does not exist.

      -<ifnot targetexists="myTarget">
      -    <echo message="myTarget does not exist."/>
      -</if>
      -    
      + <ifnot targetexists="myTarget"> + <echo message="myTarget does not exist."/> + </if> +

    Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/ilasm.html b/build-support/tools/nant/doc/help/tasks/ilasm.html index f7fcb587..3f0d30f1 100644 --- a/build-support/tools/nant/doc/help/tasks/ilasm.html +++ b/build-support/tools/nant/doc/help/tasks/ilasm.html @@ -19,11 +19,12 @@ -> Task Reference -> <ilasm> - - v0.85 + + v0.91-alpha2

    <ilasm>

    +

    [This is preliminary documentation and subject to change.]

    Compiles ILASM programs.

    Parameters

    @@ -34,6 +35,12 @@ Description Required + + output + file + Specifies the name of the output file created by the compiler. + True + target string @@ -94,12 +101,6 @@ Specifies whether or not the compiler should type a formatted listing of the compilation result. False - - output - file - Specifies the name of the output file created by the compiler. - False - rebuild bool @@ -165,10 +166,19 @@ The name of the executable that should be used to launch the external program. False + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -177,26 +187,26 @@

    - - <sources> + + <sources>

    Specifies the set of source files to compile.

    - - </sources> + + </sources>

    - - <arg> + + <arg>

    -
    The command-line arguments for the external program.

    Represents a command-line argument.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    - <path> -

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    - </path> +
    The command-line arguments for the external program.

    Represents a command-line argument.

    When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    + <path> +

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    + </path>

    Examples

    • A single command-line argument containing a space character.

       <arg value="-l -a" />
           
    • Two separate command-line arguments.

      @@ -206,25 +216,25 @@
           

    - - </arg> + + </arg>

    Examples

    • Compiles helloworld.il to helloworld.exe.

      -<ilasm target="exe" output="helloworld.exe" debug="true">
      -    <sources>
      -        <include name="helloworld.il" />
      -    </sources>
      -</ilasm>
      -    
      + <ilasm target="exe" output="helloworld.exe" debug="true"> + <sources> + <include name="helloworld.il" /> + </sources> + </ilasm> +

    Requirements

    - Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/ildasm.html b/build-support/tools/nant/doc/help/tasks/ildasm.html index c4916a7f..874aaeee 100644 --- a/build-support/tools/nant/doc/help/tasks/ildasm.html +++ b/build-support/tools/nant/doc/help/tasks/ildasm.html @@ -19,11 +19,12 @@ -> Task Reference -> <ildasm> - - v0.85 + + v0.91-alpha2

    <ildasm>

    +

    [This is preliminary documentation and subject to change.]

    Disassembles any portable executable (PE) file that contains intermediate language (IL) code.

    Files are only disassembled if the input file is newer than the output file, or if the output file does not exist. However, you can explicitly force files to be disassembled with the rebuild attribute.

    A <fileset> can be used to select files to disassemble. To use a <fileset>, the todir attribute must be set. The file name of the output file will be equal to the file name of the input file, but with extension ".il".

    @@ -191,10 +192,19 @@ The name of the executable that should be used to launch the external program. False + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -203,14 +213,14 @@

    - - <assemblies> + + <assemblies>

    Specifies a list of PE files to disassemble. To use a <fileset>, the todir attribute must be specified.

    - - </assemblies> + + </assemblies>

    Examples

      @@ -234,7 +244,7 @@

    Requirements

    - Assembly: NAnt.MSNetTasks (0.85.2478.0) + Assembly: NAnt.MSNetTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/include.html b/build-support/tools/nant/doc/help/tasks/include.html index c4909605..a292ce66 100644 --- a/build-support/tools/nant/doc/help/tasks/include.html +++ b/build-support/tools/nant/doc/help/tasks/include.html @@ -19,11 +19,12 @@ -> Task Reference -> <include> - - v0.85 + + v0.91-alpha2

    <include>

    +

    [This is preliminary documentation and subject to change.]

    Includes an external build file.

    This task is used to break your build file into smaller chunks. You can load a partial build file and have it included into the build file.

    @@ -80,13 +81,13 @@

  • Include a task that fetches the project version from the GetProjectVersion.include build file.

    -<include buildfile="GetProjectVersion.include" />
    -    
    + <include buildfile="GetProjectVersion.include" /> +
  • Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/index.html b/build-support/tools/nant/doc/help/tasks/index.html index 9a47a62c..c7fcde6a 100644 --- a/build-support/tools/nant/doc/help/tasks/index.html +++ b/build-support/tools/nant/doc/help/tasks/index.html @@ -16,14 +16,15 @@ -> Help - -> - Task Reference + -> + Task Reference - - v0.85 + + v0.91-alpha2

    Task Reference

    +

    [This is preliminary documentation and subject to change.]

    @@ -368,7 +369,7 @@ - + + + + + - + - +
    script Executes the code contained within the task. This code can include custom extension function definitions. Once the script task has executed those custom functions will be available for use in the buildfile. Executes the code contained within the task.
    @@ -436,11 +437,17 @@ Sets properties with the current date and time.
    + untar + Extracts files from a tar archive.
    unzip Extracts files from a zip file. Extracts files from a zip archive.
    diff --git a/build-support/tools/nant/doc/help/tasks/jsc.html b/build-support/tools/nant/doc/help/tasks/jsc.html index 18693331..f1d4461e 100644 --- a/build-support/tools/nant/doc/help/tasks/jsc.html +++ b/build-support/tools/nant/doc/help/tasks/jsc.html @@ -19,11 +19,12 @@ -> Task Reference -> <jsc>

    <jsc>

    +

    [This is preliminary documentation and subject to change.]

    Compiles JScript.NET programs.

    Parameters

    @@ -34,18 +35,36 @@ Description Required + + autoref + bool + Automatically references assemblies if they have the same name as an imported namespace or as a type annotation when declaring a variable. The default is false. + False + codepage string Specifies the code page to use for all source code files in the compilation. False + + nostdlib + bool + Instructs the compiler not to import standard library, and changes autoref to false. The default is false. + False + platform string Specifies which platform version of common language runtime (CLR) can run the output file. False + + versionsafe + bool + Causes the compiler to generate errors for implicit method overrides. The default is false. + False + warninglevel string @@ -130,6 +149,12 @@ Icon to associate with the application. False + + win32res + file + Specifies a Win32 resource file (.res). + False +

    Framework-configurable parameters

    @@ -147,6 +172,14 @@ The name of the executable that should be used to launch the external program. False + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + supportsnowarnlist bool @@ -174,7 +207,8 @@ useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -183,33 +217,33 @@

    - - <lib> + + <lib>

    Deprecated. Additional directories to search in for assembly references.

    - - </lib> + + </lib>

    - - <references> + + <references>

    Reference metadata from the specified assembly files.

    - - </references> + + </references>

    - - <pkg-references> + + <pkg-references>

    Specifies list of packages to reference.
    <package>

    Represents a package.

    Parameters

    AttributeTypeDescriptionRequired
    namestring Name of the package to reference. Multiple package can be specified with a single element as a semi-colon separated list of package names. True
    ifbool Indicates if the package should be passed to the task. If true then the package will be passed; otherwise, skipped. The default is true. False
    unlessbool Indicates if the package should not be passed to the task. If false then the package will be passed; otherwise, skipped. The default is false. False
    </package>

    </pkg-references>

    @@ -217,38 +251,38 @@

    - - <resources> + + <resources>

    Resources to embed.

    - - </resources> + + </resources>

    - - <sources> + + <sources>

    The set of source files for compilation.

    - - </sources> + + </sources>

    - - <arg> + + <arg>

    -
    The command-line arguments for the external program.

    Represents a command-line argument.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    - <path> -

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    - </path> +
    The command-line arguments for the external program.

    Represents a command-line argument.

    When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    + <path> +

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    + </path>

    Examples

    • A single command-line argument containing a space character.

       <arg value="-l -a" />
           
    • Two separate command-line arguments.

      @@ -258,25 +292,25 @@
           

    - - </arg> + + </arg>

    Examples

    • Compile helloworld.js to helloworld.exe.

      -<jsc target="exe" output="helloworld.exe" debug="true">
      -    <sources>
      -        <include name="helloworld.js" />
      -    </sources>
      -</jsc>
      -    
      + <jsc target="exe" output="helloworld.exe" debug="true"> + <sources> + <include name="helloworld.js" /> + </sources> + </jsc> +

    Requirements

    - Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/lib.html b/build-support/tools/nant/doc/help/tasks/lib.html index f864b17e..b40a8efe 100644 --- a/build-support/tools/nant/doc/help/tasks/lib.html +++ b/build-support/tools/nant/doc/help/tasks/lib.html @@ -19,11 +19,12 @@ -> Task Reference -> <lib> - - v0.85 + + v0.91-alpha2

    <lib>

    +

    [This is preliminary documentation and subject to change.]

    Run lib.exe, Microsoft's Library Manager.

    Parameters

    @@ -99,10 +100,19 @@ The name of the executable that should be used to launch the external program. False + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -111,54 +121,54 @@

    - - <sources> + + <sources>

    The list of files to combine into the output file.

    - - </sources> + + </sources>

    - - <symbols> + + <symbols>

    Symbols to add to the symbol table.
    <symbol>

    Represents a symbol.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The name of the symbol. True
    ifbool If true then the element will be processed; otherwise, skipped. The default is true. False
    unlessbool If true then the element will be skipped; otherwise, processed. The default is false. False
    </symbol>

    </symbols>

    - - <ignorelibraries> + + <ignorelibraries>

    Names of default libraries to ignore.
    <library>

    Represents a library.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The name of the library. True
    ifbool If true then the element will be processed; otherwise, skipped. The default is true. False
    unlessbool If true then the element will be skipped; otherwise, processed. The default is false. False
    </library>

    </ignorelibraries>

    - - <libdirs> + + <libdirs>

    The list of additional library directories to search.

    - - </libdirs> + + </libdirs>

    - - <arg> + + <arg>

    -
    The command-line arguments for the external program.

    Represents a command-line argument.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    - <path> -

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    - </path> +
    The command-line arguments for the external program.

    Represents a command-line argument.

    When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    + <path> +

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    + </path>

    Examples

    • A single command-line argument containing a space character.

       <arg value="-l -a" />
           
    • Two separate command-line arguments.

      @@ -168,25 +178,25 @@
           

    - - </arg> + + </arg>

    Examples

    • Create a library.

      -<lib output="library.lib">
      -    <sources>
      -        <include name="library.obj" />
      -    </sources>
      -</lib>
      -    
      + <lib output="library.lib"> + <sources> + <include name="library.obj" /> + </sources> + </lib> +

    Requirements

    - Assembly: NAnt.VisualCppTasks (0.85.2478.0) + Assembly: NAnt.VisualCppTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/license.html b/build-support/tools/nant/doc/help/tasks/license.html index 89ac1104..3541d4ae 100644 --- a/build-support/tools/nant/doc/help/tasks/license.html +++ b/build-support/tools/nant/doc/help/tasks/license.html @@ -19,11 +19,12 @@ -> Task Reference -> <license> - - v0.85 + + v0.91-alpha2

    <license>

    +

    [This is preliminary documentation and subject to change.]

    Generates a .licence file from a .licx file.

    If no output file is specified, the default filename is the name of the target file with the extension .licenses appended.

    Parameters

    @@ -113,6 +114,14 @@ Indicates whether the current target framework has a command line tool for compiling licenses files. The default is true. False + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + supportsassemblyreferences bool @@ -122,7 +131,8 @@ useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -131,27 +141,27 @@

    - - <assemblies> + + <assemblies>

    Names of the references to scan for the licensed component.

    - - </assemblies> + + </assemblies>

    Examples

    • Generate the file component.exe.licenses file from component.licx.

      -<license input="component.licx" licensetarget="component.exe" />
      -    
      + <license input="component.licx" licensetarget="component.exe" /> +

    Requirements

    - Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/link.html b/build-support/tools/nant/doc/help/tasks/link.html index 032240e6..083d468a 100644 --- a/build-support/tools/nant/doc/help/tasks/link.html +++ b/build-support/tools/nant/doc/help/tasks/link.html @@ -19,11 +19,12 @@ -> Task Reference -> <link> - - v0.85 + + v0.91-alpha2

    <link>

    +

    [This is preliminary documentation and subject to change.]

    Links files using link.exe, Microsoft's Incremental Linker.

    This task is intended for version 7.00.9466 of link.exe.

    Parameters

    @@ -41,6 +42,12 @@ The output file. True + + moduledefinition + file + The name of a module-definition file (.def) to be passed to the linker. + False + options string @@ -100,10 +107,19 @@ The name of the executable that should be used to launch the external program. False + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -112,76 +128,76 @@

    - - <delayloaded> + + <delayloaded>

    Specified DLLs for delay loading.

    - - </delayloaded> + + </delayloaded>

    - - <sources> + + <sources>

    The list of files to combine into the output file.

    - - </sources> + + </sources>

    - - <libdirs> + + <libdirs>

    The list of additional library directories to search.

    - - </libdirs> + + </libdirs>

    - - <modules> + + <modules>

    Link the specified modules into this assembly.

    - - </modules> + + </modules>

    - - <embeddedresources> + + <embeddedresources>

    Embed the specified resources into this assembly.

    - - </embeddedresources> + + </embeddedresources>

    - - <symbols> + + <symbols>

    Symbols to add to the symbol table.
    <symbol>

    Represents a symbol.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The name of the symbol. True
    ifbool If true then the element will be processed; otherwise, skipped. The default is true. False
    unlessbool If true then the element will be skipped; otherwise, processed. The default is false. False
    </symbol>

    </symbols>

    - - <ignorelibraries> + + <ignorelibraries>

    Names of libraries that you want the linker to ignore when it resolves external references.
    <library>

    Represents a library.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The name of the library. True
    ifbool If true then the element will be processed; otherwise, skipped. The default is true. False
    unlessbool If true then the element will be skipped; otherwise, processed. The default is false. False
    </library>

    </ignorelibraries>

    @@ -189,13 +205,13 @@

    - - <arg> + + <arg>

    -
    The command-line arguments for the external program.

    Represents a command-line argument.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    - <path> -

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    - </path> +
    The command-line arguments for the external program.

    Represents a command-line argument.

    When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    + <path> +

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    + </path>

    Examples

    • A single command-line argument containing a space character.

       <arg value="-l -a" />
           
    • Two separate command-line arguments.

      @@ -205,25 +221,25 @@
           

    - - </arg> + + </arg>

    Examples

    • Combine all object files in the current directory into helloworld.exe.

      -<link output="helloworld.exe">
      -    <sources>
      -        <include name="*.obj" />
      -    </sources>
      -</link>
      -    
      + <link output="helloworld.exe"> + <sources> + <include name="*.obj" /> + </sources> + </link> +

    Requirements

    - Assembly: NAnt.VisualCppTasks (0.85.2478.0) + Assembly: NAnt.VisualCppTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/loadfile.html b/build-support/tools/nant/doc/help/tasks/loadfile.html index 5ece4dbd..2f5de2c1 100644 --- a/build-support/tools/nant/doc/help/tasks/loadfile.html +++ b/build-support/tools/nant/doc/help/tasks/loadfile.html @@ -19,11 +19,12 @@ -> Task Reference -> <loadfile> - - v0.85 + + v0.91-alpha2

    <loadfile>

    +

    [This is preliminary documentation and subject to change.]

    Load a text file into a single property.

    Unless an encoding is specified, the encoding associated with the system's current ANSI code page is used.

    An UTF-8, little-endian Unicode, and big-endian Unicode encoded text file is automatically recognized, if the file starts with the appropriate byte order marks.

    @@ -86,50 +87,50 @@

    - - <filterchain> + + <filterchain>

    The filterchain definition to use.

    - - </filterchain> + + </filterchain>

    Examples

    • Load file message.txt into property "message".

      -<loadfile
      -    file="message.txt"
      -    property="message" />
      -    
      + <loadfile + file="message.txt" + property="message" /> +
    • Load a file using the "latin-1" encoding.

      -<loadfile
      -    file="loadfile.xml"
      -    property="encoded-file"
      -    encoding="iso-8859-1" />
      -    
      + <loadfile + file="loadfile.xml" + property="encoded-file" + encoding="iso-8859-1" /> +
    • Load a file, replacing all @NOW@ tokens with the current date/time.

      -<loadfile file="token.txt" property="token-file">
      -    <filterchain>
      -        <replacetokens>
      -            <token key="NOW" value="${datetime::now()}" />
      -        </replacetokens>
      -    </filterchain>
      -</loadfile>
      -    
      + <loadfile file="token.txt" property="token-file"> + <filterchain> + <replacetokens> + <token key="NOW" value="${datetime::now()}" /> + </replacetokens> + </filterchain> + </loadfile> +

    Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/loadtasks.html b/build-support/tools/nant/doc/help/tasks/loadtasks.html index a2b6f91e..440f515c 100644 --- a/build-support/tools/nant/doc/help/tasks/loadtasks.html +++ b/build-support/tools/nant/doc/help/tasks/loadtasks.html @@ -19,11 +19,12 @@ -> Task Reference -> <loadtasks> - - v0.85 + + v0.91-alpha2

    <loadtasks>

    +

    [This is preliminary documentation and subject to change.]

    Loads tasks form a given assembly or all assemblies in a given directory or <fileset>.

    Parameters

    @@ -76,14 +77,14 @@

    - - <fileset> + + <fileset>

    Used to select which directories or individual assemblies to scan.

    - - </fileset> + + </fileset>

    Examples

      @@ -113,7 +114,7 @@

    Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/mail.html b/build-support/tools/nant/doc/help/tasks/mail.html index ff9a6463..7f80b6be 100644 --- a/build-support/tools/nant/doc/help/tasks/mail.html +++ b/build-support/tools/nant/doc/help/tasks/mail.html @@ -19,11 +19,12 @@ -> Task Reference -> <mail> - - v0.85 + + v0.91-alpha2

    <mail>

    +

    [This is preliminary documentation and subject to change.]

    Sends an SMTP message.

    Text and text files to include in the message body may be specified as well as binary attachments.

    Parameters

    @@ -115,52 +116,52 @@

    - - <files> + + <files>

    Files that are transmitted as part of the body of the email message.

    - - </files> + + </files>

    - - <attachments> + + <attachments>

    Attachments that are transmitted with the message.

    - - </attachments> + + </attachments>

    Examples

    • Sends an email from nant@sourceforge.net to three recipients with a subject about the attachments. The body of the message will be the combined contents of all .txt files in the base directory. All zip files in the base directory will be included as attachments. The message will be sent using the smtpserver.anywhere.com SMTP server.

      -<mail 
      -    from="nant@sourceforge.net" 
      -    tolist="recipient1@sourceforge.net" 
      -    cclist="recipient2@sourceforge.net" 
      -    bcclist="recipient3@sourceforge.net" 
      -    subject="Msg 7: With attachments" 
      -    mailhost="smtpserver.anywhere.com">
      -    <files>
      -        <include name="*.txt" />
      -    </files>   
      -    <attachments>
      -        <include name="*.zip" />
      -    </attachments>
      -</mail>
      -    
      + <mail + from="nant@sourceforge.net" + tolist="recipient1@sourceforge.net" + cclist="recipient2@sourceforge.net" + bcclist="recipient3@sourceforge.net" + subject="Msg 7: With attachments" + mailhost="smtpserver.anywhere.com"> + <files> + <include name="*.txt" /> + </files> + <attachments> + <include name="*.zip" /> + </attachments> + </mail> +

    Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/mc.html b/build-support/tools/nant/doc/help/tasks/mc.html index f3b013ea..698bd953 100644 --- a/build-support/tools/nant/doc/help/tasks/mc.html +++ b/build-support/tools/nant/doc/help/tasks/mc.html @@ -19,11 +19,12 @@ -> Task Reference -> <mc> - - v0.85 + + v0.91-alpha2

    <mc>

    +

    [This is preliminary documentation and subject to change.]

    Compiles messages using mc.exe, Microsoft's Win32 message compiler.

    Parameters

    @@ -105,10 +106,19 @@ The name of the executable that should be used to launch the external program. False + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -118,13 +128,13 @@

    - - <arg> + + <arg>

    -
    The command-line arguments for the external program.

    Represents a command-line argument.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    - <path> -

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    - </path> +
    The command-line arguments for the external program.

    Represents a command-line argument.

    When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    + <path> +

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    + </path>

    Examples

    • A single command-line argument containing a space character.

       <arg value="-l -a" />
           
    • Two separate command-line arguments.

      @@ -134,25 +144,25 @@
           

    - - </arg> + + </arg>

    Examples

    • Compile text.mc using the default options.

      -<mc mcfile="text.mc"/>
      -    
      + <mc mcfile="text.mc"/> +

      Compile text.mc, passing a path to store the header, the rc file and some additonal options.

      -<mc mcfile="text.mc" headerpath=".\build" rcpath=".\build" options="-v -c -u"/>
      -    
      + <mc mcfile="text.mc" headerpath=".\build" rcpath=".\build" options="-v -c -u"/> +

    Requirements

    - Assembly: NAnt.VisualCppTasks (0.85.2478.0) + Assembly: NAnt.VisualCppTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/midl.html b/build-support/tools/nant/doc/help/tasks/midl.html index 8dc229f1..c8b23747 100644 --- a/build-support/tools/nant/doc/help/tasks/midl.html +++ b/build-support/tools/nant/doc/help/tasks/midl.html @@ -19,11 +19,12 @@ -> Task Reference -> <midl> - - v0.85 + + v0.91-alpha2

    <midl>

    +

    [This is preliminary documentation and subject to change.]

    This tasks allows you to run MIDL.exe.

    This task only supports a small subset of the MIDL.EXE command line switches, but you can use the options element to specify any other unsupported commands you want to specify.

    Parameters

    @@ -166,10 +167,19 @@ The name of the executable that should be used to launch the external program. False + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -178,50 +188,50 @@

    - - <options> + + <options>

    Additional options to pass to midl.exe.
    <option>

    Represents an option.

    Parameters

    AttributeTypeDescriptionRequired
    namestring Name of the option. True
    ifbool Indicates if the option should be passed to the task. If true then the option will be passed; otherwise, skipped. The default is true. False
    unlessbool Indicates if the option should not be passed to the task. If false then the option will be passed; otherwise, skipped. The default is false. False
    valuestring Value of the option. The default is a null reference (Nothing in Visual Basic). False
    </option>

    </options>

    - - <defines> + + <defines>

    Macro definitions to pass to mdil.exe. Each entry will generate a /D
    <define>

    Represents an option.

    Parameters

    AttributeTypeDescriptionRequired
    namestring Name of the option. True
    ifbool Indicates if the option should be passed to the task. If true then the option will be passed; otherwise, skipped. The default is true. False
    unlessbool Indicates if the option should not be passed to the task. If false then the option will be passed; otherwise, skipped. The default is false. False
    valuestring Value of the option. The default is a null reference (Nothing in Visual Basic). False
    </define>

    </defines>

    - - <undefines> + + <undefines>

    Macro undefines (/U) to pass to mdil.
    <undefine>

    Represents an option.

    Parameters

    AttributeTypeDescriptionRequired
    namestring Name of the option. True
    ifbool Indicates if the option should be passed to the task. If true then the option will be passed; otherwise, skipped. The default is true. False
    unlessbool Indicates if the option should not be passed to the task. If false then the option will be passed; otherwise, skipped. The default is false. False
    valuestring Value of the option. The default is a null reference (Nothing in Visual Basic). False
    </undefine>

    </undefines>

    - - <includedirs> + + <includedirs>

    The list of directories in which to search for include files.

    - - </includedirs> + + </includedirs>

    - - <arg> + + <arg>

    -
    The command-line arguments for the external program.

    Represents a command-line argument.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    - <path> -

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    - </path> +
    The command-line arguments for the external program.

    Represents a command-line argument.

    When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    + <path> +

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    + </path>

    Examples

    • A single command-line argument containing a space character.

       <arg value="-l -a" />
           
    • Two separate command-line arguments.

      @@ -231,37 +241,37 @@
           

    - - </arg> + + </arg>

    Examples

    • -<midl
      -    env="win32"
      -    Oi="cf"
      -    tlb="${outputdir}\TempAtl.tlb"
      -    header="${outputdir}\TempAtl.h"
      -    iid="${outputdir}\TempAtl_i.c"
      -    proxy="${outputdir}\TempAtl_p.c"
      -    filename="TempAtl.idl"
      ->
      -    <defines>
      -        <define name="_DEBUG"/>
      -        <define name="WIN32" value="1"/>
      -    </defines>
      -    <options>
      -        <option name="/mktyplib203"/>
      -        <option name="/error" value="allocation"/>
      -    </options>
      -</midl>
      -    
      + <midl + env="win32" + Oi="cf" + tlb="${outputdir}\TempAtl.tlb" + header="${outputdir}\TempAtl.h" + iid="${outputdir}\TempAtl_i.c" + proxy="${outputdir}\TempAtl_p.c" + filename="TempAtl.idl" + > + <defines> + <define name="_DEBUG"/> + <define name="WIN32" value="1"/> + </defines> + <options> + <option name="/mktyplib203"/> + <option name="/error" value="allocation"/> + </options> + </midl> +

    Requirements

    - Assembly: NAnt.VisualCppTasks (0.85.2478.0) + Assembly: NAnt.VisualCppTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/mkdir.html b/build-support/tools/nant/doc/help/tasks/mkdir.html index 44ee5ddc..85c7b102 100644 --- a/build-support/tools/nant/doc/help/tasks/mkdir.html +++ b/build-support/tools/nant/doc/help/tasks/mkdir.html @@ -19,11 +19,12 @@ -> Task Reference -> <mkdir> - - v0.85 + + v0.91-alpha2

    <mkdir>

    +

    [This is preliminary documentation and subject to change.]

    Creates a directory and any non-existent parent directory if necessary.

    Parameters

    @@ -71,19 +72,19 @@
  • Create the directory build.

    -<mkdir dir="build" />
    -    
    + <mkdir dir="build" /> +
  • Create the directory tree one/two/three.

    -<mkdir dir="one/two/three" />
    -    
    + <mkdir dir="one/two/three" /> +
  • Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/move.html b/build-support/tools/nant/doc/help/tasks/move.html index ad1f2360..e51a6de5 100644 --- a/build-support/tools/nant/doc/help/tasks/move.html +++ b/build-support/tools/nant/doc/help/tasks/move.html @@ -19,11 +19,12 @@ -> Task Reference -> <move> - - v0.85 + + v0.91-alpha2

    <move>

    +

    [This is preliminary documentation and subject to change.]

    Moves a file or set of files to a new file or directory.

    Files are only moved if the source file is newer than the destination file, or if the destination file does not exist. However, you can explicitly overwrite files with the overwrite attribute.

    A <fileset> can be used to select files to move. To use a <fileset>, the todir attribute must be set.

    @@ -123,26 +124,26 @@

    - - <fileset> + + <fileset>

    Used to select the files to move. To use a <fileset>, the todir attribute must be set.

    - - </fileset> + + </fileset>

    - - <filterchain> + + <filterchain>

    Chain of filters used to alter the file's content as it is moved.

    - - </filterchain> + + </filterchain>

    Examples

      @@ -184,7 +185,7 @@

    Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/nant.html b/build-support/tools/nant/doc/help/tasks/nant.html index cb546a80..ac6feda2 100644 --- a/build-support/tools/nant/doc/help/tasks/nant.html +++ b/build-support/tools/nant/doc/help/tasks/nant.html @@ -19,11 +19,12 @@ -> Task Reference -> <nant> - - v0.85 + + v0.91-alpha2

    <nant>

    +

    [This is preliminary documentation and subject to change.]

    Runs NAnt on a supplied build file, or a set of build files.

    By default, all the properties of the current project will be available in the new project. Alternatively, you can set inheritall to false to not copy any properties to the new project.

    You can also set properties in the new project from the old project by using nested property tags. These properties are always passed to the new project regardless of the setting of inheritall. This allows you to parameterize your subprojects.

    @@ -91,37 +92,37 @@

    - - <buildfiles> + + <buildfiles>

    Used to specify a set of build files to process.

    - - </buildfiles> + + </buildfiles>

    - - <properties> + + <properties>

    -
    Specifies a collection of properties that should be created in the executed project. Note, existing properties with identical names that are not read-only will be overwritten.
    <property>

    Sets a property in the current project.

    Note: NAnt uses a number of predefined properties.

    Parameters

    - +
    AttributeTypeDescriptionRequired
    namestring The name of the NAnt property to set. True
    valuestring The value to assign to the NAnt property.

    - This attribute's properties will not be automatically expanded! +

    Specifies a collection of properties that should be created in the executed project. Note, existing properties with identical names that are not read-only will be overwritten.
    <property>

    Sets a property in the current project.

    Note: NAnt uses a number of predefined properties.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The name of the NAnt property to set. True
    valuestring The value to assign to the NAnt property.

    + This attribute's properties will not be automatically expanded!

    True
    dynamicbool Specifies whether references to other properties should not be expanded when the value of the property is set, but expanded when the property is actually used. By default, properties will be expanded when set. False
    overwritebool Specifies whether the value of a property should be overwritten if the property already exists (unless the property is read-only). The default is true. False
    readonlybool Specifies whether the property is read-only or not. The default is false. False
    failonerrorbool Determines if task failure stops the build, or is just reported. The default is true. False
    ifbool If true then the task will be executed; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the task will be executed; otherwise, skipped. The default is false. False
    verbosebool Determines whether the task should report detailed build log messages. The default is false. False

    Examples

    • Define a debug property with value true.

      -<property name="debug" value="true" />
      -    
    • Use the user-defined debug property.

      -<property name="trace" value="${debug}" />
      -    
    • Define a read-only property. This is just like passing in the param on the command line.

      -<property name="do_not_touch_ME" value="hammer" readonly="true" />
      -    
    • Define a property, but do not overwrite the value if the property already exists (eg. it was specified on the command line).

      -<project name="property-example">
      -  <property name="debug" value="true" overwrite="false" />
      -  <echo message="debug: ${debug}" />
      -</project>
      -    

      Executing this build file with the command line option -D:debug=false, would cause the value specified on the command line to remain unaltered.

      -[echo] debug: false
      -    
    </property>
    + <property name="debug" value="true" /> +
  • Use the user-defined debug property.

    +            <property name="trace" value="${debug}" />
    +                
  • Define a read-only property. This is just like passing in the param on the command line.

    +            <property name="do_not_touch_ME" value="hammer" readonly="true" />
    +                
  • Define a property, but do not overwrite the value if the property already exists (eg. it was specified on the command line).

    +            <project name="property-example">
    +              <property name="debug" value="true" overwrite="false" />
    +              <echo message="debug: ${debug}" />
    +            </project>
    +                

    Executing this build file with the command line option -D:debug=false, would cause the value specified on the command line to remain unaltered.

    +            [echo] debug: false
    +                
  • </property>

    </properties>

    Examples

      @@ -158,7 +159,7 @@

    Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/nantschema.html b/build-support/tools/nant/doc/help/tasks/nantschema.html index dd2e9f87..79db398c 100644 --- a/build-support/tools/nant/doc/help/tasks/nantschema.html +++ b/build-support/tools/nant/doc/help/tasks/nantschema.html @@ -19,11 +19,12 @@ -> Task Reference -> <nantschema>

    <nantschema>

    +

    [This is preliminary documentation and subject to change.]

    Creates an XSD File for all available tasks.

    This can be used in conjuntion with the command-line option to do XSD Schema validation on the build file.

    Parameters

    @@ -84,13 +85,13 @@
  • Creates a NAnt.xsd file in the current project directory.

    -<nantschema output="NAnt.xsd" />
    -    
    + <nantschema output="NAnt.xsd" /> +
  • Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/ndoc.html b/build-support/tools/nant/doc/help/tasks/ndoc.html index 9cffaebe..4f99baef 100644 --- a/build-support/tools/nant/doc/help/tasks/ndoc.html +++ b/build-support/tools/nant/doc/help/tasks/ndoc.html @@ -19,11 +19,12 @@ -> Task Reference -> <ndoc> - - v0.85 + + v0.91-alpha2

    <ndoc>

    +

    [This is preliminary documentation and subject to change.]

    Runs NDoc V1.3.1 to create documentation.

    See the NDoc home page for more information.

    @@ -67,50 +68,50 @@

    - - <assemblies> + + <assemblies>

    The set of assemblies to document.

    - - </assemblies> + + </assemblies>

    - - <summaries> + + <summaries>

    The set of namespace summary files.

    - - </summaries> + + </summaries>

    - - <documenters> + + <documenters>

    Specifies the formats in which the documentation should be generated.

    Represents an element of which the XML is processed by its parent task or type.

    - - </documenters> + + </documenters>

    - - <referencepaths> + + <referencepaths>

    Collection of additional directories to search for referenced assemblies.

    - - </referencepaths> + + </referencepaths>

    Examples

      @@ -166,7 +167,7 @@

    Requirements

    - Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/nunit.html b/build-support/tools/nant/doc/help/tasks/nunit.html index c8ae1ad4..bed1ef7c 100644 --- a/build-support/tools/nant/doc/help/tasks/nunit.html +++ b/build-support/tools/nant/doc/help/tasks/nunit.html @@ -19,11 +19,12 @@ -> Task Reference -> <nunit> - - v0.85 + + v0.91-alpha2

    <nunit>

    +

    [This is preliminary documentation and subject to change.]

    (Deprecated)

    @@ -88,27 +89,27 @@

    - - <test> + + <test>

    Tests to run.

    Represents a test element of an <nunit> task.

    Parameters

    AttributeTypeDescriptionRequired
    assemblystring Assembly to load the test from. True
    classstring Class name of the test. True
    appconfigstring The application configuration file to use for the NUnit test domain. False
    forkbool Run the tests in a separate AppDomain. False
    haltonerrorbool Stop the build process if an error occurs during the test run. False
    haltonfailurebool Stop the build process if a test fails (errors are considered failures as well). False
    outfilestring Base name of the test result. The full filename is determined by this attribute and the extension of formatter. False
    todirstring Directory to write the reports to. False

    - - </test> + + </test>

    - - <formatter> + + <formatter>

    Formatters to output results of unit tests.

    Represents the FormatterElement of the NUnit task.

    Parameters

    AttributeTypeDescriptionRequired
    typeFormatterType Type of formatter. True
    extensionstring Extension to append to the output filename. False
    outputdirdirectory Specifies the directory where the output file should be written to, if usefile is true. If not specified, the output file will be written to the directory where the test module is located. False
    usefilebool Determines whether output should be persisted to a file. The default is false. False

    - - </formatter> + + </formatter>

    Examples

      @@ -126,7 +127,7 @@

    Requirements

    - Assembly: NAnt.NUnit1Tasks (0.85.2478.0) + Assembly: NAnt.NUnit1Tasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/nunit2.html b/build-support/tools/nant/doc/help/tasks/nunit2.html index b36af516..1a162487 100644 --- a/build-support/tools/nant/doc/help/tasks/nunit2.html +++ b/build-support/tools/nant/doc/help/tasks/nunit2.html @@ -19,11 +19,12 @@ -> Task Reference -> <nunit2> - - v0.85 + + v0.91-alpha2

    <nunit2>

    +

    [This is preliminary documentation and subject to change.]

    Runs tests using the NUnit V2.2 framework.

    The haltonfailure attribute is only useful when more than one test suite is used, and you want to continue running other test suites although a test failed.

    Set failonerror to false to ignore any errors and continue the build.

    @@ -90,35 +91,39 @@

    - - <test> + + <test>

    -
    Tests to run.

    Represents a test element of an <nunit2> task.

    Parameters

    AttributeTypeDescriptionRequired
    appconfigfile The application configuration file to use for the NUnit test domain. If not specified, NAnt will try to use a configuration name matching the file name of the assembly with extension ".config". False
    assemblynamefile Name of the assembly to search for tests. False
    haltonfailurebool Build fails on failure. The default is true. False
    testnamestring Name of a specific testfixture to run. If not specified then all testfixtures are run. False
    transformfilefile XSLT transform file to use when using the Plain formatter. False

    Nested Elements:

    - <assemblies> -

    Assemblies to include in test.

    - </assemblies> -

    - <categories> -

    Categories of test cases to include or exclude.

    - </categories> +
    Tests to run.

    Represents a test element of an <nunit2> task.

    Parameters

    AttributeTypeDescriptionRequired
    appconfigfile The application configuration file to use for the NUnit test domain. If not specified, NAnt will try to use a configuration name matching the file name of the assembly with extension ".config". False
    assemblynamefile Name of the assembly to search for tests. False
    haltonfailurebool Build fails on failure. The default is true. False
    testnamestring Name of a specific testfixture to run. If not specified then all testfixtures are run. False
    transformfilefile XSLT transform file to use when using the Plain formatter. False

    Nested Elements:

    + <assemblies> +

    Assemblies to include in test.

    + </assemblies> +

    + <references> +

    Assemblies to scan for missing assembly references.

    + </references> +

    + <categories> +

    Categories of test cases to include or exclude.

    + </categories>

    - - </test> + + </test>

    - - <formatter> + + <formatter>

    Formatters to output results of unit tests.

    Represents the FormatterElement of the NUnit task.

    Parameters

    AttributeTypeDescriptionRequired
    typeFormatterType Type of formatter. True
    extensionstring Extension to append to the output filename. False
    outputdirdirectory Specifies the directory where the output file should be written to, if usefile is true. If not specified, the output file will be written to the directory where the test module is located. False
    usefilebool Determines whether output should be persisted to a file. The default is false. False

    - - </formatter> + + </formatter>

    Examples

      @@ -143,6 +148,10 @@ <categories> <exclude name="NotWorking" /> </categories> + <references basedir="build"> + <include name="Cegeka.Income.Services.dll" /> + <include name="Cegeka.Util.dll" /> + </references> </test> </nunit2> @@ -150,7 +159,7 @@

    Requirements

    - Assembly: NAnt.NUnit2Tasks (0.85.2478.0) + Assembly: NAnt.NUnit2Tasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/property.html b/build-support/tools/nant/doc/help/tasks/property.html index ea0be270..cb36c4c1 100644 --- a/build-support/tools/nant/doc/help/tasks/property.html +++ b/build-support/tools/nant/doc/help/tasks/property.html @@ -19,11 +19,12 @@ -> Task Reference -> <property> - - v0.85 + + v0.91-alpha2

    <property>

    +

    [This is preliminary documentation and subject to change.]

    Sets a property in the current project.

    Note: NAnt uses a number of predefined properties.

    @@ -45,8 +46,8 @@ value string - The value to assign to the NAnt property.

    - This attribute's properties will not be automatically expanded! + The value to assign to the NAnt property.

    + This attribute's properties will not be automatically expanded!

    True @@ -99,38 +100,38 @@
  • Define a debug property with value true.

    -<property name="debug" value="true" />
    -    
    + <property name="debug" value="true" /> +
  • Use the user-defined debug property.

    -<property name="trace" value="${debug}" />
    -    
    + <property name="trace" value="${debug}" /> +
  • Define a read-only property. This is just like passing in the param on the command line.

    -<property name="do_not_touch_ME" value="hammer" readonly="true" />
    -    
    + <property name="do_not_touch_ME" value="hammer" readonly="true" /> +
  • Define a property, but do not overwrite the value if the property already exists (eg. it was specified on the command line).

    -<project name="property-example">
    -  <property name="debug" value="true" overwrite="false" />
    -  <echo message="debug: ${debug}" />
    -</project>
    -    
    + <project name="property-example"> + <property name="debug" value="true" overwrite="false" /> + <echo message="debug: ${debug}" /> + </project> +

    Executing this build file with the command line option -D:debug=false, would cause the value specified on the command line to remain unaltered.

    -[echo] debug: false
    -    
    + [echo] debug: false +
  • Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/rc.html b/build-support/tools/nant/doc/help/tasks/rc.html index 0895d6d0..8b20d748 100644 --- a/build-support/tools/nant/doc/help/tasks/rc.html +++ b/build-support/tools/nant/doc/help/tasks/rc.html @@ -19,11 +19,12 @@ -> Task Reference -> <rc> - - v0.85 + + v0.91-alpha2

    <rc>

    +

    [This is preliminary documentation and subject to change.]

    Compiles resources using rc.exe, Microsoft's Win32 resource compiler.

    Parameters

    @@ -105,10 +106,19 @@ The name of the executable that should be used to launch the external program. False + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -117,20 +127,20 @@

    - - <includedirs> + + <includedirs>

    The list of directories in which to search for include files.

    - - </includedirs> + + </includedirs>

    - - <defines> + + <defines>

    Macro definitions to pass to rc.exe. Each entry will generate a /d
    <define>

    Represents an option.

    Parameters

    AttributeTypeDescriptionRequired
    namestring Name of the option. True
    ifbool Indicates if the option should be passed to the task. If true then the option will be passed; otherwise, skipped. The default is true. False
    unlessbool Indicates if the option should not be passed to the task. If false then the option will be passed; otherwise, skipped. The default is false. False
    valuestring Value of the option. The default is a null reference (Nothing in Visual Basic). False
    </define>

    </defines>

    @@ -138,13 +148,13 @@

    - - <arg> + + <arg>

    -
    The command-line arguments for the external program.

    Represents a command-line argument.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    - <path> -

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    - </path> +
    The command-line arguments for the external program.

    Represents a command-line argument.

    When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    + <path> +

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    + </path>

    Examples

    • A single command-line argument containing a space character.

       <arg value="-l -a" />
           
    • Two separate command-line arguments.

      @@ -154,27 +164,27 @@
           

    - - </arg> + + </arg>

    Examples

    • Compile text.rc to text.res using the default options.

      -<rc rcfile="text.rc" output="text.res" />
      -    
      + <rc rcfile="text.rc" output="text.res" /> +
    • Compile text.rc, passing an additional option.

      -<rc rcfile="text.rc" options="/r"/>
      -    
      + <rc rcfile="text.rc" options="/r"/> +

    Requirements

    - Assembly: NAnt.VisualCppTasks (0.85.2478.0) + Assembly: NAnt.VisualCppTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/readregistry.html b/build-support/tools/nant/doc/help/tasks/readregistry.html index a5f3a102..923f2ece 100644 --- a/build-support/tools/nant/doc/help/tasks/readregistry.html +++ b/build-support/tools/nant/doc/help/tasks/readregistry.html @@ -19,11 +19,12 @@ -> Task Reference -> <readregistry> - - v0.85 + + v0.91-alpha2

    <readregistry>

    +

    [This is preliminary documentation and subject to change.]

    Reads a value or set of values from the Windows Registry into one or more NAnt properties.

    Parameters

    @@ -95,17 +96,17 @@
  • Read a single value from the registry.

    -<readregistry property="sdkRoot" key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRoot" hive="LocalMachine" />
    -    
    + <readregistry property="sdkRoot" key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRoot" hive="LocalMachine" /> +

    Read all the registry values in a key.

    -<readregistry prefix="dotNetFX" key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRoot" hive="LocalMachine" />
    -    
    + <readregistry prefix="dotNetFX" key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRoot" hive="LocalMachine" /> +
  • Requirements

    - Assembly: NAnt.Win32Tasks (0.85.2478.0) + Assembly: NAnt.Win32Tasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/regasm.html b/build-support/tools/nant/doc/help/tasks/regasm.html index 6d06869b..95c7ce07 100644 --- a/build-support/tools/nant/doc/help/tasks/regasm.html +++ b/build-support/tools/nant/doc/help/tasks/regasm.html @@ -19,11 +19,12 @@ -> Task Reference -> <regasm> - - v0.85 + + v0.91-alpha2

    <regasm>

    +

    [This is preliminary documentation and subject to change.]

    Registers an assembly, or set of assemblies for use from COM clients.

    Refer to the Regasm documentation for more information on the regasm tool.

    Parameters

    @@ -118,10 +119,19 @@ The name of the executable that should be used to launch the external program. False + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -130,38 +140,38 @@

    - - <assemblies> + + <assemblies>

    The set of assemblies to register, or unregister.

    - - </assemblies> + + </assemblies>

    - - <references> + + <references>

    The set of assembly references.

    - - </references> + + </references>

    - - <arg> + + <arg>

    -
    The command-line arguments for the external program.

    Represents a command-line argument.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    - <path> -

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    - </path> +
    The command-line arguments for the external program.

    Represents a command-line argument.

    When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    + <path> +

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    + </path>

    Examples

    • A single command-line argument containing a space character.

       <arg value="-l -a" />
           
    • Two separate command-line arguments.

      @@ -171,41 +181,41 @@
           

    - - </arg> + + </arg>

    Examples

    • Register types in a single assembly.

      -<regasm assembly="myAssembly.dll" />
      -    
      + <regasm assembly="myAssembly.dll" /> +
    • Register types of an assembly and generate a type library containing definitions of accessible types defined within the assembly.

      -<regasm assembly="myAssembly.dll" typelib="myAssembly.tlb" />
      -    
      + <regasm assembly="myAssembly.dll" typelib="myAssembly.tlb" /> +
    • Register types of set of assemblies at once, while specifying a set of reference assemblies.

      -<regasm codebase="true">
      -    <assemblies>
      -        <include name="OutlookAddin.dll" />
      -        <include name="OfficeCoreAddin.dll" />
      -    </assemblies>
      -    <references>
      -        <include name="CommonTypes.dll" />
      -    </references>
      -</regasm>
      -    
      + <regasm codebase="true"> + <assemblies> + <include name="OutlookAddin.dll" /> + <include name="OfficeCoreAddin.dll" /> + </assemblies> + <references> + <include name="CommonTypes.dll" /> + </references> + </regasm> +

    Requirements

    - Assembly: NAnt.Win32Tasks (0.85.2478.0) + Assembly: NAnt.Win32Tasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/regex.html b/build-support/tools/nant/doc/help/tasks/regex.html index dd2c45ec..2aab5e3c 100644 --- a/build-support/tools/nant/doc/help/tasks/regex.html +++ b/build-support/tools/nant/doc/help/tasks/regex.html @@ -19,11 +19,12 @@ -> Task Reference -> <regex> - - v0.85 + + v0.91-alpha2

    <regex>

    +

    [This is preliminary documentation and subject to change.]

    Sets project properties based on the evaluatuion of a regular expression.

    The pattern attribute must contain one or more named grouping constructs, which represents the names of the properties to be set. These named grouping constructs can be enclosed by angle brackets (?<name>) or single quotes (?'name').

    @@ -110,7 +111,7 @@

    Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/regsvcs.html b/build-support/tools/nant/doc/help/tasks/regsvcs.html index a026d5cd..f83fd3c9 100644 --- a/build-support/tools/nant/doc/help/tasks/regsvcs.html +++ b/build-support/tools/nant/doc/help/tasks/regsvcs.html @@ -19,11 +19,12 @@ -> Task Reference -> <regsvcs> - - v0.85 + + v0.91-alpha2

    <regsvcs>

    +

    [This is preliminary documentation and subject to change.]

    Installs or removes .NET Services.

    This tasks provides the same functionality as the regsvcs tool provided in the .NET SDK.

    It performs the following actions:

    @@ -145,10 +146,19 @@ The name of the executable that should be used to launch the external program. False + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -158,13 +168,13 @@

    - - <arg> + + <arg>

    -
    The command-line arguments for the external program.

    Represents a command-line argument.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    - <path> -

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    - </path> +
    The command-line arguments for the external program.

    Represents a command-line argument.

    When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    + <path> +

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    + </path>

    Examples

    • A single command-line argument containing a space character.

       <arg value="-l -a" />
           
    • Two separate command-line arguments.

      @@ -174,39 +184,39 @@
           

    - - </arg> + + </arg>

    Examples

    • Adds all public classes contained in myTest.dll to a COM+ application and produces the myTest.tlb type library. If the application already exists, it is overwritten.

      -<regsvcs action="FindOrCreate" assembly="myTest.dll" />
      -    
      + <regsvcs action="FindOrCreate" assembly="myTest.dll" /> +
    • Adds all public classes contained in myTest.dll to myTargetApp and produces the myTest.tlb type library. If the application already exists, it is overwritten.

      -<regsvcs action="FindOrCreate" assembly="myTest.dll" application="myTargetApp" />
      -    
      + <regsvcs action="FindOrCreate" assembly="myTest.dll" application="myTargetApp" /> +
    • Adds all public classes contained in myTest.dll to a COM+ application and produces the myTest.tlb type library. A new application is always created.

      -<regsvcs action="Create" assembly="myTest.dll" />
      -    
      + <regsvcs action="Create" assembly="myTest.dll" /> +
    • Uninstalls the COM+ application contained in myTest.dll.

      -<regsvcs action="Uninstall" assembly="myTest.dll" />
      -    
      + <regsvcs action="Uninstall" assembly="myTest.dll" /> +

    Requirements

    - Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/resgen.html b/build-support/tools/nant/doc/help/tasks/resgen.html index 515efc33..8e6bfd43 100644 --- a/build-support/tools/nant/doc/help/tasks/resgen.html +++ b/build-support/tools/nant/doc/help/tasks/resgen.html @@ -19,11 +19,12 @@ -> Task Reference -> <resgen> - - v0.85 + + v0.91-alpha2

    <resgen>

    +

    [This is preliminary documentation and subject to change.]

    Converts files from one resource format to another.

    Note: If no todir is specified, the resource file will be created next to the input file.

    @@ -113,6 +114,14 @@ The name of the executable that should be used to launch the external program. False + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + supportsassemblyreferences bool @@ -128,7 +137,8 @@ useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -137,38 +147,38 @@

    - - <resources> + + <resources>

    Takes a list of .resx or .txt files to convert to .resources files.

    - - </resources> + + </resources>

    - - <assemblies> + + <assemblies>

    Reference metadata from the specified assembly files.

    - - </assemblies> + + </assemblies>

    - - <arg> + + <arg>

    -
    The command-line arguments for the external program.

    Represents a command-line argument.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    - <path> -

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    - </path> +
    The command-line arguments for the external program.

    Represents a command-line argument.

    When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    + <path> +

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    + </path>

    Examples

    • A single command-line argument containing a space character.

       <arg value="-l -a" />
           
    • Two separate command-line arguments.

      @@ -178,8 +188,8 @@
           

    - - </arg> + + </arg>

    Examples

      @@ -202,7 +212,7 @@

    Requirements

    - Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/script.html b/build-support/tools/nant/doc/help/tasks/script.html index ba62516b..161f2a08 100644 --- a/build-support/tools/nant/doc/help/tasks/script.html +++ b/build-support/tools/nant/doc/help/tasks/script.html @@ -19,24 +19,30 @@ -> Task Reference -> <script> - - v0.85 + + v0.91-alpha2

    <script>

    -

    Executes the code contained within the task. This code can include custom extension function definitions. Once the script task has executed those custom functions will be available for use in the buildfile.

    +

    [This is preliminary documentation and subject to change.]

    +

    Executes the code contained within the task.

    +
    Code

    The <script> task must contain a single code element, which in turn contains the script code.

    -

    A static entry point named ScriptMain is required if no custom functions have been defined. It must have a single Project parameter.

    -

    The following namespaces are loaded by default:

    +

    This code can include extensions such as functions, or tasks. Once the script task has executed those extensions will be available for use in the buildfile.

    +

    If no extensions have been defined, a static entry point named ScriptMain - which must have a single Project argument - is required.

    +
    Namespaces
    +

    The following namespaces are imported by default:

    • System
    • System.Collections
    • -
    • System.Collections.Specialized
    • System.IO
    • System.Text
    • -
    • System.Text.RegularExpressions
    • NAnt.Core
    • +
    • NAnt.Core.Attributes
    +
    Assembly References
    +

    The assembly references that are specified will be used to compile the script, and will be loaded into the NAnt appdomain.

    +

    By default, only the NAnt.Core and mscorlib assemblies are referenced.

    Parameters

    @@ -94,38 +100,38 @@

    - - <references> + + <references>

    Any required references.

    - - </references> + + </references>

    - - <imports> + + <imports>

    The namespaces to import.

    - - </imports> + + </imports>

    - - <code> + + <code>

    The code to execute.

    Represents an element of which the XML is processed by its parent task or type.

    - - </code> + + </code>

    Examples

      @@ -211,39 +217,32 @@
    • Define a custom task and call it using C#.

      -
              <script language="C#" prefix="test" >
      -            <code>
      -              <![CDATA[
      -                [TaskName("usertask")]
      -                public class TestTask : Task {
      -                  #region Private Instance Fields
      -
      -                  private string _message;
      -
      -                  #endregion Private Instance Fields
      -
      -                  #region Public Instance Properties
      -
      -                  [TaskAttribute("message", Required=true)]
      -                  public string FileName {
      -                      get { return _message; }
      -                      set { _message = value; }
      -                  }
      -
      -                  #endregion Public Instance Properties
      -
      -                  #region Override implementation of Task
      -
      -                  protected override void ExecuteTask() {
      -                      Log(Level.Info, _message.ToUpper());
      -                  }
      -                  #endregion Override implementation of Task
      +        
            <script language="C#" prefix="test" >
      +          <code>
      +            <![CDATA[
      +              [TaskName("usertask")]
      +              public class TestTask : Task {
      +                #region Private Instance Fields
      +                            private string _message;
      +                            #endregion Private Instance Fields
      +                            #region Public Instance Properties
      +                            [TaskAttribute("message", Required=true)]
      +                public string FileName {
      +                    get { return _message; }
      +                    set { _message = value; }
                       }
      -              ]]>
      -            </code>
      -        </script>
      -        <usertask message='Hello from UserTask'/>
      -  
      + #endregion Public Instance Properties + #region Override implementation of Task + protected override void ExecuteTask() { + Log(Level.Info, _message.ToUpper()); + } + #endregion Override implementation of Task + } + ]]> + </code> + </script> + <usertask message='Hello from UserTask'/> +
    • Define a custom function and call it using Boo.

      @@ -264,7 +263,7 @@

    Requirements

    - Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/servicecontroller.html b/build-support/tools/nant/doc/help/tasks/servicecontroller.html index 40ebed33..27456024 100644 --- a/build-support/tools/nant/doc/help/tasks/servicecontroller.html +++ b/build-support/tools/nant/doc/help/tasks/servicecontroller.html @@ -19,11 +19,12 @@ ->Task Reference-> <servicecontroller> - +

    <servicecontroller>

    +

    [This is preliminary documentation and subject to change.]

    Allows a Windows service to be controlled.

    Parameters

    @@ -91,19 +92,19 @@
  • Starts the World Wide Web Publishing Service on the local computer.

    -<servicecontroller action="Start" service="w3svc" />
    -    
    + <servicecontroller action="Start" service="w3svc" /> +
  • Stops the Alerter service on computer 'MOTHER'.

    -<servicecontroller action="Stop" service="Alerter" machine="MOTHER" />
    -    
    + <servicecontroller action="Stop" service="Alerter" machine="MOTHER" /> +
  • Requirements

    - Assembly: NAnt.MSNetTasks (0.85.2478.0) + Assembly: NAnt.MSNetTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/setenv.html b/build-support/tools/nant/doc/help/tasks/setenv.html index 64af8ed4..2e631915 100644 --- a/build-support/tools/nant/doc/help/tasks/setenv.html +++ b/build-support/tools/nant/doc/help/tasks/setenv.html @@ -19,11 +19,12 @@ -> Task Reference -> <setenv> - - v0.85 + + v0.91-alpha2

    <setenv>

    +

    [This is preliminary documentation and subject to change.]

    Sets an environment variable or a whole collection of them. Use an empty value attribute to clear a variable.

    Note: Variables will be set for the current NAnt process and all child processes that NAnt spawns (compilers, shell tools, etc). If the intention is to only set a variable for a single child process, then using the <exec> task and its nested environment element might be a better option.

    @@ -99,8 +100,8 @@

    - - <variable> + + <variable>

    Represents an environment variable.

    @@ -161,20 +162,20 @@

    - - <path> + + <path>

    Sets a single environment variable and treats it like a PATH - ensures the right separator for the local platform is used.

    - - </path> + + </path>

    - - </variable> + + </variable>

    Examples

      @@ -217,7 +218,7 @@

    Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/sleep.html b/build-support/tools/nant/doc/help/tasks/sleep.html index cb7a0d9a..ce16d242 100644 --- a/build-support/tools/nant/doc/help/tasks/sleep.html +++ b/build-support/tools/nant/doc/help/tasks/sleep.html @@ -19,11 +19,12 @@ -> Task Reference -> <sleep> - - v0.85 + + v0.91-alpha2

    <sleep>

    +

    [This is preliminary documentation and subject to change.]

    A task for sleeping a specified period of time, useful when a build or deployment process requires an interval between tasks.

    Parameters

    @@ -89,19 +90,19 @@
  • Sleep 1 hour, 2 minutes, 3 seconds and 4 milliseconds.

    -<sleep hours="1" minutes="2" seconds="3" milliseconds="4" />
    -    
    + <sleep hours="1" minutes="2" seconds="3" milliseconds="4" /> +
  • Sleep 123 milliseconds.

    -<sleep milliseconds="123" />
    -    
    + <sleep milliseconds="123" /> +
  • Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/solution.html b/build-support/tools/nant/doc/help/tasks/solution.html index 3183861f..8c2af60b 100644 --- a/build-support/tools/nant/doc/help/tasks/solution.html +++ b/build-support/tools/nant/doc/help/tasks/solution.html @@ -19,11 +19,12 @@ -> Task Reference -> <solution> - - v0.85 + + v0.91-alpha2

    <solution>

    +

    [This is preliminary documentation and subject to change.]

    Compiles VS.NET solutions (or sets of projects), automatically determining project dependencies from inter-project references.

    This task support the following projects:

      @@ -73,6 +74,12 @@ The directory where compiled targets will be placed. This overrides path settings contained in the solution/project. False + + platform + string + The name of platform to build the solution for. + False + solutionfile file @@ -109,58 +116,58 @@

      - - <projects> + + <projects>

      The projects to build.

      - - </projects> + + </projects>

      - - <referenceprojects> + + <referenceprojects>

      The projects to scan, but not build.

      - - </referenceprojects> + + </referenceprojects>

      - - <webmap> + + <webmap>

      WebMap of URL's to project references.
      <map>

      Represents a single mapping from URL project path to physical project path.

      Parameters

      AttributeTypeDescriptionRequired
      pathfile Specifies the actual path to the project file, or the path fragment to replace. True
      urlstring Specifies the URL of the project file, or a URL fragment to match. True
      casesensitivebool Specifies whether the mapping is case-sensitive or not. False
      ifbool Indicates if the URL of the project file should be mapped. False
      unlessbool Indicates if the URL of the project file should not be mapped. False
      </map>

      </webmap>

      - - <excludeprojects> + + <excludeprojects>

      Fileset of projects to exclude.

      - - </excludeprojects> + + </excludeprojects>

      - - <assemblyfolders> + + <assemblyfolders>

      Set of folders where references are searched when not found in path from project file (HintPath).

      - - </assemblyfolders> + + </assemblyfolders>

      Examples

        @@ -225,7 +232,7 @@

      Requirements

      - Assembly: NAnt.VSNetTasks (0.85.2478.0) + Assembly: NAnt.VSNetTasks (0.91.3881.0)
      \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/style.html b/build-support/tools/nant/doc/help/tasks/style.html index 89ab528c..21d56a1f 100644 --- a/build-support/tools/nant/doc/help/tasks/style.html +++ b/build-support/tools/nant/doc/help/tasks/style.html @@ -19,11 +19,12 @@ -> Task Reference -> <style> - - v0.85 + + v0.91-alpha2

      <style>

      +

      [This is preliminary documentation and subject to change.]

      Processes a document via XSLT.

      Parameters

      @@ -96,98 +97,98 @@

      - - <infiles> + + <infiles>

      Specifies a group of input files to which to apply the stylesheet.

      - - </infiles> + + </infiles>

      - - <parameters> + + <parameters>

      XSLT parameters to be passed to the XSLT transformation.
      <parameter>

      Represents an XSLT parameter.

      Parameters

      AttributeTypeDescriptionRequired
      namestring The name of the XSLT parameter. True
      valuestring The value of the XSLT parameter. True
      ifbool Indicates if the parameter should be added to the XSLT argument list. If true then the parameter will be added; otherwise, skipped. The default is true. False
      namespaceuristring The namespace URI to associate with the parameter. False
      unlessbool Indicates if the parameter should not be added to the XSLT argument list. If false then the parameter will be added; otherwise, skipped. The default is false. False
      </parameter>

      </parameters>

      - - <extensionobjects> + + <extensionobjects>

      XSLT extension objects to be passed to the XSLT transformation.
      <extensionobject>

      Represents an XSLT extension object. The object should have a default parameterless constructor and the return value should be one of the four basic XPath data types of number, string, Boolean or node set.

      Parameters

      AttributeTypeDescriptionRequired
      assemblyfile The assembly which contains the XSLT extension object. True
      typenamestring The full type name of the XSLT extension object. True
      ifbool Indicates if the extension object should be added to the XSLT argument list. If true then the extension object will be added; otherwise, skipped. The default is true. False
      namespaceuristring The namespace URI to associate with the extension object. False
      unlessbool Indicates if the extension object should not be added to the XSLT argument list. If false then the extension object will be added; otherwise, skipped. The default is false. False
      </extensionobject>

      </extensionobjects>

      - - <proxy> + + <proxy>

      The network proxy to use to access the Internet resource.

      - - </proxy> + + </proxy>

      Examples

      • Create a report in HTML.

        -<style style="report.xsl" in="data.xml" out="report.html" />
        -    
        + <style style="report.xsl" in="data.xml" out="report.html" /> +
      • Create a report in HTML, with a param.

        -<style style="report.xsl" in="data.xml" out="report.html">
        -    <parameters>
        -        <parameter name="reportType" namespaceuri="" value="Plain" />
        -    </parameters>
        -</style>
        -    
        + <style style="report.xsl" in="data.xml" out="report.html"> + <parameters> + <parameter name="reportType" namespaceuri="" value="Plain" /> + </parameters> + </style> +
      • Create a report in HTML, with a expanded param.

        -<style style="report.xsl" in="data.xml" out="report.html">
        -    <parameters>
        -        <parameter name="reportType" namespaceuri="" value="${report.type}" />
        -    </parameters>
        -</style>
        -    
        + <style style="report.xsl" in="data.xml" out="report.html"> + <parameters> + <parameter name="reportType" namespaceuri="" value="${report.type}" /> + </parameters> + </style> +
      • Create some code based on a directory of templates.

        -<style style="CodeGenerator.xsl" extension="java">
        -    <infiles>
        -        <include name="*.xml" />
        -    </infiles>
        -    <parameters>
        -        <parameter name="reportType" namespaceuri="" value="Plain" if="${report.plain}" />
        -    </parameters>
        -<style>
        -    
        + <style style="CodeGenerator.xsl" extension="java"> + <infiles> + <include name="*.xml" /> + </infiles> + <parameters> + <parameter name="reportType" namespaceuri="" value="Plain" if="${report.plain}" /> + </parameters> + <style> +
      • Create a report in HTML, with an extension object.

        -<style style="report.xsl" in="data.xml" out="report.html">
        -    <extensionobjects>
        -        <extensionobject namespaceuri="urn:Formatter" typename="XsltExtensionObjects.Formatter" assembly="XsltExtensionObjects.dll" />
        -    </extensionobjects>
        -</style>
        -    
        + <style style="report.xsl" in="data.xml" out="report.html"> + <extensionobjects> + <extensionobject namespaceuri="urn:Formatter" typename="XsltExtensionObjects.Formatter" assembly="XsltExtensionObjects.dll" /> + </extensionobjects> + </style> +

      Requirements

      - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
      \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/sysinfo.html b/build-support/tools/nant/doc/help/tasks/sysinfo.html index 45b37bc0..5488d168 100644 --- a/build-support/tools/nant/doc/help/tasks/sysinfo.html +++ b/build-support/tools/nant/doc/help/tasks/sysinfo.html @@ -19,11 +19,12 @@ -> Task Reference -> <sysinfo> - - v0.85 + + v0.91-alpha2

      <sysinfo>

      +

      [This is preliminary documentation and subject to change.]

      Sets properties with system information.

      Sets a number of properties with information about the system environment. The intent of this task is for nightly build logs to have a record of system information so that the build was performed on.

      @@ -93,31 +94,31 @@ - environment::get-operating-system() + environment::get-operating-system() Gets a OperatingSystem object that identifies this operating system. - environment::get-folder-path() + environment::get-folder-path() Gets the path to a system special folder. - environment::get-variable() + environment::get-variable() Returns the value of a environment variable. - path::get-temp-path() + path::get-temp-path() Gets the path to the temporary directory. - environment::get-version() + environment::get-version() Gets the Common Language Runtime version. @@ -187,7 +188,7 @@

    Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/tar.html b/build-support/tools/nant/doc/help/tasks/tar.html index 6e9d6440..9e368c17 100644 --- a/build-support/tools/nant/doc/help/tasks/tar.html +++ b/build-support/tools/nant/doc/help/tasks/tar.html @@ -19,11 +19,12 @@ -> Task Reference -> <tar> - - v0.85 + + v0.91-alpha2

    <tar>

    +

    [This is preliminary documentation and subject to change.]

    Creates a tar file from the specified filesets.

    Uses #ziplib (SharpZipLib), an open source Tar/Zip/GZip library written entirely in C#.

    Parameters

    @@ -44,7 +45,7 @@ compression - TarCompressionMethod + TarCompressionMethod The compression method. The default is None. False @@ -86,34 +87,34 @@

    - - <fileset> + + <fileset>

    The set of files to be included in the archive.

    - - </fileset> + + </fileset>

    Examples

    • Tar all files in ${build.dir} and ${doc.dir} into a file called "backup.tar.gz", and apply gzip compression to it.

      -<tar destfile="backup.tar.gz" compression="GZip">
      -    <fileset basedir="${bin.dir}" prefix="bin">
      -        <include name="**/*" />
      -    </fileset>
      -    <fileset basedir="${doc.dir}" prefix="doc">
      -        <include name="**/*" />
      -    </fileset>
      -</tar>
      -    
      + <tar destfile="backup.tar.gz" compression="GZip"> + <fileset basedir="${bin.dir}" prefix="bin"> + <include name="**/*" /> + </fileset> + <fileset basedir="${doc.dir}" prefix="doc"> + <include name="**/*" /> + </fileset> + </tar> +

    Requirements

    - Assembly: NAnt.CompressionTasks (0.85.2478.0) + Assembly: NAnt.CompressionTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/tlbexp.html b/build-support/tools/nant/doc/help/tasks/tlbexp.html index b5492a26..d2166647 100644 --- a/build-support/tools/nant/doc/help/tasks/tlbexp.html +++ b/build-support/tools/nant/doc/help/tasks/tlbexp.html @@ -19,11 +19,12 @@ -> Task Reference -> <tlbexp> - - v0.85 + + v0.91-alpha2

    <tlbexp>

    +

    [This is preliminary documentation and subject to change.]

    Exports a .NET assembly to a type library that can be used from unmanaged code (wraps Microsoft's tlbexp.exe).

    See the Microsoft.NET Framework SDK documentation for details. @@ -102,10 +103,19 @@ The name of the executable that should be used to launch the external program. False + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -115,13 +125,13 @@

    - - <arg> + + <arg>

    -
    The command-line arguments for the external program.

    Represents a command-line argument.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    - <path> -

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    - </path> +
    The command-line arguments for the external program.

    Represents a command-line argument.

    When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    + <path> +

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    + </path>

    Examples

    • A single command-line argument containing a space character.

       <arg value="-l -a" />
           
    • Two separate command-line arguments.

      @@ -131,21 +141,21 @@
           

    - - </arg> + + </arg>

    Examples

    • Export DotNetAssembly.dll to LegacyCOM.dll.

      -<tlbexp assembly="DotNetAssembly.dll" output="LegacyCOM.dll" />
      -    
      + <tlbexp assembly="DotNetAssembly.dll" output="LegacyCOM.dll" /> +

    Requirements

    - Assembly: NAnt.Win32Tasks (0.85.2478.0) + Assembly: NAnt.Win32Tasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/tlbimp.html b/build-support/tools/nant/doc/help/tasks/tlbimp.html index b28d8603..06c69af4 100644 --- a/build-support/tools/nant/doc/help/tasks/tlbimp.html +++ b/build-support/tools/nant/doc/help/tasks/tlbimp.html @@ -19,11 +19,12 @@ -> Task Reference -> <tlbimp> - - v0.85 + + v0.91-alpha2

    <tlbimp>

    +

    [This is preliminary documentation and subject to change.]

    Imports a type library to a .NET assembly (wraps Microsoft's tlbimp.exe).

    This task lets you easily create interop assemblies. By default, it will not reimport if the underlying COM TypeLib or reference has not changed.

    @@ -163,6 +164,14 @@ The name of the executable that should be used to launch the external program. False + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + supportstransform bool @@ -172,7 +181,8 @@ useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -181,26 +191,26 @@

    - - <references> + + <references>

    Specifies the assembly files to use to resolve references to types defined outside the current type library.

    - - </references> + + </references>

    - - <arg> + + <arg>

    -
    The command-line arguments for the external program.

    Represents a command-line argument.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    - <path> -

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    - </path> +
    The command-line arguments for the external program.

    Represents a command-line argument.

    When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    + <path> +

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    + </path>

    Examples

    • A single command-line argument containing a space character.

       <arg value="-l -a" />
           
    • Two separate command-line arguments.

      @@ -210,31 +220,31 @@
           

    - - </arg> + + </arg>

    Examples

    • Import LegacyCOM.dll to DotNetAssembly.dll.

      -<tlbimp typelib="LegacyCOM.dll" output="DotNetAssembly.dll" />
      -    
      + <tlbimp typelib="LegacyCOM.dll" output="DotNetAssembly.dll" /> +
    • Generate an assembly named "Interop.MSVidCtlLib.dll" for the MS Video Control 1.0 Type Library, transforming any [out, retval] parameters of methods on dispinterfaces in the type library into return values in the managed library.

      -<tlbimp typelib="msvidctl.dll" output="Interop.MSVidCtlLib.dll" transform="dispret">
      -    <references basedir="Interop">
      -        <include name="Interop.TunerLib.dll" />
      -    </references>
      -</tlbimp>
      -    
      + <tlbimp typelib="msvidctl.dll" output="Interop.MSVidCtlLib.dll" transform="dispret"> + <references basedir="Interop"> + <include name="Interop.TunerLib.dll" /> + </references> + </tlbimp> +

    Requirements

    - Assembly: NAnt.Win32Tasks (0.85.2478.0) + Assembly: NAnt.Win32Tasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/touch.html b/build-support/tools/nant/doc/help/tasks/touch.html index 374116a1..4007c1f1 100644 --- a/build-support/tools/nant/doc/help/tasks/touch.html +++ b/build-support/tools/nant/doc/help/tasks/touch.html @@ -19,11 +19,12 @@ -> Task Reference -> <touch> - - v0.85 + + v0.91-alpha2

    <touch>

    +

    [This is preliminary documentation and subject to change.]

    Touches a file or set of files -- corresponds to the Unix touch command.

    If the file specified does not exist, the task will create it.

    Parameters

    @@ -83,38 +84,38 @@

    - - <fileset> + + <fileset>

    Used to select files that should be touched.

    - - </fileset> + + </fileset>

    Examples

    • Touch the Main.cs file. The current time is used.

      -<touch file="Main.cs" />
      -    
      + <touch file="Main.cs" /> +
    • Touch all executable files in the project base directory and its subdirectories.

      -<touch>
      -    <fileset>
      -        <include name="**/*.exe" />
      -        <include name="**/*.dll" />
      -    </fileset>
      -</touch>
      -    
      + <touch> + <fileset> + <include name="**/*.exe" /> + <include name="**/*.dll" /> + </fileset> + </touch> +

    Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/tstamp.html b/build-support/tools/nant/doc/help/tasks/tstamp.html index 2bd2b70a..1f1fc060 100644 --- a/build-support/tools/nant/doc/help/tasks/tstamp.html +++ b/build-support/tools/nant/doc/help/tasks/tstamp.html @@ -19,11 +19,12 @@ -> Task Reference -> <tstamp> - - v0.85 + + v0.91-alpha2

    <tstamp>

    +

    [This is preliminary documentation and subject to change.]

    Sets properties with the current date and time.

    By default the <tstamp> task displays the current date and time and sets the following properties:

      @@ -85,8 +86,8 @@

      - - <formatter> + + <formatter>

      @@ -129,8 +130,8 @@

      - - </formatter> + + </formatter>

      Examples

        @@ -153,7 +154,7 @@

      Requirements

      - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
      \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/unzip.html b/build-support/tools/nant/doc/help/tasks/unzip.html index 39c76787..3ba1dc98 100644 --- a/build-support/tools/nant/doc/help/tasks/unzip.html +++ b/build-support/tools/nant/doc/help/tasks/unzip.html @@ -19,13 +19,14 @@ -> Task Reference -> <unzip> - - v0.85 + + v0.91-alpha2

      <unzip>

      -

      Extracts files from a zip file.

      -

      Uses #ziplib (SharpZipLib), an open source Zip/GZip library written entirely in C#.

      +

      [This is preliminary documentation and subject to change.]

      +

      Extracts files from a zip archive.

      +

      Uses #ziplib (SharpZipLib), an open source Zip/GZip library written entirely in C#.

      Parameters

      @@ -67,6 +68,12 @@ + + + + + + @@ -86,13 +93,13 @@
    • Extracts all the file from the zip, preserving the directory structure.

      -<unzip zipfile="backup.zip"/>
      -    
      + <unzip zipfile="backup.zip"/> +
    • Requirements

      - Assembly: NAnt.CompressionTasks (0.85.2478.0) + Assembly: NAnt.CompressionTasks (0.91.3881.0)
      \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/uptodate.html b/build-support/tools/nant/doc/help/tasks/uptodate.html index 5b61f681..8a99f4dd 100644 --- a/build-support/tools/nant/doc/help/tasks/uptodate.html +++ b/build-support/tools/nant/doc/help/tasks/uptodate.html @@ -19,19 +19,20 @@ ->Task Reference-> <uptodate> - +
      If true then the task will be executed; otherwise, skipped. The default is true. False
      overwritebool Overwrite files, even if they are newer than the corresponding entries in the archive. The default is true. False
      unless bool

      <uptodate>

      -

      Check modification dates on groups of files.

      If all targetfiles are same or newer than all sourcefiles, the specified property is set to true, otherwise it is set to false.

      Parameters

      AttributeTypeDescriptionRequired
      propertystring Property that will be set to true or false depending on the result of the date check. True
      failonerrorbool Determines if task failure stops the build, or is just reported. The default is true. False
      ifbool If true then the task will be executed; otherwise, skipped. The default is true. False
      unlessbool Opposite of if. If false then the task will be executed; otherwise, skipped. The default is false. False
      verbosebool Determines whether the task should report detailed build log messages. The default is false. False

      Nested Elements:

      - <sourcefiles> -

      The <fileset> that contains list of source files.

      - </sourcefiles> -

      - <targetfiles> -

      The <fileset> that contains list of target files.

      - </targetfiles> +

      [This is preliminary documentation and subject to change.]

      +

      Check modification dates on groups of files.

      If all targetfiles are same or newer than all sourcefiles, the specified property is set to true, otherwise it is set to false.

      Parameters

      AttributeTypeDescriptionRequired
      propertystring Property that will be set to true or false depending on the result of the date check. True
      failonerrorbool Determines if task failure stops the build, or is just reported. The default is true. False
      ifbool If true then the task will be executed; otherwise, skipped. The default is true. False
      unlessbool Opposite of if. If false then the task will be executed; otherwise, skipped. The default is false. False
      verbosebool Determines whether the task should report detailed build log messages. The default is false. False

      Nested Elements:

      + <sourcefiles> +

      The <fileset> that contains list of source files.

      + </sourcefiles> +

      + <targetfiles> +

      The <fileset> that contains list of target files.

      + </targetfiles>

      Examples

      • Check file dates. If myfile.dll is same or newer than myfile.cs, then set myfile.dll.uptodate property to either true or false.

         <uptodate property="myfile.dll.uptodate">
             <sourcefiles>
        @@ -41,6 +42,6 @@
                 <include name="myfile.dll" />
             </targetfiles>
         </uptodate>
        -    

      Requirements

      Assembly: NAnt.Core (0.85.2478.0) +

    Requirements

    Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/vbc.html b/build-support/tools/nant/doc/help/tasks/vbc.html index ecee8065..b1b1cc21 100644 --- a/build-support/tools/nant/doc/help/tasks/vbc.html +++ b/build-support/tools/nant/doc/help/tasks/vbc.html @@ -19,11 +19,12 @@ -> Task Reference -> <vbc> - - v0.85 + + v0.91-alpha2

    <vbc>

    +

    [This is preliminary documentation and subject to change.]

    Compiles Visual Basic.NET programs.

    Note: In order to have <vbc> task generate manifest resource names that match those generated by Microsoft Visual Studio.NET, the value of the prefix attribute of the <resources> element should match the "Root namespace" of the VB.NET project, and the value of the dynamicprefix attribute should be set to "false".

    @@ -129,6 +130,14 @@ Define conditional compilation symbol(s). False + + delaysign + + DelaySign + + Specifies whether to delay sign the assembly using only the public portion of the strong name key. The default is NotSet. + False + failonerror bool @@ -202,6 +211,12 @@ Icon to associate with the application. False + + win32res + file + Specifies a Win32 resource file (.res). + False +

    Framework-configurable parameters

    @@ -219,12 +234,26 @@ The name of the executable that should be used to launch the external program. False + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + nostdlib bool Instructs the compiler not to reference standard libraries (system.dll and VBC.RSP). The default is false. Only supported when targeting .NET 2.0 (or higher). False + + supportsdelaysign + bool + Indicates whether the compiler for a given target framework supports the "delaysign" option. The default is false. + False + supportsdocgeneration bool @@ -276,7 +305,8 @@ useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -285,65 +315,65 @@

    - - <imports> + + <imports>

    The namespaces to import.

    - - </imports> + + </imports>

    - - <warnaserror> + + <warnaserror>

    Controls which warnings should be reported as errors.

    - - </warnaserror> + + </warnaserror>

    - - <nowarn> + + <nowarn>

    Specifies a list of warnings that you want the compiler to suppress.
    <warning>

    Represents a compiler warning.

    Parameters

    AttributeTypeDescriptionRequired
    numberstring A warning number, or comma-separated list of warnings, that you want the compiler to suppress or report. True
    ifbool If true then the element will be processed; otherwise, skipped. The default is true. False
    unlessbool If true then the element will be skipped; otherwise, processed. The default is false. False
    </warning>

    </nowarn>

    - - <lib> + + <lib>

    Deprecated. Additional directories to search in for assembly references.

    - - </lib> + + </lib>

    - - <references> + + <references>

    Reference metadata from the specified assembly files.

    - - </references> + + </references>

    - - <pkg-references> + + <pkg-references>

    Specifies list of packages to reference.
    <package>

    Represents a package.

    Parameters

    AttributeTypeDescriptionRequired
    namestring Name of the package to reference. Multiple package can be specified with a single element as a semi-colon separated list of package names. True
    ifbool Indicates if the package should be passed to the task. If true then the package will be passed; otherwise, skipped. The default is true. False
    unlessbool Indicates if the package should not be passed to the task. If false then the package will be passed; otherwise, skipped. The default is false. False
    </package>

    </pkg-references>

    @@ -351,50 +381,50 @@

    - - <resources> + + <resources>

    Resources to embed.

    - - </resources> + + </resources>

    - - <modules> + + <modules>

    Link the specified modules into this assembly.

    - - </modules> + + </modules>

    - - <sources> + + <sources>

    The set of source files for compilation.

    - - </sources> + + </sources>

    - - <arg> + + <arg>

    -
    The command-line arguments for the external program.

    Represents a command-line argument.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    - <path> -

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    - </path> +
    The command-line arguments for the external program.

    Represents a command-line argument.

    When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    + <path> +

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    + </path>

    Examples

    • A single command-line argument containing a space character.

       <arg value="-l -a" />
           
    • Two separate command-line arguments.

      @@ -404,8 +434,8 @@
           

    - - </arg> + + </arg>

    Examples

      @@ -443,7 +473,7 @@

    Requirements

    - Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/vjc.html b/build-support/tools/nant/doc/help/tasks/vjc.html index 5600dbdb..10c9cdd5 100644 --- a/build-support/tools/nant/doc/help/tasks/vjc.html +++ b/build-support/tools/nant/doc/help/tasks/vjc.html @@ -19,11 +19,12 @@ -> Task Reference -> <vjc> - - v0.85 + + v0.91-alpha2

    <vjc>

    +

    [This is preliminary documentation and subject to change.]

    Compiles Visual J# programs using vjc, Microsoft's J# compiler.

    Note: In order to have <vjc> task generate manifest resource names that match those generated by Microsoft Visual Studio.NET, the value of the prefix attribute of the <resources> element should match the "Default Package" of the J#.NET project, and the value of the dynamicprefix attribute should be set to "true".

    @@ -98,6 +99,14 @@ Define conditional compilation symbol(s). False + + delaysign + + DelaySign + + Specifies whether to delay sign the assembly using only the public portion of the strong name key. The default is NotSet. + False + failonerror bool @@ -171,6 +180,12 @@ Icon to associate with the application. False + + win32res + file + Specifies a Win32 resource file (.res). + False +

    Framework-configurable parameters

    @@ -188,6 +203,20 @@ The name of the executable that should be used to launch the external program. False + + managed + + ManagedExecution + + Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. + False + + + supportsdelaysign + bool + Indicates whether the compiler for a given target framework supports the "delaysign" option. The default is false. + False + supportskeycontainer bool @@ -215,7 +244,8 @@ useruntimeengine bool - Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. + + Deprecated. Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false. False @@ -224,72 +254,72 @@

    - - <nowarn> + + <nowarn>

    Specifies a list of warnings that you want the compiler to suppress.
    <warning>

    Represents a compiler warning.

    Parameters

    AttributeTypeDescriptionRequired
    numberstring A warning number, or comma-separated list of warnings, that you want the compiler to suppress or report. True
    ifbool If true then the element will be processed; otherwise, skipped. The default is true. False
    unlessbool If true then the element will be skipped; otherwise, processed. The default is false. False
    </warning>

    </nowarn>

    - - <lib> + + <lib>

    Deprecated. Additional directories to search in for assembly references.

    - - </lib> + + </lib>

    - - <references> + + <references>

    Reference metadata from the specified assembly files.

    - - </references> + + </references>

    - - <resources> + + <resources>

    Resources to embed.

    - - </resources> + + </resources>

    - - <sources> + + <sources>

    The set of source files for compilation.

    - - </sources> + + </sources>

    - - <arg> + + <arg>

    -
    The command-line arguments for the external program.

    Represents a command-line argument.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    - <path> -

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    - </path> +
    The command-line arguments for the external program.

    Represents a command-line argument.

    When passed to an external application, the argument will be quoted when appropriate. This does not apply to the line parameter, which is always passed as is.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. False
    filefile The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
    ifbool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
    linestring List of command-line arguments; will be passed to the executable as is. False
    path<path> The value for a PATH-like command-line argument; you can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
    valuestring A single command-line argument; can contain space characters. False

    Nested Elements:

    + <path> +

    Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used.

    + </path>

    Examples

    • A single command-line argument containing a space character.

       <arg value="-l -a" />
           
    • Two separate command-line arguments.

      @@ -299,8 +329,8 @@
           

    - - </arg> + + </arg>

    Examples

      @@ -327,7 +357,7 @@

    Requirements

    - Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/xmlpeek.html b/build-support/tools/nant/doc/help/tasks/xmlpeek.html index 608bc7e1..e0443107 100644 --- a/build-support/tools/nant/doc/help/tasks/xmlpeek.html +++ b/build-support/tools/nant/doc/help/tasks/xmlpeek.html @@ -19,11 +19,12 @@ -> Task Reference -> <xmlpeek> - - v0.85 + + v0.91-alpha2

    <xmlpeek>

    +

    [This is preliminary documentation and subject to change.]

    Extracts text from an XML file at the location specified by an XPath expression.

    If the XPath expression specifies multiple nodes the node index is used to determine which of the nodes' text is returned.

    Parameters

    @@ -89,8 +90,8 @@

    - - <namespaces> + + <namespaces>

    Namespace definitions to resolve prefixes in the XPath expression.
    <namespace>

    Represents an XML namespace.

    Parameters

    AttributeTypeDescriptionRequired
    prefixstring The prefix to associate with the namespace. True
    uristring The associated XML namespace URI. True
    ifbool Indicates if the namespace should be added to the XmlNamespaceManager. If true then the namespace will be added; otherwise, skipped. The default is true. False
    unlessbool Indicates if the namespace should not be added to the XmlNamespaceManager. list. If false then the parameter will be added; otherwise, skipped. The default is false. False
    </namespace>

    </namespaces>

    @@ -99,31 +100,31 @@
  • The example provided assumes that the following XML file (App.config) exists in the current build directory.

    -<?xml version="1.0" encoding="utf-8" ?>
    -<configuration xmlns="http://www.gordic.cz/shared/project-config/v_1.0.0.0">
    -    <appSettings>
    -        <add key="server" value="testhost.somecompany.com" />
    -    </appSettings>
    -</configuration>
    -    
    + <?xml version="1.0" encoding="utf-8" ?> + <configuration xmlns="http://www.gordic.cz/shared/project-config/v_1.0.0.0"> + <appSettings> + <add key="server" value="testhost.somecompany.com" /> + </appSettings> + </configuration> +
  • The example will read the server value from the above configuration file.

    -<xmlpeek
    -    file="App.config"
    -    xpath="/x:configuration/x:appSettings/x:add[@key = 'server']/@value"
    -    property="configuration.server">
    -    <namespaces>
    -        <namespace prefix="x" uri="http://www.gordic.cz/shared/project-config/v_1.0.0.0" />
    -    </namespaces>
    -</xmlpeek>
    -    
    + <xmlpeek + file="App.config" + xpath="/x:configuration/x:appSettings/x:add[@key = 'server']/@value" + property="configuration.server"> + <namespaces> + <namespace prefix="x" uri="http://www.gordic.cz/shared/project-config/v_1.0.0.0" /> + </namespaces> + </xmlpeek> +
  • Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/xmlpoke.html b/build-support/tools/nant/doc/help/tasks/xmlpoke.html index 0328c41a..2532e9de 100644 --- a/build-support/tools/nant/doc/help/tasks/xmlpoke.html +++ b/build-support/tools/nant/doc/help/tasks/xmlpoke.html @@ -19,11 +19,12 @@ -> Task Reference -> <xmlpoke> - - v0.85 + + v0.91-alpha2

    <xmlpoke>

    +

    [This is preliminary documentation and subject to change.]

    Replaces text in an XML file at the location specified by an XPath expression.

    The location specified by the XPath expression must exist, it will not create the parent elements for you. However, provided you have a root element you could use a series of the tasks to build the XML file up if necessary.

    Parameters

    @@ -53,6 +54,12 @@ The XPath expression used to select which nodes are to be modified. True + + preserveWhitespace + bool + Namespace definitions to resolve prefixes in the XPath expression. + False + failonerror bool @@ -83,8 +90,8 @@

    - - <namespaces> + + <namespaces>

    Namespace definitions to resolve prefixes in the XPath expression.
    <namespace>

    Represents an XML namespace.

    Parameters

    AttributeTypeDescriptionRequired
    prefixstring The prefix to associate with the namespace. True
    uristring The associated XML namespace URI. True
    ifbool Indicates if the namespace should be added to the XmlNamespaceManager. If true then the namespace will be added; otherwise, skipped. The default is true. False
    unlessbool Indicates if the namespace should not be added to the XmlNamespaceManager. list. If false then the parameter will be added; otherwise, skipped. The default is false. False
    </namespace>

    </namespaces>

    @@ -94,42 +101,42 @@

    Change the server setting in the configuration from testhost.somecompany.com to productionhost.somecompany.com.

    XML file:

    -<?xml version="1.0" encoding="utf-8" ?>
    -<configuration>
    -    <appSettings>
    -        <add key="server" value="testhost.somecompany.com" />
    -    </appSettings>
    -</configuration>
    -    
    + <?xml version="1.0" encoding="utf-8" ?> + <configuration> + <appSettings> + <add key="server" value="testhost.somecompany.com" /> + </appSettings> + </configuration> +

    Build fragment:

    -<xmlpoke
    -    file="App.config"
    -    xpath="/configuration/appSettings/add[@key = 'server']/@value"
    -    value="productionhost.somecompany.com" />
    -    
    + <xmlpoke + file="App.config" + xpath="/configuration/appSettings/add[@key = 'server']/@value" + value="productionhost.somecompany.com" /> +
  • Modify the noNamespaceSchemaLocation in an XML file.

    XML file:

    -<?xml version="1.0" encoding="utf-8" ?>
    -<Commands xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Path Value">
    -</Commands>
    -    
    + <?xml version="1.0" encoding="utf-8" ?> + <Commands xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Path Value"> + </Commands> +

    Build fragment:

    -<xmlpoke file="test.xml" xpath="/Commands/@xsi:noNamespaceSchemaLocation" value="d:\Commands.xsd">
    -    <namespaces>
    -        <namespace prefix="xsi" uri="http://www.w3.org/2001/XMLSchema-instance" />
    -    </namespaces>
    -</xmlpoke>
    -    
    + <xmlpoke file="test.xml" xpath="/Commands/@xsi:noNamespaceSchemaLocation" value="d:\Commands.xsd"> + <namespaces> + <namespace prefix="xsi" uri="http://www.w3.org/2001/XMLSchema-instance" /> + </namespaces> + </xmlpoke> +
  • Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/tasks/zip.html b/build-support/tools/nant/doc/help/tasks/zip.html index 5b078c25..1e7add6b 100644 --- a/build-support/tools/nant/doc/help/tasks/zip.html +++ b/build-support/tools/nant/doc/help/tasks/zip.html @@ -19,13 +19,14 @@ -> Task Reference -> <zip> - - v0.85 + + v0.91-alpha2

    <zip>

    +

    [This is preliminary documentation and subject to change.]

    Creates a zip file from the specified filesets.

    -

    Uses #ziplib (SharpZipLib), an open source Tar/Zip/GZip library written entirely in C#.

    +

    Uses #ziplib (SharpZipLib), an open source Tar/Zip/GZip library written entirely in C#.

    Parameters

    @@ -112,34 +113,34 @@

    - - <fileset> + + <fileset>

    The set of files to be included in the archive.

    - - </fileset> + + </fileset>

    Examples

    • Zip all files in ${build.dir} and ${doc.dir} into a file called "backup.zip".

      -<zip zipfile="backup.zip">
      -    <fileset basedir="${bin.dir}" prefix="bin">
      -        <include name="**/*" />
      -    </fileset>
      -    <fileset basedir="${doc.dir}" prefix="doc">
      -        <include name="**/*" />
      -    </fileset>
      -</zip>
      -    
      + <zip zipfile="backup.zip"> + <fileset basedir="${bin.dir}" prefix="bin"> + <include name="**/*" /> + </fileset> + <fileset basedir="${doc.dir}" prefix="doc"> + <include name="**/*" /> + </fileset> + </zip> +

    Requirements

    - Assembly: NAnt.CompressionTasks (0.85.2478.0) + Assembly: NAnt.CompressionTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/types/assemblyfileset.html b/build-support/tools/nant/doc/help/types/assemblyfileset.html index 6b9c78a9..02b2085c 100644 --- a/build-support/tools/nant/doc/help/types/assemblyfileset.html +++ b/build-support/tools/nant/doc/help/types/assemblyfileset.html @@ -19,18 +19,20 @@ ->Type Reference-> <assemblyfileset> - +

    <assemblyfileset>

    +

    [This is preliminary documentation and subject to change.]

    Specialized <fileset> class for managing assembly files.

    If an include pattern does not contain any wildcard characters then the assembly will be searched for in following locations (in the order listed):

    • The base directory of the fileset.
    • The directories specified using the nested <lib> element.
    • -
    • The assembly directory of the current target framework.
    • +
    • The list of reference assemblies of the current target framework.
    +

    The reference assemblies of a given target framework are defined using <reference-assemblies> filesets in the <framework> node of the NAnt configuration file.

    Parameters

    @@ -46,6 +48,12 @@ + + + + + + @@ -76,136 +84,152 @@

    - - <lib> + + <lib>

    -
    Additional directories to search in for assembly references.

    A specialized <fileset> used for setting the lib directories.

    The primary reason for this class is to allow the BaseDirectory to always be the same value as the parent <assemblyfileset>

    Parameters

    The base of the directory of this fileset. The default is the project base directory. False
    casesensitivebool Indicates whether include and exclude patterns must be treated in a case-sensitive way. The default is true on Unix; otherwise, false. False
    defaultexcludes bool
    AttributeTypeDescriptionRequired
    defaultexcludesbool Indicates whether default excludes should be used or not. The default is true. False
    failonemptybool When set to true, causes the fileset element to throw a ValidationException when no files match the includes and excludes criteria. The default is false. False
    idstring The ID used to be referenced later. False
    refidstring The ID to use as the reference. False

    Nested Elements:

    - <includes> -

    Deprecated. The items to include in the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to include. True
    asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the file will be searched for on the path. The default is false. False
    ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

    - </includes> -

    - <include> -

    The items to include in the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to include. True
    asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the file will be searched for on the path. The default is false. False
    ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

    - </include> -

    - <excludes> -

    Deprecated. The items to exclude from the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to exclude. True
    ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

    - </excludes> -

    - <exclude> -

    The items to exclude from the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to exclude. True
    ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

    - </exclude> -

    - <includesList> -

    Deprecated. The files from which a list of patterns or files to include should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
    ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
    namefile The name of a file; each line of this file is taken to be a pattern. True

    - </includesList> -

    - <includesfile> -

    The files from which a list of patterns or files to include should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
    ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
    namefile The name of a file; each line of this file is taken to be a pattern. True

    - </includesfile> -

    - <excludesfile> -

    The files from which a list of patterns or files to exclude should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    namefile The name of a file; each line of this file is taken to be a pattern. True
    ifbool If true then the patterns will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be excluded; otherwise, skipped. The default is false. False

    - </excludesfile> +
    Additional directories to search in for assembly references.

    A specialized <fileset> used for setting the lib directories.

    The primary reason for this class is to allow the BaseDirectory to always be the same value as the parent <assemblyfileset>

    Parameters

    AttributeTypeDescriptionRequired
    casesensitivebool Indicates whether include and exclude patterns must be treated in a case-sensitive way. The default is true on Unix; otherwise, false. False
    defaultexcludesbool Indicates whether default excludes should be used or not. The default is true. False
    failonemptybool When set to true, causes the fileset element to throw a ValidationException when no files match the includes and excludes criteria. The default is false. False
    idstring The ID used to be referenced later. False
    refidstring The ID to use as the reference. False

    Nested Elements:

    + <includes> +

    Deprecated. The items to include in the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to include. True
    asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the file will be searched for on the path. The default is false. False
    ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

    + </includes> +

    + <include> +

    The items to include in the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to include. True
    asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the file will be searched for on the path. The default is false. False
    ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

    + </include> +

    + <excludes> +

    Deprecated. The items to exclude from the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to exclude. True
    ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

    + </excludes> +

    + <exclude> +

    The items to exclude from the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to exclude. True
    ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

    + </exclude> +

    + <includesList> +

    Deprecated. The files from which a list of patterns or files to include should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
    ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
    namefile The name of a file; each line of this file is taken to be a pattern. True

    + </includesList> +

    + <includesfile> +

    The files from which a list of patterns or files to include should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
    ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
    namefile The name of a file; each line of this file is taken to be a pattern. True

    + </includesfile> +

    + <excludesfile> +

    The files from which a list of patterns or files to exclude should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    namefile The name of a file; each line of this file is taken to be a pattern. True
    ifbool If true then the patterns will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be excluded; otherwise, skipped. The default is false. False

    + </excludesfile> +

    + <patternset> +

    Adds a nested set of patterns, or references a standalone patternset.

    + </patternset>

    - - </lib> + + </lib>

    - - <includes> + + <includes>

    Deprecated. The items to include in the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to include. True
    asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the file will be searched for on the path. The default is false. False
    ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

    - - </includes> + + </includes>

    - - <include> + + <include>

    The items to include in the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to include. True
    asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the file will be searched for on the path. The default is false. False
    ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

    - - </include> + + </include>

    - - <excludes> + + <excludes>

    Deprecated. The items to exclude from the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to exclude. True
    ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

    - - </excludes> + + </excludes>

    - - <exclude> + + <exclude>

    The items to exclude from the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to exclude. True
    ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

    - - </exclude> + + </exclude>

    - - <includesList> + + <includesList>

    Deprecated. The files from which a list of patterns or files to include should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
    ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
    namefile The name of a file; each line of this file is taken to be a pattern. True

    - - </includesList> + + </includesList>

    - - <includesfile> + + <includesfile>

    The files from which a list of patterns or files to include should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
    ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
    namefile The name of a file; each line of this file is taken to be a pattern. True

    - - </includesfile> + + </includesfile>

    - - <excludesfile> + + <excludesfile>

    The files from which a list of patterns or files to exclude should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    namefile The name of a file; each line of this file is taken to be a pattern. True
    ifbool If true then the patterns will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be excluded; otherwise, skipped. The default is false. False

    - - </excludesfile> + + </excludesfile> +

    + +

    + + + <patternset> +

    +
    Adds a nested set of patterns, or references a standalone patternset.

    +

    + + + </patternset>

    Examples

      @@ -249,7 +273,7 @@

    Requirements

    - Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)

    See Also

    <fileset> diff --git a/build-support/tools/nant/doc/help/types/categories.html b/build-support/tools/nant/doc/help/types/categories.html index b6738eb2..fc3dbe37 100644 --- a/build-support/tools/nant/doc/help/types/categories.html +++ b/build-support/tools/nant/doc/help/types/categories.html @@ -19,11 +19,12 @@ -> Type Reference -> <categories> - - v0.85 + + v0.91-alpha2

    <categories>

    +

    [This is preliminary documentation and subject to change.]

    Controls the categories of tests to execute using the <nunit2> task.

    Parameters

    @@ -53,27 +54,27 @@

    - - <include> + + <include>

    Specifies a list of categories to include.

    Represents a certain group of test cases or fixtures.

    Parameters

    AttributeTypeDescriptionRequired
    namestring A name of a category, or comma-separated list of names. True
    ifbool If true then the category will be processed; otherwise, skipped. The default is true. False
    unlessbool If true then the category will be skipped; otherwise, processed. The default is false. False

    - - </include> + + </include>

    - - <exclude> + + <exclude>

    Specifies a list of categories to exclude.

    Represents a certain group of test cases or fixtures.

    Parameters

    AttributeTypeDescriptionRequired
    namestring A name of a category, or comma-separated list of names. True
    ifbool If true then the category will be processed; otherwise, skipped. The default is true. False
    unlessbool If true then the category will be skipped; otherwise, processed. The default is false. False

    - - </exclude> + + </exclude>

    Examples

      @@ -96,7 +97,7 @@

    Requirements

    - Assembly: NAnt.NUnit2Tasks (0.85.2478.0) + Assembly: NAnt.NUnit2Tasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/types/credential.html b/build-support/tools/nant/doc/help/types/credential.html index 11fde99c..3cee0437 100644 --- a/build-support/tools/nant/doc/help/types/credential.html +++ b/build-support/tools/nant/doc/help/types/credential.html @@ -19,11 +19,12 @@ -> Type Reference -> <credential> - - v0.85 + + v0.91-alpha2

    <credential>

    +

    [This is preliminary documentation and subject to change.]

    Provides credentials for password-based authentication schemes.

    Parameters

    @@ -80,7 +81,7 @@

    Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/types/cvsfileset.html b/build-support/tools/nant/doc/help/types/cvsfileset.html index ec853ade..d59484c8 100644 --- a/build-support/tools/nant/doc/help/types/cvsfileset.html +++ b/build-support/tools/nant/doc/help/types/cvsfileset.html @@ -19,11 +19,12 @@ -> Type Reference -> <cvsfileset> - - v0.85 + + v0.91-alpha2

    <cvsfileset>

    +

    [This is preliminary documentation and subject to change.]

    A <cvsfileset> is a <fileset> with extra attributes useful in the context of the <cvs> task.

    Parameters

    @@ -46,6 +47,12 @@ The base of the directory of this fileset. The default is the project base directory. False + + casesensitive + bool + Indicates whether include and exclude patterns must be treated in a case-sensitive way. The default is true on Unix; otherwise, false. + False + defaultexcludes bool @@ -77,99 +84,111 @@

    - - <includes> + + <includes>

    Deprecated. The items to include in the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to include. True
    asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the file will be searched for on the path. The default is false. False
    ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

    - - </includes> + + </includes>

    - - <include> + + <include>

    The items to include in the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to include. True
    asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the file will be searched for on the path. The default is false. False
    ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

    - - </include> + + </include>

    - - <excludes> + + <excludes>

    Deprecated. The items to exclude from the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to exclude. True
    ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

    - - </excludes> + + </excludes>

    - - <exclude> + + <exclude>

    The items to exclude from the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to exclude. True
    ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

    - - </exclude> + + </exclude>

    - - <includesList> + + <includesList>

    Deprecated. The files from which a list of patterns or files to include should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
    ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
    namefile The name of a file; each line of this file is taken to be a pattern. True

    - - </includesList> + + </includesList>

    - - <includesfile> + + <includesfile>

    The files from which a list of patterns or files to include should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
    ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
    namefile The name of a file; each line of this file is taken to be a pattern. True

    - - </includesfile> + + </includesfile>

    - - <excludesfile> + + <excludesfile>

    The files from which a list of patterns or files to exclude should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    namefile The name of a file; each line of this file is taken to be a pattern. True
    ifbool If true then the patterns will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be excluded; otherwise, skipped. The default is false. False

    - - </excludesfile> + + </excludesfile> +

    + +

    + + + <patternset> +

    +
    Adds a nested set of patterns, or references a standalone patternset.

    +

    + + + </patternset>

    Requirements

    - Assembly: NAnt.SourceControlTasks (0.85.2478.0) + Assembly: NAnt.SourceControlTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/types/dirset.html b/build-support/tools/nant/doc/help/types/dirset.html index 1e3ea5a9..58a4d65f 100644 --- a/build-support/tools/nant/doc/help/types/dirset.html +++ b/build-support/tools/nant/doc/help/types/dirset.html @@ -19,39 +19,44 @@ -> Type Reference -> <dirset> - - v0.85 + + v0.91-alpha2

    <dirset>

    -

    A specialized <fileset> used for specifying a set of directories.

    Hint for supporting tasks that the included directories instead of files should be used.

    Parameters

    AttributeTypeDescriptionRequired
    basedirdirectory The base of the directory of this fileset. The default is the project base directory. False
    defaultexcludesbool Indicates whether default excludes should be used or not. The default is true. False
    failonemptybool When set to true, causes the fileset element to throw a ValidationException when no files match the includes and excludes criteria. The default is false. False
    idstring The ID used to be referenced later. False
    refidstring The ID to use as the reference. False

    Nested Elements:

    - <includes> -

    Deprecated. The items to include in the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to include. True
    asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the file will be searched for on the path. The default is false. False
    ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

    - </includes> -

    - <include> -

    The items to include in the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to include. True
    asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the file will be searched for on the path. The default is false. False
    ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

    - </include> -

    - <excludes> -

    Deprecated. The items to exclude from the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to exclude. True
    ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

    - </excludes> -

    - <exclude> -

    The items to exclude from the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to exclude. True
    ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

    - </exclude> -

    - <includesList> -

    Deprecated. The files from which a list of patterns or files to include should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
    ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
    namefile The name of a file; each line of this file is taken to be a pattern. True

    - </includesList> -

    - <includesfile> -

    The files from which a list of patterns or files to include should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
    ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
    namefile The name of a file; each line of this file is taken to be a pattern. True

    - </includesfile> -

    - <excludesfile> -

    The files from which a list of patterns or files to exclude should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    namefile The name of a file; each line of this file is taken to be a pattern. True
    ifbool If true then the patterns will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be excluded; otherwise, skipped. The default is false. False

    - </excludesfile> -

    Requirements

    Assembly: NAnt.Core (0.85.2478.0) +

    [This is preliminary documentation and subject to change.]

    +

    A specialized <fileset> used for specifying a set of directories.

    Hint for supporting tasks that the included directories instead of files should be used.

    Parameters

    AttributeTypeDescriptionRequired
    basedirdirectory The base of the directory of this fileset. The default is the project base directory. False
    casesensitivebool Indicates whether include and exclude patterns must be treated in a case-sensitive way. The default is true on Unix; otherwise, false. False
    defaultexcludesbool Indicates whether default excludes should be used or not. The default is true. False
    failonemptybool When set to true, causes the fileset element to throw a ValidationException when no files match the includes and excludes criteria. The default is false. False
    idstring The ID used to be referenced later. False
    refidstring The ID to use as the reference. False

    Nested Elements:

    + <includes> +

    Deprecated. The items to include in the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to include. True
    asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the file will be searched for on the path. The default is false. False
    ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

    + </includes> +

    + <include> +

    The items to include in the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to include. True
    asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the file will be searched for on the path. The default is false. False
    ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

    + </include> +

    + <excludes> +

    Deprecated. The items to exclude from the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to exclude. True
    ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

    + </excludes> +

    + <exclude> +

    The items to exclude from the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to exclude. True
    ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

    + </exclude> +

    + <includesList> +

    Deprecated. The files from which a list of patterns or files to include should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
    ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
    namefile The name of a file; each line of this file is taken to be a pattern. True

    + </includesList> +

    + <includesfile> +

    The files from which a list of patterns or files to include should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
    ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
    namefile The name of a file; each line of this file is taken to be a pattern. True

    + </includesfile> +

    + <excludesfile> +

    The files from which a list of patterns or files to exclude should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    namefile The name of a file; each line of this file is taken to be a pattern. True
    ifbool If true then the patterns will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be excluded; otherwise, skipped. The default is false. False

    + </excludesfile> +

    + <patternset> +

    Adds a nested set of patterns, or references a standalone patternset.

    + </patternset> +

    Requirements

    Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/types/fileset.html b/build-support/tools/nant/doc/help/types/fileset.html index ac77dbd0..63e1cfa6 100644 --- a/build-support/tools/nant/doc/help/types/fileset.html +++ b/build-support/tools/nant/doc/help/types/fileset.html @@ -19,11 +19,12 @@ -> Type Reference -> <fileset> - - v0.85 + + v0.91-alpha2

    <fileset>

    +

    [This is preliminary documentation and subject to change.]

    Filesets are groups of files. These files can be found in a directory tree starting in a base directory and are matched by patterns taken from a number of patterns. Filesets can appear inside tasks that support this feature or at the project level, i.e., as children of <project>.

    Patterns

    As described earlier, patterns are used for the inclusion and exclusion. These patterns look very much like the patterns used in DOS and UNIX:

    @@ -45,6 +46,8 @@

    Matching is done per-directory. This means that first the first directory in the pattern is matched against the first directory in the path to match. Then the second directory is matched, and so on. For example, when we have the pattern /?abc/*/*.cs and the path /xabc/foobar/test.cs, the first ?abc is matched with xabc, then * is matched with foobar, and finally *.cs is matched with test.cs. They all match, so the path matches the pattern.

    To make things a bit more flexible, we added one extra feature, which makes it possible to match multiple directory levels. This can be used to match a complete directory tree, or a file anywhere in the directory tree. To do this, ** must be used as the name of a directory. When ** is used as the name of a directory in the pattern, it matches zero or more directories. For example: /test/** matches all files/directories under /test/, such as /test/x.cs, or /test/foo/bar/xyz.html, but not /xyz.xml.

    There is one "shorthand" - if a pattern ends with / or \, then ** is appended. For example, mypackage/test/ is interpreted as if it were mypackage/test/**.

    +

    Case-Sensitivity

    +

    By default, pattern matching is case-sensitive on Unix and case-insensitive on other platforms. The casesensitive parameter can be used to override this.

    Default Excludes

    There are a set of definitions that are excluded by default from all tasks that use filesets. They are:

      @@ -62,6 +65,7 @@
    • **/SCCS
    • **/SCCS/**
    • **/vssver.scc
    • +
    • **/vssver2.scc
    • **/_vti_cnf/**

    If you do not want these default excludes applied, you may disable them by setting defaultexcludes to false.

    @@ -80,6 +84,12 @@ The base of the directory of this fileset. The default is the project base directory. False + + casesensitive + bool + Indicates whether include and exclude patterns must be treated in a case-sensitive way. The default is true on Unix; otherwise, false. + False + defaultexcludes bool @@ -111,95 +121,107 @@

    - - <includes> + + <includes>

    Deprecated. The items to include in the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to include. True
    asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the file will be searched for on the path. The default is false. False
    ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

    - - </includes> + + </includes>

    - - <include> + + <include>

    The items to include in the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to include. True
    asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the file will be searched for on the path. The default is false. False
    ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

    - - </include> + + </include>

    - - <excludes> + + <excludes>

    Deprecated. The items to exclude from the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to exclude. True
    ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

    - - </excludes> + + </excludes>

    - - <exclude> + + <exclude>

    The items to exclude from the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to exclude. True
    ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

    - - </exclude> + + </exclude>

    - - <includesList> + + <includesList>

    Deprecated. The files from which a list of patterns or files to include should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
    ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
    namefile The name of a file; each line of this file is taken to be a pattern. True

    - - </includesList> + + </includesList>

    - - <includesfile> + + <includesfile>

    The files from which a list of patterns or files to include should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
    ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
    namefile The name of a file; each line of this file is taken to be a pattern. True

    - - </includesfile> + + </includesfile>

    - - <excludesfile> + + <excludesfile>

    The files from which a list of patterns or files to exclude should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    namefile The name of a file; each line of this file is taken to be a pattern. True
    ifbool If true then the patterns will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be excluded; otherwise, skipped. The default is false. False

    - - </excludesfile> + + </excludesfile> +

    + +

    + + + <patternset> +

    +
    Adds a nested set of patterns, or references a standalone patternset.

    +

    + + + </patternset>

    Examples

      @@ -276,7 +298,9 @@

    Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    +

    See Also

    + <patternset> \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/types/filterchain.html b/build-support/tools/nant/doc/help/types/filterchain.html index 12e4bcc2..0534bc37 100644 --- a/build-support/tools/nant/doc/help/types/filterchain.html +++ b/build-support/tools/nant/doc/help/types/filterchain.html @@ -19,11 +19,12 @@ -> Type Reference -> <filterchain> - - v0.85 + + v0.91-alpha2

    <filterchain>

    +

    [This is preliminary documentation and subject to change.]

    Represent a chain of NAnt filters that can be applied to a Task.

    A FilterChain represents a collection of one or more filters that can be appled to a Task such as the <copy> task. In the case of the <copy> task, the contents of the copied files are filtered through each filter specified in the filter chain. Filtering occurs in the order the filters are specified with filtered output of one filter feeding into another.

    :--------:--->:----------:--->:----------: ... :----------:--->:--------:

    :.Source.:--->:.Filter 1.:--->:.Filter 2.: ... :.Filter n.:--->:.target.:

    :--------:--->:----------:--->:----------: ... :----------:--->:--------:

    @@ -72,14 +73,14 @@

    - - <filter> + + <filter>

    The filters to apply.

    Allows a file's content to be modified while performing an operation.

    Parameters

    AttributeTypeDescriptionRequired
    ifbool If true then the filter will be used; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the filter will be executed; otherwise, skipped. The default is false. False

    - - </filter> + + </filter>

    Examples

      @@ -103,7 +104,7 @@

    Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/types/index.html b/build-support/tools/nant/doc/help/types/index.html index 9afd267e..ea3b14cf 100644 --- a/build-support/tools/nant/doc/help/types/index.html +++ b/build-support/tools/nant/doc/help/types/index.html @@ -16,14 +16,15 @@ -> Help - -> - Type Reference + -> + Type Reference - - v0.85 + + v0.91-alpha2

    Type Reference

    +

    [This is preliminary documentation and subject to change.]

    @@ -72,6 +73,14 @@ + + + + + + + + - +
    Represent a chain of NAnt filters that can be applied to a Task.
    + moduleset + +

    One or more modules to compile into an assembly.

    +
    namespaceimports @@ -86,6 +95,12 @@

    Paths are groups of files and/or directories that need to be passed as a single unit. The order in which parts of the path are specified in the build file is retained, and duplicate parts are automatically suppressed.

    + patternset + A set of patterns, mostly used to include or exclude certain files.
    proxy diff --git a/build-support/tools/nant/doc/help/types/namespaceimports.html b/build-support/tools/nant/doc/help/types/namespaceimports.html index 45a68714..b01e1a06 100644 --- a/build-support/tools/nant/doc/help/types/namespaceimports.html +++ b/build-support/tools/nant/doc/help/types/namespaceimports.html @@ -19,11 +19,12 @@ -> Type Reference -> <namespaceimports>

    <namespaceimports>

    +

    [This is preliminary documentation and subject to change.]

    Contains a collection of NamespaceImport items.

    Parameters

    @@ -52,14 +53,14 @@

    - - <import> + + <import>

    Adds a NamespaceImport to the end of the collection.

    Represents a namespace to import.

    Parameters

    AttributeTypeDescriptionRequired
    ifbool Indicates if the import should be generated. False
    namestringDeprecated. The name of the namespace to import. False
    namespacestring The name of the namespace to import. False
    unlessbool Indicates if the import should be not generated. False

    - - </import> + + </import>

    Examples

      @@ -88,7 +89,7 @@

    Requirements

    - Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/types/path.html b/build-support/tools/nant/doc/help/types/path.html index 6b82da28..e720001a 100644 --- a/build-support/tools/nant/doc/help/types/path.html +++ b/build-support/tools/nant/doc/help/types/path.html @@ -19,11 +19,12 @@ -> Type Reference -> <path> - - v0.85 + + v0.91-alpha2

    <path>

    +

    [This is preliminary documentation and subject to change.]

    Paths are groups of files and/or directories that need to be passed as a single unit. The order in which parts of the path are specified in the build file is retained, and duplicate parts are automatically suppressed.

    @@ -54,42 +55,42 @@

    - - <path> + + <path>

    Defines a set of path elements to add to the current path.

    - - </path> + + </path>

    - - <pathelement> + + <pathelement>

    Defines a path element to add to the current path.

    Represents a nested path element.

    Parameters

    AttributeTypeDescriptionRequired
    dirdirectory The name of a directory to add to the path. Will be replaced with the absolute path of the directory. False
    filefile The name of a file to add to the path. Will be replaced with the absolute path of the file. False
    ifbool If true then the entry will be added to the path; otherwise, skipped. The default is true. False
    path<path> A string that will be treated as a path-like string. You can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. False
    unlessbool Opposite of if. If false then the entry will be added to the path; otherwise, skipped. The default is false. False

    - - </pathelement> + + </pathelement>

    Examples

    • Define a global <path> that can be referenced by other tasks or types.

      -      <path id="includes-path">
      -          <pathelement path="%INCLUDE%" />
      -          <pathelement dir="${build.dir}/include" />
      -      </path>
      -  
      + <path id="includes-path"> + <pathelement path="%INCLUDE%" /> + <pathelement dir="${build.dir}/include" /> + </path> +

    Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/types/proxy.html b/build-support/tools/nant/doc/help/types/proxy.html index 9b988544..54ac44e5 100644 --- a/build-support/tools/nant/doc/help/types/proxy.html +++ b/build-support/tools/nant/doc/help/types/proxy.html @@ -19,11 +19,12 @@ -> Type Reference -> <proxy> - - v0.85 + + v0.91-alpha2

    <proxy>

    +

    [This is preliminary documentation and subject to change.]

    Contains HTTP proxy settings used to process requests to Internet resources.

    Parameters

    @@ -82,18 +83,18 @@

    - - <credentials> + + <credentials>

    The credentials to submit to the proxy server for authentication.

    - - </credentials> + + </credentials>

    Requirements

    - Assembly: NAnt.Core (0.85.2478.0) + Assembly: NAnt.Core (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/types/resourcefileset.html b/build-support/tools/nant/doc/help/types/resourcefileset.html index 358996ad..6bd6d61f 100644 --- a/build-support/tools/nant/doc/help/types/resourcefileset.html +++ b/build-support/tools/nant/doc/help/types/resourcefileset.html @@ -19,11 +19,12 @@ -> Type Reference -> <resourcefileset> - - v0.85 + + v0.91-alpha2

    <resourcefileset>

    +

    [This is preliminary documentation and subject to change.]

    Specialized <fileset> class for managing resource files.

    Parameters

    @@ -37,7 +38,7 @@ dynamicprefix bool - Indicates that prefixes should be dynamically generated by taking the path of the resource relative to the basedir and appending it to the specified prefix. + Indicates whether prefixes should be dynamically generated by taking the path of the resource relative to the basedir and appending it to the specified prefix. The default is false. False @@ -52,6 +53,12 @@ The base of the directory of this fileset. The default is the project base directory. False + + casesensitive + bool + Indicates whether include and exclude patterns must be treated in a case-sensitive way. The default is true on Unix; otherwise, false. + False + defaultexcludes bool @@ -83,99 +90,111 @@

    - - <includes> + + <includes>

    Deprecated. The items to include in the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to include. True
    asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the file will be searched for on the path. The default is false. False
    ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

    - - </includes> + + </includes>

    - - <include> + + <include>

    The items to include in the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to include. True
    asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the file will be searched for on the path. The default is false. False
    ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

    - - </include> + + </include>

    - - <excludes> + + <excludes>

    Deprecated. The items to exclude from the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to exclude. True
    ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

    - - </excludes> + + </excludes>

    - - <exclude> + + <exclude>

    The items to exclude from the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to exclude. True
    ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

    - - </exclude> + + </exclude>

    - - <includesList> + + <includesList>

    Deprecated. The files from which a list of patterns or files to include should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
    ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
    namefile The name of a file; each line of this file is taken to be a pattern. True

    - - </includesList> + + </includesList>

    - - <includesfile> + + <includesfile>

    The files from which a list of patterns or files to include should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
    ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
    namefile The name of a file; each line of this file is taken to be a pattern. True

    - - </includesfile> + + </includesfile>

    - - <excludesfile> + + <excludesfile>

    The files from which a list of patterns or files to exclude should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    namefile The name of a file; each line of this file is taken to be a pattern. True
    ifbool If true then the patterns will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be excluded; otherwise, skipped. The default is false. False

    - - </excludesfile> + + </excludesfile> +

    + +

    + + + <patternset> +

    +
    Adds a nested set of patterns, or references a standalone patternset.

    +

    + + + </patternset>

    Requirements

    - Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/types/tarfileset.html b/build-support/tools/nant/doc/help/types/tarfileset.html index 93582d83..b5e31463 100644 --- a/build-support/tools/nant/doc/help/types/tarfileset.html +++ b/build-support/tools/nant/doc/help/types/tarfileset.html @@ -19,11 +19,12 @@ -> Type Reference -> <tarfileset> - - v0.85 + + v0.91-alpha2

    <tarfileset>

    +

    [This is preliminary documentation and subject to change.]

    A <tarfileset> is a <fileset> with extra attributes useful in the context of the <tar> task.

    Parameters

    @@ -82,6 +83,12 @@ The base of the directory of this fileset. The default is the project base directory. False + + casesensitive + bool + Indicates whether include and exclude patterns must be treated in a case-sensitive way. The default is true on Unix; otherwise, false. + False + defaultexcludes bool @@ -113,99 +120,111 @@

    - - <includes> + + <includes>

    Deprecated. The items to include in the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to include. True
    asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the file will be searched for on the path. The default is false. False
    ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

    - - </includes> + + </includes>

    - - <include> + + <include>

    The items to include in the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to include. True
    asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the file will be searched for on the path. The default is false. False
    ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

    - - </include> + + </include>

    - - <excludes> + + <excludes>

    Deprecated. The items to exclude from the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to exclude. True
    ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

    - - </excludes> + + </excludes>

    - - <exclude> + + <exclude>

    The items to exclude from the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to exclude. True
    ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

    - - </exclude> + + </exclude>

    - - <includesList> + + <includesList>

    Deprecated. The files from which a list of patterns or files to include should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
    ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
    namefile The name of a file; each line of this file is taken to be a pattern. True

    - - </includesList> + + </includesList>

    - - <includesfile> + + <includesfile>

    The files from which a list of patterns or files to include should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
    ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
    namefile The name of a file; each line of this file is taken to be a pattern. True

    - - </includesfile> + + </includesfile>

    - - <excludesfile> + + <excludesfile>

    The files from which a list of patterns or files to exclude should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    namefile The name of a file; each line of this file is taken to be a pattern. True
    ifbool If true then the patterns will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be excluded; otherwise, skipped. The default is false. False

    - - </excludesfile> + + </excludesfile> +

    + +

    + + + <patternset> +

    +
    Adds a nested set of patterns, or references a standalone patternset.

    +

    + + + </patternset>

    Requirements

    - Assembly: NAnt.CompressionTasks (0.85.2478.0) + Assembly: NAnt.CompressionTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/types/warnaserror.html b/build-support/tools/nant/doc/help/types/warnaserror.html index 28df52e7..f175d815 100644 --- a/build-support/tools/nant/doc/help/types/warnaserror.html +++ b/build-support/tools/nant/doc/help/types/warnaserror.html @@ -19,11 +19,12 @@ -> Type Reference -> <warnaserror> - - v0.85 + + v0.91-alpha2

    <warnaserror>

    +

    [This is preliminary documentation and subject to change.]

    Controls the behaviour of a compiler with regards to the reporting of warnings.

    Parameters

    @@ -53,50 +54,50 @@

    - - <include> + + <include>

    Specifies a list of warnings that the compiler should treat as errors. This overrides the warnaserror attribute. Only supported when targeting .NET 2.0 or higher.

    Represents a compiler warning.

    Parameters

    AttributeTypeDescriptionRequired
    numberstring A warning number, or comma-separated list of warnings, that you want the compiler to suppress or report. True
    ifbool If true then the element will be processed; otherwise, skipped. The default is true. False
    unlessbool If true then the element will be skipped; otherwise, processed. The default is false. False

    - - </include> + + </include>

    - - <exclude> + + <exclude>

    Specifies a list of warnings that the compiler should NOT treat as errors. This is only useful if warnaserror is true. Only supported when targeting .NET 2.0 or higher.

    Represents a compiler warning.

    Parameters

    AttributeTypeDescriptionRequired
    numberstring A warning number, or comma-separated list of warnings, that you want the compiler to suppress or report. True
    ifbool If true then the element will be processed; otherwise, skipped. The default is true. False
    unlessbool If true then the element will be skipped; otherwise, processed. The default is false. False

    - - </exclude> + + </exclude>

    Examples

    • Instruct a compiler to report warning 0519 as an error.

      -<warnaserror>
      -    <include number="0519" />
      -</warnaserror>
      -    
      + <warnaserror> + <include number="0519" /> + </warnaserror> +
    • Instruct a compiler not to report warning 0519 as an error, if the release property is true.

      -<warnaserror>
      -    <exclude number="0519" if="${release}" />
      -</warnaserror>
      -    
      + <warnaserror> + <exclude number="0519" if="${release}" /> + </warnaserror> +

    Requirements

    - Assembly: NAnt.DotNetTasks (0.85.2478.0) + Assembly: NAnt.DotNetTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/help/types/zipfileset.html b/build-support/tools/nant/doc/help/types/zipfileset.html index e1caf184..5020233e 100644 --- a/build-support/tools/nant/doc/help/types/zipfileset.html +++ b/build-support/tools/nant/doc/help/types/zipfileset.html @@ -19,11 +19,12 @@ -> Type Reference -> <zipfileset> - - v0.85 + + v0.91-alpha2

    <zipfileset>

    +

    [This is preliminary documentation and subject to change.]

    A <zipfileset> is a <fileset> with extra attributes useful in the context of the <zip> task.

    Parameters

    @@ -46,6 +47,12 @@ The base of the directory of this fileset. The default is the project base directory. False + + casesensitive + bool + Indicates whether include and exclude patterns must be treated in a case-sensitive way. The default is true on Unix; otherwise, false. + False + defaultexcludes bool @@ -77,99 +84,111 @@

    - - <includes> + + <includes>

    Deprecated. The items to include in the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to include. True
    asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the file will be searched for on the path. The default is false. False
    ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

    - - </includes> + + </includes>

    - - <include> + + <include>

    The items to include in the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to include. True
    asisbool If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the file will be searched for on the path. The default is false. False
    ifbool If true then the pattern will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. False

    - - </include> + + </include>

    - - <excludes> + + <excludes>

    Deprecated. The items to exclude from the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to exclude. True
    ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

    - - </excludes> + + </excludes>

    - - <exclude> + + <exclude>

    The items to exclude from the fileset.

    Parameters

    AttributeTypeDescriptionRequired
    namestring The pattern or file name to exclude. True
    ifbool If true then the pattern will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. False

    - - </exclude> + + </exclude>

    - - <includesList> + + <includesList>

    Deprecated. The files from which a list of patterns or files to include should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
    ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
    namefile The name of a file; each line of this file is taken to be a pattern. True

    - - </includesList> + + </includesList>

    - - <includesfile> + + <includesfile>

    The files from which a list of patterns or files to include should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    asisbool If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. False
    frompathbool If true then the patterns in the include file will be searched for on the path. The default is false. False
    ifbool If true then the patterns will be included; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. False
    namefile The name of a file; each line of this file is taken to be a pattern. True

    - - </includesfile> + + </includesfile>

    - - <excludesfile> + + <excludesfile>

    The files from which a list of patterns or files to exclude should be obtained.

    Parameters

    AttributeTypeDescriptionRequired
    namefile The name of a file; each line of this file is taken to be a pattern. True
    ifbool If true then the patterns will be excluded; otherwise, skipped. The default is true. False
    unlessbool Opposite of if. If false then the patterns will be excluded; otherwise, skipped. The default is false. False

    - - </excludesfile> + + </excludesfile> +

    + +

    + + + <patternset> +

    +
    Adds a nested set of patterns, or references a standalone patternset.

    +

    + + + </patternset>

    Requirements

    - Assembly: NAnt.CompressionTasks (0.85.2478.0) + Assembly: NAnt.CompressionTasks (0.91.3881.0)
    \ No newline at end of file diff --git a/build-support/tools/nant/doc/license.html b/build-support/tools/nant/doc/license.html index 18a1c975..8e218df1 100644 --- a/build-support/tools/nant/doc/license.html +++ b/build-support/tools/nant/doc/license.html @@ -1,81 +1,81 @@ - - - - NAnt License - - - - - - - - - - - - - - - -
    -

    NAnt - License

    -

    Copyright 2001-2006 Gerry Shaw

    -
    - NAnt logo (link to home page) -
    -

    - This program is free software; you can redistribute it and/or modify it under - the terms of the GNU General Public License as published by the Free Software - Foundation; either version 2 of the License, or (at your option) any later - version. -

    -

    - This program is distributed in the hope that it will be useful, but WITHOUT ANY - WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A - PARTICULAR PURPOSE. See the GNU General Public License for more details. -

    -

    - You should have received a copy of the GNU General Public License along with - this program; if not, write to the Free Software Foundation, Inc., 59 Temple - Place, Suite 330, Boston, MA 02111-1307 USA -

    -

    - As a special exception, the copyright holders of this software give you - permission to link the assemblies with independent modules to produce - new assemblies, regardless of the license terms of these independent - modules, and to copy and distribute the resulting assemblies under - terms of your choice, provided that you also meet, for each linked - independent module, the terms and conditions of the license of that - module. An independent module is a module which is not derived from or - based on these assemblies. If you modify this software, you may extend - this exception to your version of the software, but you are not - obligated to do so. If you do not wish to do so, delete this exception - statement from your version. -

    -

    - A copy of the GNU General Public License is available in the COPYING.txt file - included with all NAnt distributions. -

    -

    - The GNU Project has more information on the - GNU General Public License. -

    -

    NDoc License

    -

    - NAnt ships with a prebuilt version of NDoc. - The NAnt license does not apply to these components located in the bin folder - of the distribution. NDoc is licensed under the - GNU General Public License. -

    -

    NUnit License

    -

    - NAnt ships with a prebuilt version of NUnit. - The NAnt license does not apply to these components located in the bin folder - of the distribution. NUnit is licensed under a - OSI approved license. -

    - - + + + + NAnt License + + + + + + + + + + + + + + + +
    +

    NAnt + License

    +

    Copyright 2001-2008 Gerry Shaw

    +
    + NAnt logo (link to home page) +
    +

    + This program is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) any later + version. +

    +

    + This program is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. See the GNU General Public License for more details. +

    +

    + You should have received a copy of the GNU General Public License along with + this program; if not, write to the Free Software Foundation, Inc., 59 Temple + Place, Suite 330, Boston, MA 02111-1307 USA +

    +

    + As a special exception, the copyright holders of this software give you + permission to link the assemblies with independent modules to produce + new assemblies, regardless of the license terms of these independent + modules, and to copy and distribute the resulting assemblies under + terms of your choice, provided that you also meet, for each linked + independent module, the terms and conditions of the license of that + module. An independent module is a module which is not derived from or + based on these assemblies. If you modify this software, you may extend + this exception to your version of the software, but you are not + obligated to do so. If you do not wish to do so, delete this exception + statement from your version. +

    +

    + A copy of the GNU General Public License is available in the COPYING.txt file + included with all NAnt distributions. +

    +

    + The GNU Project has more information on the + GNU General Public License. +

    +

    NDoc License

    +

    + NAnt ships with a prebuilt version of NDoc. + The NAnt license does not apply to these components located in the bin folder + of the distribution. NDoc is licensed under the + GNU General Public License. +

    +

    NUnit License

    +

    + NAnt ships with a prebuilt version of NUnit. + The NAnt license does not apply to these components located in the bin folder + of the distribution. NUnit is licensed under a + OSI approved license. +

    + + diff --git a/build-support/tools/nant/doc/releasenotes.html b/build-support/tools/nant/doc/releasenotes.html index 6061dafc..961ee030 100644 --- a/build-support/tools/nant/doc/releasenotes.html +++ b/build-support/tools/nant/doc/releasenotes.html @@ -1,3003 +1,4036 @@ - - - - NAnt Release Notes - - - - - - - - - - - - - - - - -
    -

    - NAnt - Release Notes

    -
    - NAnt logo (link to home page) -
    -

    - 0.85 (October 14, 2006)

    -

    - Bug fixes

    -

    Framework support

    -
    -
    - .NET Compact Framework 2.0
    -
      -
    • - Embedded resource files cannot be compiled when targeting - .NET Compact Framework 2.0 (bug #1533924). -
    • -
    -
    -

    Functions

    -
    -
    - file::is-assembly
    -
      -
    • - Function call fails when a file name that does not correspond - with an assembly is specified as argument. -
    • -
    -
    -

    Tasks

    -
    -
    - <aximp>
    -
      -
    • - The value of the "rcw" attribute should be ignored when - targeting .NET 1.0. -
    • -
    -
    - <csc>
    -
      -
    • - Output is always rebuilt when "keyfile" attribute is set - (bug #1550736). -
    • -
    -
    - <regen>
    -
      -
    • - Assembly reference are not taken into account to determine - if the maximum length of the command line is exceeded - (bug #1415272). -
    • -
    -
    - <solution>
    -
      -
    • - Runtime callable wrapper is not used when generating Windows - Forms control for ActiveX component that has no Primary - Interop Assembly. -
    • -
    • - When importing a type library, [out, retval] parameters of - methods on dispatch-only interfaces (dispinterfaces) are - not transformed into return values (bug #1527210). -
    • -
    • - Dependencies are not handled properly for Enterprise Template - projects in Visual Studio .NET 2003 solutions (bug #1534864). -
    • -
    -
    - <unzip>
    -
      -
    • - Zip file containing zero-length files fails to extract - (bug #1503678). -
    • -
    -
    -

    Changes

    -

    Tasks

    -
    -
    - <tlbimp>
    -
      -
    • - Added "transform" attribute which sets the name - of transform to use for transforming the metadata. [.NET 1.1 or higher] -
    • -
    -
    -
    -
    - <vbc>
    -
      -
    • - Added "nostdlib" attribute which can be used to - instruct the compiler not to reference standard libraries - (system.dll and VBC.RSP). [.NET 2.0 or higher] -
    • -
    -
    -

    - 0.85-rc 4 (June 2, 2006)

    -

    - Framework support

    -
    -
      -
    • - Added support for .NET Framework 2.0 (except for <solution> task). -
    • -
    -
    -

    - Breaking changes

    -

    Tasks

    -
    -
    - <delete>
    -
      -
    • - Attempting to delete a file or directory that does not exist, - no longer results in a build failure. -
    • -
    -
    -

    - Bug fixes

    -

    Core

    -
    -
    - XmlLogger
    -
      -
    • - XmlLogger - produced invalid XML for elements that are not closed - (bug #1220439). -
    • -
    -
    -

    Filters

    -
    -
    - <replacetokens>
    -
      -
    • - Empty value is not supported for token (bug - #1192677). -
    • -
    -
    -

    Tasks

    -
    -
    - <cl>
    -
      -
    • - Logic for determining whether compilation is necessary is not correct when PCH - file is specified (bug - #1191185). -
    • -
    • - All sources are compiled if any of the specified sources is not up-to-date (bug - #1191285). -
    • -
    • - Macro definitions specified using the <defines> collection - are passed to the compiler, regardless of the value of the "if" and - "unless" attributes (bug - #1221945). -
    • -
    -
    -
    -
    - <rc>
    -
      -
    • - Modification of an external file does not trigger a rebuilt of the resource - (bug - #1195320). -
    • -
    • - Macro definitions specified using the <defines> collection - are passed to the compiler, regardless of the value of the "if" and - "unless" attributes (bug - #1221945). -
    • -
    -
    -
    -
    - <script>
    -
      -
    • - Defining custom extensions (eg. tasks) using multiple - <script> instances results in an INTERNAL ERROR (bug - #1187957). -
    • -
    -
    -
    -
    - <solution>
    -
      -
    • - Compilation of embedded resources is slow. -
    • -
    • - Assembly signing fails for web projects. -
    • -
    • - Build fails if XML Documentation File does not exist (bug - #1188394). -
    • -
    • - Satellite assemblies of reference projects are not copied to the output - directory of referencing projects (bug - #1212909). -
    • -
    • - Changes in project file are not detected (bug - #1209741). -
    • -
    • - Error message that is output when a project does not exist, is misleading - (bug #1396124). -
    • -
    • - Large number of localized resources causes build failure - (bug #1425251). -
    • -
    • - Registering a project for COM interop fails for projects which reference other local assembly or projects - (bug #1477827). -
    • -
    • - Unused assembly reference that cannot be resolved or does not exist results in - build failure (bug - #1186176). -
    • -
    • - Visual C++ -
      -
        -
      • - File-level option to enable Managed Extensions is ignored (bug - #1190966). -
      • -
      • - Linking fails if object file name is explictly set for a specific source file - (bug - #1205728). -
      • -
      • - Delay loaded DLLs option is ignored. -
      • -
      • - Output files of dependent or referenced projects are not included when linking - (bug - #1186838 and - #1124296). -
      • -
      • - References to COM components are now supported (bug #1437970). -
      • -
      -
      -
    • -
    -
    -

    Additions

    -

    Tasks

    -
    -
    - <regasm>
    -
      -
    • - Registers an assembly, or set of assemblies for use from COM clients. -
    • -
    -
    -

    Changes

    -

    Core

    -
    -
    - log4net
    -
      -
    • - Upgraded to log4net 1.2.9. -
    • -
    -
    - MailLogger
    -
      -
    • - Added "MailLogger.success.attachments" and - "MailLogger.failure.attachments" properties to allow a set of files - to be attached to the message that is sent. -
    • -
    -
    Define types in task containers.
    -
    -

    - Global types can now be (re)defined in task containers - (such a <if> , - <foreach>). -

    -

    For example:

    -
    -    <project name="container-type" default="build">
    -        <if test="${platform::is-win32()}">
    -            <fileset id="sources">
    -                <include name="**/*.cs" />
    -                <!-- exclude Unix-specific classes -->
    -                <exclude name="**/Unix/*.cs" />
    -            </fileset>
    -        </if>
    -        <if test="${platform::is-unix()}">
    -            <fileset id="sources">
    -                <include name="**/*.cs" />
    -                <!-- exclude Win32-specific classes -->
    -                <exclude name="**/Win32/*.cs" />
    -            </fileset>
    -        </if>
    -        <target name="build">
    -            <csc output="IvsController.dll">
    -                <sources refid="sources" />
    -                <references>
    -                    <include name="System.dll" />
    -                    <include name="System.Data.dll" />
    -                    <include name="System.Xml.dll" />
    -                </references>
    -            </csc>
    -        </target>
    -    </project>
    -                
    -

    Up until now, only tasks could be executed in these containers.

    -
    -
    -

    Tasks

    -
    -
    - <csc>
    -
      -
    • - The /langversion and /platform - commandline options of the C# compiler are now exposed as - attributes. -
    • -
    • - Added support for /keycontainer and /keyfile - commandline options [Mono / .NET 2.0 or higher]. -
    • -
    -
    -
    -
    - <jsc>
    -
      -
    • - The /platform commandline option of the JScript.NET - compiler is now exposed using the "platform" attribute. -
    • -
    -
    -
    -
    - <link>
    -
      -
    • - Introduced support for delay loaded DLLs. -
    • -
    -
    -
    -
    - <nunit2>
    -
      -
    • - Upgraded to NUnit 2.2.8. -
    • -
    -
    -
    -
    - <unzip>
    -
      -
    • - The character encoding that has been used for file names - inside the zip file can now be set using the "encoding" - parameter. -
    • -
    -
    -
    -
    - <vbc>
    -
      -
    • - The /platform commandline option of the VB.NET - compiler is now exposed using the "platform" attribute. [.NET 2.0 or higher] -
    • -
    • - Added support for /keycontainer and /keyfile - commandline options. [.NET 2.0 or higher] -
    • -
    -
    -
    -
    - <vjc>
    -
      -
    • - Added support for /keycontainer and /keyfile - commandline options. -
    • -
    -
    -
    -
    - <zip>
    -
      -
    • - Added "duplicate" parameter to allow build authors - to control how duplicate file entries are to be processed. -
    • -
    • - Introduced "encoding" parameter for setting the - encoding to be used for file names. -
    • -
    -
    -

    Types

    -
    -
    - <arg>
    -
      -
    • - Added "dir" attribute for directory-based command-line arguments. - (feature request - #1193982). -
    • -
    -
    -

    - 0.85-rc 3 (April 16, 2005)

    -

    - Breaking changes

    -

    Tasks

    -
    -
    - <nant>
    -
      -
    • - References are no longer copied to the new projects by default. This is now - controlled using the "inheritrefs" attribute. -
    • -
    -
    -

    - Bug fixes

    -

    Core

    -
    -
    XML Schema
    -
      -
    • - "if" and "unless" attributes of <target> element are - not documented (bug - #1168170). -
    • -
    -
    -

    Tasks

    -
    -
    - <copy> / - <move>
    -
      -
    • - If "flatten" is set to true and multiple source files are - selected to be copied / moved to the same destination file, only the source - file that was last written to should actually be copied / moved (bug - #1165252). -
    • -
    -
    -
    -
    - <link>
    -
      -
    • - Additional include directory containing spaces leads to build failures (bug - #1117794). This bug also affects the <solution> - task. -
    • -
    -
    -
    -
    - <nant>
    -
      -
    • - Default value of "inheritall" attribute does not match documentation - (bug - #1146121). -
    • -
    • - Documentation does not describe behavior of <nant> - task for references (bug - #1146176). -
    • -
    -
    -
    -
    - <ndoc>
    -
      -
    • - When executing the <ndoc> - task multiple times, the properties are not expanded again after the first - execution (bug - #1124113). -
    • -
    • - Additional directories specified (using the <referencepaths> element) to - search for assembly references were not correctly consumed. -
    • -
    -
    -
    -
    - <resgen>
    -
      -
    • - The "dynamicprefix" attribute is not honored when determining the - name of the compiled resource file (bug - #1150186). -
    • -
    -
    -
    -
    - <script>
    -
      -
    • - Now supports any CodeDom provider, not just the built in languages (C#, VB, - etc). -
    • -
    • - Allow lower case values ( c# and vb ) for the Language attribute. -
    • -
    -
    -
    -
    - <servicecontroller>
    - -
    -
    -
    - <call> -
    -
      -
    • - Added a "cascade" attribute to allow calling a single task without - cascading all the dependencies. (bug - #1077323 ). -
    • -
    -
    -
    -
    - <solution>
    -
      -
    • - A relative path specified in the - AssemblyKeyFile attribute must be resolved using either the solution - directory or the intermediate output directory. -
    • -
    • - Configurations containing dashes are skipped (bug - #1184173). -
    • -
    • - Check for existance of specified solution file is performed even if task is not - to be executed (bug - #1178810). -
    • -
    • - Project configurations with names that do not match the solution configuration - are skipped (bug - #947214). -
    • -
    • - Projects are not always properly excluded (bug - #1143845 and - #1182510). -
    • -
    • - Stack overflow in case of circular project references (bug - #1145670). -
    • -
    • - BaseAddress not correctly passed to compilers (bug - #1164709). -
    • -
    • - Project dependencies that are no longer included in the solution file result in - a circular dependency error. -
    • -
    • - VB.NET -
      -
        -
      • - Referencing the same assembly multiple times results in an ambiguous reference - (bug - #1178862). -
      • -
      -
      -
    • -
    • - Visual C++ -
      -
        -
      • - Changes to source files or headers do not trigger a recompile (bug - #1155919). -
      • -
      • - Additional dependencies and library directory are ignored for static libraries - (bug - #1173529). -
      • -
      • - IDL files without a type library are not supported (bug - #1160647). -
      • -
      • - Target macros are not correctly expanded if output file is not set (bug - #1170100). -
      • -
      • - References to Static Library projects are ignored when linking, and passed to - the compiler as Forced Using assemblies. -
      • -
      • - "Inherit project defaults" setting is ignored for Additional Dependencies of - Linker (bug - #1178007). -
      • -
      • - Additional project-level include directories are not merged with file-level - include directories (bug - #1160043). -
      • -
      • - Projects using precompiled header are always recompiled. -
      • -
      -
      -
    • -
    -
    -

    Types

    -
    -
    - <fileset>
    -
      -
    • - Patterns are read from file specified using <includesfile> element - regardless of the value of conditional attributes ("if" and - "unless"). -
    • -
    -
    -

    Changes

    -

    Core

    -
    -
    - MailLogger
    -
      -
    • - Added "MailLogger.body.encoding" property to allow the encoding of - the body of the message to be set. -
    • -
    -
    Response File
    -
      -
    • - NAnt now supports the use of a response file. Passing @<file> on the - command line will cause the contents of <file> to be read as part of the - command line. Multiple @<file> arguments may be used. -
    • -
    -
    - XmlLogger
    -
      -
    • - Project, target and task timing information is now output in a <duration> - element in milliseconds (patch - #1122583) -
    • -
    -
    -

    Tasks

    -
    -
    - <csc> / - <vbc> / <vjc>
    -
      -
    • - Changed "debug" attribute from boolean to - DebugOutput enum to allow more control over the type of debugging - information generated by the compiler. -
    • -
    -
    - <lib>
    -
      -
    • - Add "moduledefinition" attribute. -
    • -
    -
    - <midl>
    -
      -
    • - "tlb" attribute is no longer required. -
    • -
    -
    -

    - Developer information

    -

    API

    -
    -
    FileSetAttribute
    -
    -

    - The NAnt.Core.Attributes.FileSetAttribute - is obsolete. Task developers should use the - NAnt.Core.Attributes.BuildElementAttribute instead: -

    -

    For example:

    -
    -    [FileSetBuildElement("fileset")]          
    -    public FileSet CopyFileSet {
    -        get { return _fileset; }
    -        set { _fileset = value; } 
    -    }
    -                
    -
    -
    -

    - 0.85-rc 2 (February 12, 2005)

    -

    - General changes

    -
    -
    - Building NAnt
    -
      -
    • - The source distribution of NAnt no longer contains pre-built binaries to build - a full version of NAnt. Instead, we now include GNU Make and NMake make files - to build a bootstrap version of NAnt, which is then used to build the full - version of NAnt. More information is available - here. -
    • -
    -
    - License
    -
      -
    • - The special exception that is part of the NAnt license has been modified to - avoid confusion. -
    • -
    -
    -

    - Bug fixes

    -

    Core

    -
    -
    - XML Schema
    -
      -
    • - NAnt XML Schema definition for collection based elements was incorrect (bug - #1076620). -
    • -
    -
    -

    Functions

    -
    -
    - target::get-current-target()
    -
      -
    • - Current target is incorrect after execution of target using - <call> task (bug - #1090260). -
    • -
    -
    -

    Tasks

    -
    -
    - <cl>
    -
      -
    • - <cl> does not recompile - although headers have been updated (bug - #1079377). -
    • -
    -
    - <mail>
    -
      -
    • - Names containing comma's are not supported (bug - #961627). -
    • -
    -
    - <midl>
    -
      -
    • - <midl> fails on second - run if "header" or "iid" attributes are not specified (bug - #1078558). -
    • -
    -
    - <solution>
    -
      -
    • - Manifest resource names of resources in J# projects do not match those - generated by Microsoft Visual Studio.NET. -
    • -
    • - For embedded resources that are dependent on a source file, namespace prefixing - is wrong when a namespace declaration is not present in the source file (bug - #1077253). -
    • -
    • - Users should be warned about possible issues with resx files when building a - project for a down-level target framework (bug - #1077254). -
    • -
    • - "App.config" should not be considered an output file for Class Library - projects. -
    • -
    • - Win32 resources in Visual C++ projects are not compiled (bug - #1077712). -
    • -
    • - Improve error reporting when a referenced component cannot be resolved (bug - #1079777). -
    • -
    • - MFC and ATL shared linking is not supported for Visual C++ projects (bug - #1078636). -
    • -
    • - <solution> task - doesn't support COM, OCX apps built in Visual C++ (bug - #1078641). -
    • -
    • - Support for some compile and link arguments is missing (bug - #1080237). -
    • -
    • - Project dependencies are not re-evaluated when assembly reference is converted - to project reference (bug - #1076015). -
    • -
    • - Resolution of assembly references does not match Visual Studio .NET (bug - #1077869). -
    • -
    -
    - <style>
    -
      -
    • - Relative URI specified as argument for document() function is not - considered to be relative to the base URI of stylesheet containing the function - call (bug - #1078896). -
    • -
    -
    - <sysinfo>
    -
      -
    • - Document behavior when environment variable is defined with a name that is not - a valid property name (bug - #1082225). -
    • -
    -
    -

    Additions

    -

    Tasks

    -
    -
    - <gunzip>
    -
      -
    • - Expands a file packed using GZip compression. -
    • -
    -
    - <setenv>
    -
      -
    • - Sets environment variables. -
    • -
    -
    -

    Types

    -
    -
    - <categories>
    -
      -
    • - Controls the categories of tests to execute using the - <nunit2> task. -
    • -
    -
    -

    Changes

    -

    Expressions

    -
    -
    - Data Type support
    -
      -
    • - Added support for "long" data type for both relational and mathematical - expressions. -
    • -
    -
    -

    Tasks

    -
    -
    - <al>
    -
      -
    • - Added numerous attributes. Eg. "version", "evidence", ... . -
    • -
    -
    - <cl>
    -
      -
    • - Added "pchthroughfile" and "pchmode" attributes to allow more control over - precompiled header files. -
    • -
    • - Added "objectfile" and "pdbfile" attributes. -
    • -
    -
    - <csc>
    -
      -
    • - Added "baseaddress" and "filealign" attributes. -
    • -
    -
    - <lc>
    -
      -
    • - Deprecated "licensetarget" attribute in favor of "target" attribute. -
    • -
    -
    - <exec>
    -
      -
    • - Deprecated nested <option> element in favor of <variable> element - for setting environment variables for the spawned process. -
    • -
    -
    - <link>
    -
      -
    • - Added "debug" and "pdbfile" attributes. -
    • -
    • - Added <modules> child element to link modules in the assembly. -
    • -
    • - Added <embeddedresources> child element to embed resources in the - assembly. -
    • -
    -
    - <mail>
    -
      -
    • - "tolist" is no longer a required attribute. -
    • -
    • - The "tolist", "cclist" and "bcclist" attributes - are now semicolon-separated lists. The comma is no longer considered a - separator character. -
    • -
    -
    - <ndoc>
    -
      -
    • - Upgraded to NDoc 1.3.1 Release. -
    • -
    -
    - <nunit2>
    -
      -
    • - Added support including or excluding specific categories of test cases or - fixtures. -
    • -
    -
    - <resgen>
    -
      -
    • - Added "usesourcepath" attribute to allow the source file's directory to be used - as current directory for resolving relative file paths. [.NET 2.0 or higher] -
    • -
    • - Improved dependency scanning for resx files. -
    • -
    -
    - <solution>
    -
      -
    • - Improved support for precompiled header files. -
    • -
    • - Added support for project-level build events. -
    • -
    -
    - <style>
    -
      -
    • - Added support for extension objects. -
    • -
    -
    -

    Types

    -
    -
    - <import>
    -
      -
    • - The "name" attribute of the - <import> element has been deprecated, and replaced by - a "namespace" attribute. This change affects the following tasks: - <asminfo>, <script> - and <vbc>. -
    • -
    -
    -

    - 0.85-rc 1 (November 28, 2004)

    -

    - Framework support

    -
      -
    • - NAnt 0.85 adds support for the following frameworks (both as runtime and as - target framework): -
        -
      • - Mono (both 1.0 and 2.0 profile) -
      • -
      • - .NET 2.0 Beta 1 -
      • -
      -
    • -
    • - By default, NAnt will now target the framework on which its running. For - example, if NAnt is running on .NET 2.0, the assemblies built using the - <csc> task will target .NET 2.0. Previous versions of - NAnt would target .NET 1.0 by default.
    • -
    • - Information on how to override the target framework, can be found - here. -
    • -
    -

    - Breaking changes

    -
      -
    • - In previous version of NAnt, the <arg> - element (used by, for example, the <exec> - task) would automatically add quotes for both "file" and "value" attributes in - the command line generated by the task. That automatic quoting has been removed - for "value" attributes (but not for "file" attributes). This change may break - build files that assume that both arguments specified using the "file" and - "value" attributes will automatically be quoted.
    • -
    • - Overwriting of read-only properties in tasks other than the - <property> task will now result in a build failure. Previous - versions of NAnt would silently ignore an update of a read-only property.
    • -
    • - The <nunit2> task been - updated to support - NUnit 2.2. Assemblies built using previous versions of NUnit should - either be rebuilt using - NUnit 2.2 or a - binding redirect should be configured in the application configuration - file of the test assembly. -
    • -
    -

    - General changes

    -
      -
    • - Improved error reporting when invalid values are specified for attibutes - representing files or directories.
    • -
    • - This release of NAnt introduces support for expressions. More information is - available here.
    • -
    • - FilterChain support has been - introduced to NAnt.
    • -
    • - Enums that are used in tasks or types now have their own doc pages.
    • -
    • - The default logger will now also output the number non-fatal errors and - warnings.
    • -
    • - Output of the XmlLogger - is now buffered until build has finished, and - XmlLogger can now also be used as a listener.
    • -
    • - Added support for wild - targets.
    • -
    • - Lots of built-in properties have been deprecated, and replaced by functions. - More information is available here.
    • -
    • - NAnt will now report unknown attributes and child elements when initializing - build elements. -
    • -
    -

    - Commandline changes

    -
      -
    • - Added "-e[macs]" option, which can be used to produce logging information - without adornments.
    • -
    • - Added "-ext[ension]" option to allow loading of external assemblies. As a - result, third party loggers or listeners no longer have to reside in the NAnt - bin directory or the GAC in order to be used by NAnt.
    • -
    • - Deprecated -[defaultframewor]k option in favor of -t[argetframework]. -
    • -
    -

    - New Tasks

    -

    - <aximp>

    -
      -
    • - Generates a Windows Forms Control that wraps ActiveX Controls defined in an - OCX. -
    • -
    -

    - <cvs-pass>

    -
      -
    • - Creates or updates an entry in the specified .cvspass file. This should be used - instead of the password attribute. -
    • -
    -

    - <cvs-changelog>

    -
      -
    • - Produces an XML report that represents the cvs changes from the given start - day, to a given end date. -
    • -
    -

    - <cvs-export>

    -
      -
    • - Exports a cvs module in preperation for a release. -
    • -
    -

    - <cvs-tag>

    -
      -
    • - Tags all local sources with the specified tag. -
    • -
    -

    - <ilasm>

    -
      -
    • - Compiles ILASM programs. -
    • -
    -

    - <ildasm>

    -
      -
    • - Disassembles any portable executable (PE) file that contains intermediate - language (IL) code. -
    • -
    -

    - <loadfile>

    -
      -
    • - Loads a text file into a property. -
    • -
    -

    - <tar>

    -
      -
    • - Creates a tar file from the specified filesets. -
    • -
    -

    - Task changes

    -

    - <asminfo>

    -
      -
    • - Use hash implementation to check whether AssemblyInfo needs to be rebuilt. -
    • -
    -

    - <attrib>

    -
      -
    • - Support setting attributes on directories. -
    • -
    -

    - <available>

    -
      -
    • - Deprecated in favor of expression support. -
    • -
    -

    - <cl>

    -
      -
    • - Added support for passing character set to compiler. -
    • -
    -

    - <csc>

    -
      -
    • - Added "rebuild" attribute, which instructs NAnt to recompile the output file - regardless of the file timestamps.
    • -
    • - "nowarn" attribute has been deprecated in favor of the - <nowarn> child element.
    • -
    • - Added support for suppressing/reporting specific warnings as errors using the - <warnaserror> child - element. [.NET 2.0 or higher]
    • -
    • - Added support for package references. [Mono]
    • -
    • - <lib> element is - obsolete, in favor of <lib> - child element on <references> - and <modules> element.
    • -
    • - Added support for /baseaddress compiler option. -
    • -
    -

    - <copy>

    - -

    - <cvs>

    -
      -
    • - Several bugs have been fixed in the <cvs> tasks.
    • -
    • - Documentation updates.
    • -
    • - Added "passfile" attribute. -
    • -
    -

    - <exec>

    -
      -
    • - Fixed internal error when "program" attribute was assigned invalid file name.
    • -
    • - Added "resultproperty", which can be set to a name of a property in which the - exit code of the program can be stored.
    • -
    • - The <arg> element - now supports line and PATH-like command-line arguments. -
    • -
    -

    - <get>

    -
      -
    • - Added support for client certificates (for HTTP requests) by means of the - <certificates> elements. -
    • -
    -

    - <jsc>

    -
      -
    • - Added support for package references. [Mono]
    • -
    • - Added "rebuild" attribute, which instructs NAnt to recompile the output file - regardless of the file timestamps. -
    • -
    -

    - <license>

    -
      -
    • - Uses the lc.exe commandline tool to compile license files whenever - available. -
    • -
    -

    - <link>

    - -

    - <move>

    - -

    - <nant>

    -
      -
    • - Added <fileset> support - for specifiying build files to execute. -
    • -
    -

    - <ndoc>

    -
      -
    • - Upgraded to NDoc 1.3 Release Candidate 1.
    • -
    • - Added support for reference paths. -
    • -
    -

    - <nunit>

    -
      -
    • - The <nunit> task has - been deprecated, and will be moved to NAntContrib - in a future release. NUnit 1.0 test assemblies will remain supported through - NAntContrib, but we strongly advise you to upgrade to NUnit 2.x. -
    • -
    -

    - <nunit2>

    -
      -
    • - Upgraded to support - NUnit 2.2.
    • -
    • - If no explicit application configuration file is specified, a configuration - file matching the name of the test assembly with extension ".config" will be - used for the test domain.
    • -
    • - Minor bug fixes. -
    • -
    -

    - <regex>

    -
      -
    • - Added "options" attribute that takes a comma-separated list of options to pass - to the regex engine. -
    • -
    -

    - <resgen>

    -
      -
    • - Added support for assembly references, in order to be abel to compile .resx - file that reference assemblies that are not located in the GAC. -
    • -
    -

    - <script>

    -
      -
    • - Simplified definition of custom functions with the - <script> task.
    • -
    • - Added support for Visual J# (where available), and third party CodeDOM - providers.
    • -
    • - <script> task is now - supported on Mono.
    • -
    • - Assemblies emitted by the <script> - task will now also be scanned for functions and filters. -
    • -
    -

    - <solution>

    -
      -
    • - Added support for Visual J# projects.
    • -
    • - WebMaps are now case-insensitive (and added attribute to enable - case-sensitivity).
    • -
    • - Added "enablewebdav" attribute to allow WebDAV access for web projects.
    • -
    • - Added a few unit tests to reduce the likelyhood of regressions.
    • -
    • - Fixed some minor issues with regards to Visual C++ support.
    • -
    • - General performance has been improved, except for project with loads of - resources.
    • -
    • - Added support for exclusion of source files for Visual C++ projects.
    • -
    • - No longer stop loading projects, when the first excluded project is encountered - (bug #982685).
    • -
    • - No longer automatically use Primary Interop Assemblies for references to type - libraries, but output warning instead.
    • -
    • - Added support for satellite assemblies.
    • -
    • - Respect project build order set in VS.NET.
    • -
    • - VB.NET specific settings are now processed.
    • -
    • - Improved support for precompiled headers, better grouping of files that should - be compiled in one go.
    • -
    • - Added support for empty projects.
    • -
    • - No longer attempt to build ignored projects.
    • -
    • - Match behaviour of VS.NET when resolving assembly references.
    • -
    • - Fixed lookup of type libraries in the registry.
    • -
    • - Expansion of macros is now case-insensitive.
    • -
    • - Zero-byte resx files are now skipped to match VS.NET.
    • -
    • - Introduced support for nmake projects.
    • -
    • - Added support for web projects nested in Enterprise Template Projects.
    • -
    • - Compiled resource file are now stored in the obj\<configuration> - directory relative to project directory. The compiled resource files will not - be removed when the task finishes, by doing this resource files will now only - be recompiled if the compiled resource file in the object directory is no - longer up-to-date. This matches the behaviour of VS.NET.
    • -
    • - Added support for deploying App.config to output directory. -
    • -
    -

    - <sysinfo>

    -
      -
    • - If "failonerror" is false, the - <sysinfo> task will output a warning message in the build log - when a certain environment variable cannot be exposed as a property (because - of, for example, more strict naming rules for properties) and continue - processing other environment variables. In previous versions of NAnt, execution - of the <sysinfo> task - would halt on the first error.
    • -
    -

    - <vbc>

    -
      -
    • - Added support for suppressing specific warnings using the - <nowarn> child element. [.NET 2.0 or higher]
    • -
    • - Added support for suppressing/reporting specific warnings as errors using the - <warnaserror> child - element. [.NET 2.0 or higher]
    • -
    • - Added support for generating XML documentation files, using "doc" attribute. - [.NET 2.0 or higher]
    • -
    • - Added support for package references. [Mono]
    • -
    • - Added "rebuild" attribute, which instructs NAnt to recompile the output file - regardless of the file timestamps.
    • -
    • - Added <imports> child - element, and deprecated "imports" attribute.
    • -
    • - <lib> element is - obsolete, in favor of <lib> - child element on <references> - and <modules> element. -
    • -
    -

    - <vjc>

    -
      -
    • - Added support for suppressing specific warnings using the - <nowarn> child element. [.NET 2.0 or higher]
    • -
    • - <lib> element is - obsolete, in favor of <lib> - child element on <references> - and <modules> element.
    • -
    • - Added "rebuild" attribute, which instructs NAnt to recompile the output file - regardless of the file timestamps.
    • -
    • - Added support for /baseaddress compiler option. -
    • -
    -

    - <xmlpeek> / - <xmlpoke>

    -
      -
    • - Added support for XPath expressions with namespace prefixes. -
    • -
    -

    - <zip> / - <unzip>

    -
      -
    • - Added support for multiple filesets.
    • -
    • - A top level directory prefix can be set on individual filesets.
    • -
    • - Upgraded #ziplib - to v0.83. -
    • -
    -

    - New types

    -

    - <assemblyfileset>

    -
      -
    • - Specialized <fileset> for - managing assembly files. -
    • -
    -

    - <warnaserror>

    -
      -
    • - Controls the behaviour of a compiler with regards to the reporting of warnings. -
    • -
    -

    - Type changes

    -

    - <fileset>

    - -

    - Developer information

    -
      -
    • - The Task.LogPrefix property has been deprecated. Messages that are - written to build log by a given task, will now automatically get prefixed with - the task name. This behaviour can be disabled by the new -e[macs] commandline - option. -
    • -
    -

    - 0.84 (December 26, 2003)

    -

    - Task changes

    -

    - <xmlpeek>

    -
      -
    • - Fixed issues with logging statements.
    • -
    • - Added unit tests. -
    • -
    -

    - <xmlpoke>

    -
      -
    • - Added unit tests. -
    • -
    -

    - 0.84-rc 2 (December 21, 2003)

    -

    - General changes

    -
      -
    • - Specifying multiple targets on the command line will no longer cause all - dependencies of these targets to be executed again.
    • -
    • - The XmlLogger - will now correctly handle null-characters in the build output.
    • -
    • - Fixed issue with resources specified using the <resources> element - of the compiler tasks. -
    • -
    -

    - Task changes

    -

    - <solution>

    -
      -
    • - Fixed issues with web-projects.
    • -
    • - Added support for generating strongly signed ActiveX/COM wrapper assemblies. -
    • -
    -

    - <xmlpeek>

    -
      -
    • - filename attribute was renamed to file to improve - consistency with other tasks. -
    • -
    -

    - <xmlpoke>

    -
      -
    • - filename attribute was renamed to file to improve - consistency with other tasks. -
    • -
    -

    - 0.84-rc 1 (December 6, 2003)

    -

    - Breaking changes

    -

    - Some existing build scripts may stop working now or in the next release due to - the following changes:

    -
      -
    • - The NAntContrib binaries are no longer included in the NAnt distribution - package. The NAntContrib distribution package can now be obtained - here.
    • -
    • - The <call> task now executes the given target and all its - dependencies. In previous versions of NAnt only the target itself would be - executed.
    • -
    • - The todir attribute of the <copy> and <move> - tasks no longer defaults to the project base directory. It must now be set - explicitly.
    • -
    • - The force attribute of the <call> task has been - deprecated and has no longer any effect. The <call> task - will now always execute the specified target, regardless of the fact that this - target has already been executed before.
    • -
    • - The string-based files and attachments attributes of - the <mail> task have been replaced by fileset support.
    • -
    • - In previous versions of NAnt, the documentation stated that a target identified - by the nant.onfailure property would be executed when the build - fails. However, NAnt actually executed a target identified by the nant.failure - property (if available). This has now been corrected and the old syntax (nant.failure) - is now deprecated.
    • -
    • - The <param> element of the <style> task - has been deprecated in favor of a <parameters> collection - with nested <parameter> elements. The <parameter> - element now also supports a namespaceuri, if and unless - attribute. See the documentation of the <style> task for - more information.
    • -
    • - In previous versions of NAnt, the Plain formatter was implicitly - added in the <nunit2> task. In NAnt 0.8.4, the Plain - formatter will only implicitly be added if no other formatters are specified. - In this case, a warning message will be output to the build log encouraging - build authors to explicitly add this formatter for forward compatibility. In - future versions of NAnt, the Plain formatter will no longer - implicitly be added.
    • -
    • - The nested <param> child element of the <style> - task has been deprecated in favor of a nested <parameters> collection. -
    • -
    -

    - General changes

    -
      -
    • - The user documentation has been overhauled. Nested elements are more clearly - documented, documentation has been added for element types such as filesets and - credentials, and the overall format is slightly cleaner and easier to use.
    • -
    • - Improved bootstrapping NAnt on linux. Now supports Mono 0.28.
    • -
    • - Localization support has been improved in the <csc>, <jsc>, - <vbc> and <vjc> tasks: when dynamixprefix - is set to "true" and prefix is set to the root namespace of the assembly for - the nested <resources> element, the compiler tasks will now - compile resources with IDs matching these generated by VS.NET. Support for the - generation of satellite assemblies was also added to these tasks.
    • -
    • - On systems with both the .NET Framework 1.0 and .NET Framework 1.1 installed, - NAnt will now execute on the .NET Framework 1.1 by default. Note, the default - target framework has remained unchanged, and is still .NET Framework 1.0. -
    • -
    -

    - New Tasks

    -

    - <asminfo>

    -
      -
    • - Moved from NAntContrib to - NAnt, and was rewritten to support multiple code languages and attribute types. -
    • -
    -

    - <servicecontroller>

    -
      -
    • - Allows a Windows service to be controlled (started, stopped, ...). -
    • -
    -

    - <delay-sign>

    -
      -
    • - Supports delay-signing of strongly named assemblies. -
    • -
    -

    - <mc>,<rc> and <midl>

    -
      -
    • - Moved from NAntContrib to - NAnt. These tasks control compilation of service messages, resources, and IDL - code respectively. -
    • -
    -

    - <xmlpeek>

    -
      -
    • - Extracts text from an XML file at the location specified by an XPath - expression. -
    • -
    -

    - <xmlpoke>

    -
      -
    • - Replaces text in an XML file at the location specified by an XPath expression. -
    • -
    -

    - Task changes

    -

    - <call>

    -
      -
    • - The <call> task now executes the given target and all its - dependencies. In previous versions of NAnt only the target itself would be - executed.
    • -
    • - The force attribute of the <call> task has been - deprecated and has no longer any effect. The <call> task - will now always execute the specified target, regardless of the fact that this - target has already been executed before. -
    • -
    -

    - <cl>

    -
      -
    • - Added support for Managed Extensions. -
    • -
    -

    - <copy>

    -
      -
    • - The todir attribute no longer defaults to the project base - directory. It must now be set explicitly.
    • -
    • - Added flatten attribute to allow all matching files to be - copied to a single directory. -
    • -
    -

    - <csc>

    -
      -
    • - Improved localization support.
    • -
    • - Added support for additional search directories to resolve assembly references - through a nested <lib> element. -
    • -
    -

    - <cvs-checkout>

    -
      -
    • - Added option to checkout a revision based on sticky tag, -r on the command line - client.
    • -
    • - Added option to checkout a module to an alternate directory, -d on the command - line client.
    • -
    • - Fixed bug in parsing cvsnt date format. -
    • -
    -

    - <cvs-update>

    -
      -
    • - Fixed bug in parsing cvsnt date format. -
    • -
    -

    - <echo>

    -
      -
    • - Added level attribute to allow messages to be output with a - specific level. -
    • -
    -

    - <fail>

    -
      -
    • - Allow reason of failure to be specified as inline content. -
    • -
    -

    - <get>

    -
      -
    • - The httpproxy attribute of the <get> task is - deprecated, use the new <proxy> child element instead.
    • -
    • - Added <credentials> child element used for authenticating - the request with the Internet resource.
    • -
    • - Deprecated the ignoreerrors attribute in favor of the failonerror - attribute.
    • -
    • - Added timeout attribute to allow length of time to wait for a - response or the request to timeout to be specified. -
    • -
    -

    - <if>

    -
      -
    • - Added <uptodatefiles child element for uptodate fileset - support.
    • -
    • - <if uptodatefile="..."> now behaves as documented, meaning - that nested tasks will only be executed if the file specifies in the - uptodatefile attribute actually exists and the file specified in the uptodatefile - attribute is more recent or the same lastwritetime than the file(s) specifies - in the comparefile attribute and <comparefiles> - fileset. -
    • -
    -

    - <include>

    -
      -
    • - A verbose message will now be output to the build log when a file is included - multiple times. In previous versions of NAnt, this would cause a build failure. -
    • -
    -

    - <jsc>

    -
      -
    • - Improved localization support.
    • -
    • - Added support for additional search directories to resolve assembly references - through a nested <lib> element. -
    • -
    -

    - <mail>

    -
      -
    • - The string-based files and attachments attributes - have been replaced by fileset support.
    • -
    -

    - <move>

    -
      -
    • - The todir attribute no longer defaults to the project base - directory. It must now be set explicitly.
    • -
    • - Added flatten attribute to allow all matching files to - be moved to a single directory. -
    • -
    -

    - <nant>

    -
      -
    • - Properties can now be added or overridden when calling a nested build using the - new <properties> child element.
    • -
    • - buildfile is now a required attribute, which makes it harder to - accidently write an infinitely looping build. -
    • -
    -

    - <nantschema>

    -
      -
    • - Currently the <nantschema> task does not generate the - correct XML Schema definition for collections and arrays. This tasks needs to - be updated. Please use with caution. -
    • -
    -

    - <ndoc>

    -
      -
    • - Updated the <ndoc> task to using version 1.2 of NDoc. -
    • -
    -

    - <nunit2>

    -
      -
    • - Updated the <nunit2> task to use version 2.1 of NUnit.
    • -
    • - In previous versions of NAnt, the Plain formatter was implicitly - added. In NAnt 0.8.4, the Plain formatter will only implicitly be - added if no other formatters are specified. In this case, a warning message - will be output to the build log encouraging build authors to explicitly add - this formatter for forward compatibility. In future versions of NAnt, the Plain - formatter will no longer implicitly be added.
    • -
    • - Added outputdir attribute for <formatter> element - to control the directory where the test result file will be stored (if the usefile - attribute is "true"). -
    • -
    -

    - <property>

    -
      -
    • - Added overwrite attribute to the <property> task - to control whether the value of the specified property should be overwritten - when the property already exists.
    • -
    • - Added support for dynamic properties, meaning properties of which references to - other properties are not expanded when the value is set. -
    • -
    -

    - <resgen>

    -
      -
    • - Added support for specifying a prefix to <resgen> task when - using a fileset. -
    • -
    -

    - <solution>

    -
      -
    • - Added nested <assemblyfolders> fileset element that allows a - set of folders to be set, that should be searched to resolve assembly - references.
    • -
    • - By default, the Visual Studio.NET assembly folders will be searched to resolve - assembly references. An includevsfolders attribute was added to - control whether these folders should be searched for assembly references.
    • -
    • - Added <excludeprojects> fileset that allows a set of - projects to be excluded.
    • -
    • - An outputdir attribute can now be specified, which overrides the - directory where compiled targets will be placed.
    • -
    • - A nested <webmap> element was added that maps URL's of web - projects to local path, thereby removing the need to configure the web server - to allow access to these project files.
    • -
    • - Added support for Visual C++ projects.
    • -
    • - A large number of defect fixes and performance improvements have been applied. -
    • -
    -

    - <style>

    -
      -
    • - The nested <param> child element has been deprecated in - favor of a nested <parameters> collection. -
    • -
    -

    - <touch>

    -
      -
    • - If the file specified in the single-file case does not exist, it will now be - created. -
    • -
    -

    - <vbc>

    -
      -
    • - Improved localization support.
    • -
    • - Added support for additional search directories to resolve assembly references - through a nested <lib> element. -
    • -
    -

    - <vjc>

    -
      -
    • - Improved localization support.
    • -
    • - Added support for additional search directories to resolve assembly references - through a nested <lib> element. -
    • -
    -

    - <zip>

    -
      -
    • - Fixed issue when files were included that were not located beneath the basedir - of the fileset. -
    • -
    • - Added includeemptydirs attribute to control whether empty - directories should be included in the generated zip file. -
    • -
    • - Fixed failure when no basedir for fileset was specified. -
    • -
    • - Fixed failure when basedir of fileset is set to the root directory - of a drive in Windows. -
    • -
    -

    - API changes

    -
      -
    • - Added ProgramLocationAttribute that can be assigned to a task to - indicate that it wraps an executable that is part of either the .NET Framework - or the .NET Framework SDK, and have NAnt figure out the full path to the - executable using the framework settings in the NAnt configuration file. -
    • -
    • - FileSetAttribute has been deprecated. The BuildElementAttribute - should be used instead. -
    • -
    • - Added FrameworkConfigurableAttribute that can be assigned to a - task attribute to allow the default values of that attribute to be configured - from the framework configuration section in the NAnt configuration file for the - currently active framework. -
    • -
    • - Added <proxy> and <credentials> data - types that are used to provide proxy settings and authentication information - for tasks that connect to external resources (eg. the <get> task). -
    • -
    • - Added support for framework-specific third party libraries.
    • -
    • - Updated log4net to version 1.2.0 - beta 8. -
    • -
    -

    - 0.8.3 (September 28, 2003)

    -

    - User-visible changes

    -
      -
    • - Included NAntContrib binaries are from a release build. In rc3 they were debug - versions. -
    • -
    -

    - 0.8.3-rc3 (August 29, 2003)

    -

    - User-visible changes

    -
      -
    • - Added test directory to distribution fixing the build failure in 0.8.3. -
    • -
    -

    - 0.8.3-rc2 (July 28, 2003)

    -

    - User-visible changes

    -
      -
    • - Built with .NET 1.0. -
      - This release candidate is built with version 1.0 of the .NET Framework. The - binaries for RC1 had been built with version 1.1, which had backwards - compatibility issues. -
      -
    • -
    • - Fixed defect: temp directory leak in <solution> task. -
      - Matthew Mastracci fixed a major temp directory leak. It was leaking approx. one - temp directory per project! You should clear your Local Settings\Temp directory - for the user you use to build your solutions. -
      -
    • -
    • - <solution> VB.NET support. -
      - The <solution> task now supports VB.NET projects. This was meant to be - part of the RC1 release. -
      -
    • -
    • - Matthew Mastracci has also checked in support for reading resources of VB - projects and generating the appropriate dependent resource name. -
    • -
    • - Documentation for NAntContrib. -
      - This release candidate includes the binaries and documentation for the - NAntContrib extensions. Note that the source is still distributed seperately - during this release cycle. -
      -
    • -
    -

    - 0.8.3-rc1 (July 10, 2003)

    -

    - User-visible changes

    -
      -
    • - NAntContrib is now distributed with NAnt. -
      - To better support the frequently-used NAntContrib extensions, the library is - now distributed as part of the NAnt release. -
      -
    • -
    • - Preliminary Linux support. -
      - This is the first release with Linux support, so please report any issues you - encounter. The next release will be fully tested and documented on both Linux - and Windows. -
      -
    • -
    • - New Tasks. -
        -
      • - <cvs-checkout> task : Checkout source from CVS.
      • -
      • - <cvs-update:> task : Update source from CVS.
      • -
      • - <solution> task : compile .sln directly. In most cases, this means you no - longer have to preprocess a solution with the slingshot tool. Supports both - Visual Studio .NET and Visual Studio 2003. -
      • -
      -
    • -
    • - Changed tasks. -
      - See the section below for details. -
      -
    • -
    • - FileSet references. -
      - You can now define a named FileSet and refer to it anywhere a FileSet is used. -
      -
    • -
    -

    - API changes

    -
      -
    • - Namespace changes -
        -
      • - "SourceForge" is no longer part of the NAnt namespaces.
      • -
      • - Split classes up into Tasks and Types.
      • -
      • - Task assemblies now have their own namespaces.
      • -
      • - Removed Msft prefix from base classes. -
      • -
      -
    • -
    • - Logging framework changed -
        -
      • - Refactored NAnt (build) logging system : moved to an event driven logging - system, and allow thresholds to be set. The build outcome is now completely - handled by the loggers.
      • -
      • - Replaced the LogListener with an IBuildLogger interface for loggers and an - IBuildListener interface for build listeners.
      • -
      • - The ConsoleLogger is replaced by a DefaultLogger, which always logs to the - console, and which can also be configured to log to a file (using the -logfile - option).
      • -
      • - The static Log class is removed and replaced by instance methods on the Project - and Task classes. These instance methods actually fire events that get handled - by the build logger and buid listeners.
      • -
      • - Added a Level enum that is used to assign a priority (level) to a message. This - allows messages to be filtered on their priority.
      • -
      • - Added a strongly typed collection for the build listeners.
      • -
      • - Updated all existing logging statements to use the new logging system instead - of the static Log class. Assigned levels to the existing logging statements.
      • -
      • - Added MailLogger that can be used to send the build results as an email, see - xml docs for how its to be configured. -
      • -
      -
    • -
    • - Many, many style/structure/documentation fixes. More that are worth listing - here.
    • -
    • - Fixed NUnit2 support for FileSets.
    • -
    • - Prevent warnings for using obsolete methods to allow NDoc Documenter.Nant to - build on .NET 1.1 runtime.
    • -
    • - Nightly.xml no longer depends on NAntContrib tasks.
    • -
    • - Moved <mail> task and test back into core as its working fine on Linux - now.
    • -
    • - New attribute-driven command-line parser. -
    • -
    -

    - Command-line client changes

    -
      -
    • - Changed target back to the default argument.
    • -
    • - Moved company information (http://nant.sourceforge.net) from help text to logo - banner.
    • -
    • - Added support for running default.build if there are multiple build files in a - directory.
    • -
    • - Added support for collection-based command-line options, with the following - restrictions : -
        -
      • - property type should implement ICollection
      • -
      • - collection should have an Add method with one parameter
      • -
      • - parameter of the Add method should be strongly-typed
      • -
      • - collection should have a default public constructor
      • -
      • - the property should have a setter if the collection is not initialized (null - reference) -
      • -
      -
    • -
    • - Fixed "bug" where ApplicationException would no longer be throw when no - matching buildfile is found after searching the directory tree upwards.
    • -
    • - Updated short form of buildfile to -f.
    • -
    • - Added -q shortname for -quiet command-line option.
    • -
    • - Changed description of -indent command-line option.
    • -
    • - Added command-line option for adding build listeners.
    • -
    • - Updated xml documentation.
    • -
    • - Added command-line options for filtering build output (-debug and -quiet).
    • -
    • - Jarek's patch to allow setting of the default framework from the command line, - fixes bug 729778.
    • -
    • - Always use identifier mono-1.0 for Mono framework, no use in always creating - new framework configurations for every Mono release. -
    • -
    -

    - Task changes

    -

    - <exec>

    -
      -
    • - Added support for an environment optionset to the <exec> task.
    • -
    • - Fixed optionset so that it correctly returns optionvalues.
    • -
    • - Remove Timeout from ExecTask, make Timeout in ExternalProgramBase a task - attribute and make it writable.
    • -
    • - Throw BuildException if process has not exited after timeout. -
    • -
    -

    - <vjc>

    -
      -
    • - Added attribute for setting the warninglevel (0-4).
    • -
    • - Added attribute for specifiying list of warnings that should be suppressed by - the compiler. -
    • -
    -

    - <jsc>

    -
      -
    • - Added support for codepage compiler flag.
    • -
    • - Added attribute for setting the warninglevel (0-4).
    • -
    -

    - <csc>

    -
      -
    • - Added support for codepage compiler flag.
    • -
    • - Renamed optionoptimize attribute to optimize.
    • -
    • - Added attribute for setting the warninglevel (0-4).
    • -
    • - Added attribute for specifiying list of warnings that should be suppressed by - the compiler.
    • -
    • - Patch from Justin Santa Barbara to add optimize flag to csc.
    • -
    • - Fixed csc example. -
    • -
    -

    - <nantschema>

    -
      -
    • - Added makefile for building on Linux. Also a new bin directory for Linux - specific binaries. -
    • -
    -

    - <mcs>

    -
      -
    • - Removed <mcs> task. the <csc> task in combination with the - framework support should be used instead. -
    • -
    -

    - <nant>

    -
      -
    • - Fixed problem with basedir in nested <nant> build being incorrect if - basedir="." is used.
    • -
    • - Have new project inherit the default framework from the current project.
    • -
    -

    - <copy>

    -
      -
    • - Fix for <copy> task breakage on Linux.
    • -
    • - Reenabled File.SetAttributes on Mono build as bug #41999 has been fixed.
    • -
    -

    - <if>

    -
      -
    • - Fixed logging bug with parenthesis instead of brace. Caused <if - uptodate...> to fail erroneously. -
    • -
    -

    - <cl> and <link>

    -
      -
    • - On demand compile support for <link> and <cl> tasks.
    • -
    • - Added unit tests for the <cl> and <link> tasks.
    • -
    • - Moved Visual C++ related tasks into Win32Assemblies so it doesn't get built in - a Mono/Linux build. -
    • -
    -

    - <fileset>

    -
      -
    • - Added support for FileSet references. Framework for making all types - referencable but only implemented for FileSets right now. -
    • -
    -

    - <mail>

    -
      -
    • - Reenabled usage of StringWriter constructor with CultureInfo as this bug in - Mono is fixed.
    • -
    • - No longer have empty strings as default.
    • -
    • - Bcc and cc are no longer set to an empty string when not specified in - buildfile, thereby preventing problems with Mono bug #45746. -
    • -
    -

    - 0.8.2 (April 24, 2003)

    -
      -
    • - Misc bugfixes. -
    • -
    -

    - 0.8.2-rc3 (April 17, 2003)

    -
      -
    • - <if> task changes to support the uptodate test.
    • -
    • - Changes for task item element initialization.
    • -
    • - Read output of <exec>'d (and other external program) processes and insert - into logfile.
    • -
    • - Fixed logging for <regex> task.
    • -
    • - Made NAnt errors less chatty.
    • -
    • - NAnt now works without Framework SDK installed.
    • -
    • - Fixed bugs in <Copy> and <Move> tasks which caused exceptions when - using todir and a FileSet, in certain cases.
    • -
    • - New <unzip> task.
    • -
    • - New <loadtasks> task which replaces the functionality of taskdef (from - NAntContrib).
    • -
    • - <foreach> supports <in><items> FileSet to work on files. -
    • -
    -

    - 0.8.2-rc2 (April 12, 2003)

    -
      -
    • - Fix for <nunit2> task using FileSet.
    • -
    • - Fix for FileSet's <includeList> element. -
    • -
    -

    - 0.8.2-rc1 (April 12, 2003)

    -
      -
    • - Logging cleanups: use log4net for internal logging.
    • -
    • - FxCop cleanups for correctness.
    • -
    • - Support for multiple versions of .NET framework.
    • -
    • - Changes to make NAnt more Mono-friendly.
    • -
    • - Updated SharpZipLib library.
    • -
    • - Makes error reporting more accurate - give line numbers for property expansion - errors.
    • -
    • - Multiple test assembly support for <nunit2> task.
    • -
    • - General speed-up for directory/file scanning.
    • -
    • - <resgen> task file generation correctness fixes.
    • -
    • - Added support multiple delimiters and string trimming to LoopTask's file line - mode.
    • -
    • - More support for csc/vbc command-line options. -
    • -
    -

    - 0.8.1 (February 21, 2003)

    -
      -
    • - Added more command-line options (-f: to specify a buildfile).
    • -
    • - Added case sensitivity checks.
    • -
    • - Added <vjc> task.
    • -
    • - Fixed NUnit2 support.
    • -
    • - Misc bugfixes and cleanups from contributors. -
    • -
    -

    - 0.7.9 (June 11, 2002)

    -
      -
    • - If more than one build file matches the criteria, e.g. two files ending in - .build than NAnt will report an error.
    • -
    • - Added -find option, causes NAnt to search up the directory tree looking for the - buildfile. Use in conjunction with -buildfile:foo.* to find the first foo.* - file up the directory tree.
    • -
    • - Added -projecthelp option, callable targets should now include a description - attribute to describe briefly what they do.
    • -
    • - CompilerBase tasks now check for changed resources and recompiles if out of - date.
    • -
    • - Compiler tasks reportq what caused the rebuild when verbose is on, try 'NAnt - -verbose'.
    • -
    • - Improved Log class.
    • -
    • - Added PlainText NUnit formatter, see NAnt's build file for an example.
    • -
    • - nant.onsuccess and nant.onfailure properties can now name a target to get - executed at the end of a build.
    • -
    • - FileSets now have an absolute element. Items inside an absolute element will - always be included in the file set. This is useful for references that are in - the system path. See the HelloWindowsForms build file for an example.
    • -
    • - -set option changed to -D to be more like Ant.
    • -
    • - Unknown command line arguments cause program help to be displayed.
    • -
    • - FileSets now support absolute paths and parent directories.
    • -
    • - *Tasks.dll assemblies that are in the same folder as NAnt are automatically - loaded and scanned for tasks.
    • -
    • - User manual available.
    • -
    • - Help for tasks is auto-generated.
    • -
    • - <attrib> task added.
    • -
    • - <gac> task added and moved to NAntContrib project.
    • -
    • - <sysinfo> task added.
    • -
    • - Added failonerror, verbose, if and unless attributes to all tasks.
    • -
    • - DESIGN DECISION: all elements and attributes will be lowercase
    • -
    • - Major reworking of FileSet class (removed absolutes element, added asis - attribute).
    • -
    • - Tasks/Targets/FileSet includes/excludes now have if/unless attributes.
    • -
    • - New Unit Tests added. -
        -
      • - CallTest.cs
      • -
      • - DeleteTest.cs
      • -
      • - EchoTest.cs
      • -
      • - FailTest.cs
      • -
      • - MkdirTest.cs
      • -
      • - MoveTest.cs
      • -
      • - PropertyTest.cs -
      • -
      -
    • -
    • - New Properties added during project initilization. -
        -
      • - nant.location points to nant.exe directory
      • -
      • - nant.tasks.[TaskName].location points to [TaskName] host assembly -
      • -
      -
    • -
    • - <nant> task now inherits properties to new project.
    • -
    • - Tasks moved to NAntContrib Project -
        -
      • - GacTask.cs
      • -
      • - RcTask.cs
      • -
      • - ResGenTask.cs
      • -
      • - TlbExpTask.cs
      • -
      • - TlbImpTask.cs
      • -
      • - TypedCollectionTask.cs
      • -
      • - Vb6Task.cs -
      • -
      -
    • -
    • - NUnit XML format updated.
    • -
    • - Many, many, many bugs fixed.
    • -
    -

    - 0.7.749 (January 19, 2002)

    -
      -
    • - <docnet> task added, try 'NAnt doc' to build NAnt's documentation.
    • -
    • - NUnitCore.dll added to project.
    • -
    • - Fixed FileSet basedir attributes, they now expand macros.
    • -
    • - <script> task and example added - thanks to Sergey Chaban.
    • -
    • - Build file now extracts version number from AssemblyInfo.cs - thanks to Sergey - Chaban.
    • -
    • - CompilerBase now adds quotations to all referenced files - thanks to Mike - Krueger.
    • -
    • - BuildException is now serializable.
    • -
    • - ExternalProgramBase reports differentiates between Process exceptions and - program return codes now.
    • -
    • - Unit tests are now run as part of the buid process.
    • -
    • - <touch> task added - thanks to Jay Turpin.
    • -
    • - NUnit overhaul. -
        -
      • - camelCase'ed attributes, haltOnFailure, haltOnError
      • -
      • - renamed printsummary to verbose
      • -
      • - replaced SummaryResultFormatter with improved SummaryFormatter
      • -
      • - added VerboseFormatter -
      • -
      -
    • -
    • - <get> task added - thanks to Jay Turpin
    • -
    • - <docnet> task renamed to <ndoc>.
    • -
    • - NDoc.Core.dll and NDoc.Documenter.Msdn.dll added to project.
    • -
    • - NAnt.exe split into NAnt.exe and NAnt.Core.dll.
    • -
    • - <al> task added - thanks to Joe Jones.
    • -
    • - <resgen> task added - thanks to Joe Jones.
    • -
    • - <zip> task added - thanks to Mike Krueger.
    • -
    • - <cl> task added - thanks to Shawn Van Ness.
    • -
    • - Added support for .NET v1.0.3705 (RTM). -
    • -
    -

    - 0.6.0 (September 18, 2001)

    -
      -
    • - Report build file xml errors in a useful way.
    • -
    • - Report error location when tasks are missing required attributes.
    • -
    • - <copy> task updated - thanks to Ian MacLean.
    • -
    • - **/*.cs type pattern matching now available in FileSets via DirectoryScanner - class.
    • -
    • - Added all the environment variables to - properites,ie,<echomessage="path=${nant.env.PATH}"/>.
    • -
    • - <move> task updated - thanks to Ian MacLean.
    • -
    • - <sleep> task added - thanks to Ian MacLean.
    • -
    • - DirectoryScanner and FileSet's scan for files AND directories now
    • -
    • - FileSet's cache scan results, use Scan() to rescan.
    • -
    • - FileSet's auto initialize to their containing task, this helps clean up the - code.
    • -
    • - <copy> task can now copy full directory trees.
    • -
    • - Added verbose attribute to <copy> task, default off, message gives number - of files processed.
    • -
    • - Fixed bug with any ExternalBase tasks hanging - thanks to Sergey Chaban for - reporting.
    • -
    • - <include> task added.
    • -
    • - <call> task added.
    • -
    • - -verbose command line option added.
    • -
    • - Build file can now build complete distribution, try 'NAnt dist'. -
    • -
    -

    - 0.5.0 (August 22, 2001)

    -
      -
    • - Complete overhaul of the web site and doc folder (all html files).
    • -
    • - Made src a parent folder to be able to hold multiple assemblies in anticipation - of the NAnt.Tests.dll assembly.
    • -
    • - License changed to GNU General Public License.
    • -
    • - Source code placed under CVS.
    • -
    • - Tasks can now have attributes in base classes, see CompilerBase as an example - - thanks to Mike Krueger.
    • -
    • - Coding conventions posted on SourceForge in the document manager.
    • -
    • - Task manager in SourceForge is now being used to track currently active tasks.
    • -
    • - Namespace changed to SourceForge.NAnt.
    • -
    • - Added basic command line parsing.
    • -
    • - Added version resource.
    • -
    • - Support for multiple build targets (try 'NAnt clean test').
    • -
    • - BuildException added to report text position in the build file where errors - occur - thanks to Ian MacLean.
    • -
    • - <style> task (xslt processing) added - thanks to Serge.
    • -
    • - Executable is now signed with the NAnt.key.
    • -
    • - Converted all public/protected fields to properties.
    • -
    • - Added support for user defined properties.
    • -
    • - Added -set option (try 'NAnt -set:debug=true clean build').
    • -
    • - Changed verions number to 0.5 to reflect the number of changes in the code - base. -
    • -
    -

    - 0.1.5 (July 22, 2001)

    -
      -
    • - Only compiles program if source file last write time > output last write - time.
    • -
    • - Refactored compiler code into common CompilerBase class.
    • -
    • - Refactored compiler and exec task into common ExternalProgramBase class.
    • -
    • - Added <arg value="/win32res:filename"/> element to all external program - tasks.
    • -
    • - Added Int32ValidatorAttribute and BooleanValidatorAttribute classes to perform - error checking on task attributes after macro expansion but before task - execution. Search for BooleanValidator or Int32Validator in tasks for examples.
    • -
    • - Changed Task attribute names to TaskAttributeAttribute and FileSetAttribute.
    • -
    • - Removed default value for task attributes (set with initial value).
    • -
    • - Changes to Project class on how to initialize a project and run it.
    • -
    • - Right aligned task prefixes to clean up output.
    • -
    • - Added or enhanced these tasks -
        -
      • - vbc, jsc, csc
      • -
      • - move
      • -
      • - nant
      • -
      • - tstamp
      • -
      • - exec (failonerror attribute) -
      • -
      -
    • -
    -

    - 0.1.4 (July 19, 2001)

    -
      -
    • - Added or enhanced these tasks -
        -
      • - echo
      • -
      • - fail
      • -
      • - property
      • -
      • - copy (respects basedir)
      • -
      • - delete (respects basedir)
      • -
      • - mkdir (respects basedir)
      • -
      • - exec -
      • -
      -
    • -
    -

    - 0.1.3 (July 18, 2001)

    -
      -
    • - Dependencies working via depends attribute on targets.
    • -
    • - Changed name from NBuild to NAnt.
    • -
    • - Using the name "Parameter" to refer to the xml attributes in tasks because it - was conflicting badly with .NET Attributes.
    • -
    • - Added FileSetParameterAttribute so that FileSet parameters would autoinit.
    • -
    • - Renamed TaskAttributeAttribute to StringParameterAttribute.
    • -
    • - Broke into seperate source files (one per class).
    • -
    • - Changed default build file from Project.xml to the first file with a .build - extension. -
    • -
    -

    - 0.1.2 (July 16, 2001)

    -
      -
    • - Basic functionality to have NAnt build itself (<csc> task). -
    • -
    -

    - 0.1.1 (July 5, 2001)

    -
      -
    • - Initial test version. -
    • -
    - - + + + + NAnt Release Notes + + + + + + + + + + + + + + + + +
    +

    + NAnt + Release Notes

    +
    + NAnt logo (link to home page) +
    +

    + 0.91-alpha2 (August 17, 2010)

    +

    + Bug fixes

    +

    Core

    +
    +
    + App.config
    +
    +

    + Fixed typo that prevented System.Management.dll from being included. +

    +
    +
    +

    Tasks

    +
    +
    + <include>
    +
    +

    + Fixed error with the <include> task when different build files include the same file. + (bug #3016497). +

    +
    +
    +

    Functions

    +
    +
    + NAnt::get-assembly()
    +
    +

    + Using the NAnt::get-assembly() function causes an "Object must implement IConvertible" error. + (bug #3013492). +

    +
    +
    +

    + 0.91-alpha1 (May 29, 2010)

    +

    + Framework support

    +
    +
      +
    • + Added support for .NET Framework 4.0 (except for <solution> task). +
    • +
    +
    +

    + Bug fixes

    +

    Expressions

    +
    +
    + Coercion
    +
    +

    + Coercion of arguments is not supported (bug #3013492). +

    +
    +
    +

    + Changes

    +

    Tasks

    +
    +
    + <xmlpeek>
    +
    +

    + Enhanced the <xmlpeek> task to support more advanced + XPath functions and syntax. It is now possible to use + functions such as count() and to index the node using XPath + directly. + (feature request #1560566). +

    +
    +
    +

    + 0.90 (May 8, 2010)

    +

    + Bug fixes

    +

    Tasks

    +
    +
    + <tar>
    +
    +

    + When the "destfile" attribute specifies a non-existent path, + the base directory(ies) will be created. + (bug #2997300). +

    +
    +
    +

    + 0.90-rc1 (May 2, 2010)

    +

    + Bug fixes

    +

    Core

    +
    +
    + <PathScanner>
    +
    +

    + Catch UnauthorizedAccessException in PathScanner to prevent + NAnt from crashing when using the Scan() function to search + for file(s) in directory with special permissions. +

    +
    +
    +

    + 0.90-beta1 (April 17, 2010)

    +

    + Bug fixes

    +

    Tasks

    +
    +
    + <csc> / <jsc> / <vbc> / <vjc>
    +
    +

    + When the "output" attribute specifies a non-existent path, + the base directory(ies) will be created. + (bug #2985057). +

    +
    +
    + ExternalProgramBase
    +
    +

    + For certain tasks (NDoc, Exec, MSBuild, etc) the console + output is unorganized and difficult to read. + (bug #2981604). +

    +
    +
    + <script>
    +
    +

    + Cleanup the output to show assembly information and functions + only when "verbose" attribute is set to "true". + (bug #2981386). +

    +
    +
    + <zip>
    +
    +

    + When the "zipfile" attribute specifies a non-existent path, + the base directory(ies) will be created. + (bug #2981389). +

    +
    +
    +

    + 0.90-alpha1 (April 1, 2010)

    +

    + Breaking changes

    +

    Core

    +
    +
    + Extensibility
    +
      +
    • + Deprecated NAnt.Core.Element.InitializeElement(XmlNode) and + NAnt.Core.Task.InitializeTask(XmlNode) in favor of + NAnt.Core.Element.Initialize(). This was done to discourage direct access to + the XML node that was used to initialize the construct. +
    • +
    +
    +

    Tasks

    +
    +
    + <script>
    +
    +

    + As of this release, only the following namespaces are imported + by default: +

    +
      +
    • System
    • +
    • System.Collections
    • +
    • System.Collections.Specialized
    • +
    • System.IO
    • +
    • System.Text
    • +
    • System.Text.RegularExpressions
    • +
    • NAnt.Core
    • +
    • NAnt.Core.Attributes
    • +
    +

    + Starting from this release, only NAnt.Core + and mscorlib will be referenced by default. +

    +

    + In previous releases, all loaded assemblies would implicitly + be referenced. +

    +
    +
    +

    + Bug fixes

    +

    Extensibility

    +
    +
    + DataTypeBaseBuilder / FilterBuilder / TaskBuilder
    +
    +

    + Changes to constructors break backward compatibility (bug 2782705). +

    +
    +
    +

    Expressions

    +
    +
    + Identifiers
    +
    +

    + Identifiers containing a dot or backslash are falsely rejected. +

    +
    +
    +

    Framework support

    +
    +
    + .NET Framework (All)
    +
    +

    + The target framework cannot be initialized if the .NET + Framework SDK is not installed (bug #1859708). +

    +
    +
    + .NET Framework 1.1
    +
    +

    + Added the following assemblies to the list of reference + assemblies: +

    +
      +
    • + Microsoft.VisualBasic.Compatibility.dll +
    • +
    • + Microsoft.VisualBasic.Compatibility.Data.dll +
    • +
    • + System.Data.OracleClient.dll +
    • +
    +

    + Fixes bug #1848648. +

    +
    +
    + .NET Framework 3.5
    +
      +
    • + Modified version (as returned by framework::get-version()) + to "3.5". +
    • +
    • + Added support for Windows SDK 6.1 (bug #1986551). +
    • +
    • + Added support for Windows SDK 7.0 +
    • +
    +
    +

    Tasks

    +
    +
    + <echo>
    +
    +

    + A newline is implicitly added when writing a message to a file + (bug #2807728). +

    +
    +
    + <echo>
    +
    +

    + When "output" parameter is specified, standard output is redirected properly. + (bug #1010223). +

    +
    +
    + ExternalProgramBase
    +
    +

    + The value of UseRuntimeEngine is not respected + when overriden by derived classes (bug #1850383). + +

    +
    + <move>
    +
    +

    + When source file is newer than destination file, then an error + is reported if "overwrite" is not set to true. +

    +
    +
    + <solution>
    +
    +

    + Solution Folders result in build failure (bug #1732361). +

    +
    +
    + <xmlpeek>
    +
    +

    + "verbose" feature is now worked as documented (bug #1911292). +

    +
    +
    + <zip>
    +
    +

    + Improved backward compatibility with older unzip implementations. +

    +
    +
    +

    Types

    +
    +
    + <fileset> +
    +
    +

    + Files matching the **/vssver2.scc pattern are not excluded by default + (bug #2515816). +

    +
    +
    +

    Additions

    +

    Functions

    +
    +
    + environment::newline()
    +
    +

    Gets the newline string defined for this environment.

    +
    +
    + framework::get-description()
    +
    +

    Gets the description of the current target framework.

    +
    +
    + framework::get-clr-version()
    +
    +

    Gets the CLR version of the current target framework.

    +
    +
    + framework::get-frameworks(NAnt.Core.FrameworkTypes)
    +
    +

    + Gets a comma-separated list of frameworks filtered by the + specified FrameworkTypes. +

    +

    For example:

    +
    +    <target name="build-all">
    +        <foreach item="String" in="${framework::get-frameworks('installed compact')}" delim="," property="framework">
    +            <property name="nant.settings.currentframework" value="${framework}" />
    +            <call target="${framework}" />
    +        </foreach>
    +    </target>
    +
    +    <target name="build">
    +        ...
    +    </target>
    +                
    +
    +
    + framework::get-version()
    +
    +

    Gets the version of the current target framework.

    +
    +
    + platform::is-windows()
    +
    +

    Return a value indicating whether NAnt is running on Windows.

    +
    +
    +

    Tasks

    +
    +
    + <untar>
    +
    +

    Extracts files from a tar archive.

    +
    +
    +

    Changes

    +

    Packaging

    +
    +
    + pkg-config
    +
    +

    + When installing NAnt from source on Unix (using make install), + a nant.pc is now installed in $prefix/lib/pkgconfig. +

    +
    +
    + DESTDIR
    +
    +

    + To allow for staged installs, our makefile now also supports + the DESTDIR variable: +

    +
    +    $ make DESTDIR=/tmp/local install
    +                
    +
    +
    +

    Functions

    +
    +
    + platform::is-win32()
    +
    +

    This function is deprecated, use platform::is-windows() instead.

    +
    +
    +

    Tasks

    +
    +
    + <csc> / <jsc> / <vbc> / <vjc>
    +
    +

    + Added "winres" attribute to specify a Win32 resource file. +

    +
    +
    + <echo>
    +
    +

    + The "encoding" attribute can be used to specify + the encoding when writing messages to a file. +

    +
    +    <echo file="build.cmd" encoding="ascii">...</echo>
    +                
    +
    +
    + <link>
    +
    +

    + Added "moduledefinition" parameter to allow the + name of the module definition file to be set. + +

    +
    + <nunit2>
    +
    +

    + Allow referenced assemblies to be specified using <references> + element on <test>: +

    +
    +    <nunit2>
    +        <test>
    +            <assemblies basedir="build/tests">
    +                <include name="Cegeka.HealthCare.DocGen.Tests.dll" />
    +                <include name="Cegeka.HealthCare.Util.Tests.dll" />
    +            </assemblies>
    +            <references basedir="build/lib">
    +                <include name="Cegeka.HealthCare.Common.dll" />
    +                <include name="Cegeka.HealthCare.DocGen.dll" />
    +                <include name="Cegeka.HealthCare.Util.dll" />
    +            </assemblies>
    +        </test>
    +    </nunit2>
    +                
    + Previously, all referenced assemblies needed to be either + in the GAC, or in the directory containing the test + assembly. +
    +
    + <solution>
    +
    +

    + Introduced support for targeting a specific platform, + as defined in the solution or project. +

    +
    +
    + <xmlpoke>
    +
    +

    + Added "preserveWhitespace" parameter to retain + the original format of the XML files. +

    +
    +
    + <unzip>
    +
    +

    + Added "overwrite" parameter to control whether to + overwrite files even if they are newer than corresponding + entries in the archive. +

    +
    +
    +

    Third-Party

    +
    +
    + #ziplib
    + +
    +

    Types

    +
    +
    + <fileset> / <patternset>
    +
    +

    + For patterns specified using <includesfile> + or <excludesfile>, lines that have a number sign (#) as the first non-blank + character in a line are now ignored. + +

    +
    +

    + 0.86-beta1 (December 8, 2007)

    +

    + Breaking changes

    +

    Core

    +
    +
    + nant.tasks properties
    +
    +

    + Prior to NAnt 0.85, build authors would use a "nant.tasks.*" + property to check whether a given task was available. +

    +

    + With the introduction of expression support in NAnt 0.85, we + provided a more powerful alternative through the + task::exists + function. +

    +

    + As of this release, the "nant.tasks.*" properties are + therefore no longer set by NAnt. +

    +
    +
    + nant.failure
    +
    +

    + Removed support for the "nant.failure" property to + set the target that should be executed when the build fails. +

    +

    + This property was deprecated in NAnt 0.83 in favor of the + "nant.onfailure" attribute. +

    +

    + As of this release, setting the "nant.failure" + attribute will no longer have any effect. +

    +
    +
    +

    Expressions

    +
    +
    + = operator
    +
    +

    + In NAnt 0.85, support for the '=' operator to check for equality was + deprecated in favor of the '==' operator. +

    +

    + As from this release, the '=' operator is no longer + recognized. +

    +
    +
    +

    Tasks

    +
    +
    + <style>
    +
      +
    • + Removed support for <param> child element, which was + deprecated in NAnt 0.84 in favor of a <parameters> + element. +
    • +
    +
    +

    + Bug fixes

    +

    Core

    +
    +
    + MailLogger
    +
      +
    • + If "MailLogger.smtp.username", "MailLogger.smtp.port" + or "MailLogger.smtp.enablessl" are set, messages must be delivered + using the SMTP protocol over the network. [.NET 1.1 or higher] +
    • +
    +
    + Response File
    +
      +
    • + Quoted arguments are not parsed correctly from response files + (bug #1736526). +
    • +
    +
    + Document Type Definition
    +
      +
    • + Executing a project with a DTD can lead to an internal error. + (bug #1809994). +
    • +
    +
    +

    Framework support

    +
    +
    + Mono/Cygwin
    +
      +
    • + In Cygwin, the directory + containing the Mono configuration files was not correctly + constructed from pkg-config info, leading to errors when + running applications that use System.Configuration. +
    • +
    +
    +

    Tasks

    +
    +
    + <call>
    +
      +
    • + Target is not re-executed if "cascade" is false + (bug #1474159). +
    • +
    +
    + <csc>
    +
      +
    • + Satellite assemblies are not signed when signing key is + specified using "keyfile" attribute (bug #1587739). +
    • +
    +
    + <exec>
    +
      +
    • + Empty lines written to standard output or standard error by + external program are ignored. +
    • +
    +
    + <resgen>
    +
      +
    • + If the embedded resource compiler for the target framework does + not support assembly references, then copy both the compiler + and related files (based on pattern matching) to the + intermediary compile directory + (bug #1591991). +
    • +
    +
    + <solution>
    +
      +
    • + Visual C++ +
      +
        +
      • + Custom build steps are not supported (bug #1082374). +
      • +
      • + Unexpected error when name of project configuration + differs from solution configuration (bug #1607209). +
      • +
      +
      +
    • +
    +
    +

    Third-Party

    +
    +
    + #ziplib
    +
      +
    • + Files with a compressed size of over 4GB cannot be added to zip archive + (bug #1698336). +
    • +
    +
    +

    Types

    +
    +
    + <fileset>
    +
      +
    • + Case differences are not always ignored on a case-insensitive filesystem + (bug #1776101). +
    • +
    • + Pattern mathing for files in the root directory of a volume is + always case-sensitive (bug #1761377). +
    • +
    +
    +

    Additions

    +

    Expressions

    +
    +
    + Version operators
    +
    +

    + Introduced support for relational operators + between version values. +

    +
    +
    +

    Framework support

    +
    +
    + Tool paths
    +
    +

    + Since NAnt 0.84, task authors have been able to specify the + location of the command-line tool by applying a ProgramLocationAttribute to + classes deriving from ExternalProgramBase. +

    +

    + The ProgramLocationAttribute allows task authors + to specify whether the tool is located in the framework directory + (eg. C:\WINDOWS\Microsoft.NET\Framework\v1.1.4432) or the + SDK directory (eg. C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1) + without actually having to deal with the complexity of knowing + the actual path to these directories (for each supported framework). +

    +

    + In NAnt 0.86, we've taken this one step further. Each defined + framework now has a (ordered) list of directories that can be + scanned to locate a framework tool. The list of directories + can be easily tuned for each framework by modifying the + <tool-paths> + nodes in the NAnt configuration file. +

    +

    An example of such a node for the Mono 3.5 profile:

    +
    +    <tool-paths>
    +        <directory name="${path::combine(prefix, 'lib/mono/3.5')}" />
    +        <directory name="${path::combine(prefix, 'lib/mono/2.0')}" />
    +        <directory name="${path::combine(prefix, 'lib/mono/1.0')}" />
    +    </tool-paths>
    +                
    +

    + The directories configured in the <tool-paths> + node of the current target framework will be scanned in the + order in which they are defined. +

    +

    + The tool paths are implicitly used when a given tool cannot + be located on the location specified by the ProgramLocationAttribute. + As such, this only applies to tasks deriving from ExternalProgramBase. +

    +

    + To expose this functionality to build authors, we've added a + framework::get-tool-path + function that can be used to search for a given tool. +

    +

    For example:

    +
    +    <exec program="${framework::get-tool-path('gacutil.exe')}" managed="strict">
    +        <arg value="/i" />
    +        <arg file="Cegeka.HealthFramework.dll" />
    +    </exec>
    +                
    +
    +
    + Strict execution
    +
    +

    + Introduced support for forcing a managed application to run + on the currently targeted CLR. +

    +

    + This was previously only possible by modifying the <startup> + section of the application configuration file or by using + constructs specific to each CLR (eg. using COMPLUS_VERSION + environment variable for the MS CLR), which made build scripts + non-portable. +

    +

    + Developers extending NAnt, can now control this by setting the + Managed property for tasks deriving from + ExternalProgramBase. +

    +

    + For build authors, forcing a managed application to run on a + specific version of a CLR can be done by setting the + "managed" attribute of <exec> + to strict. +

    +

    For example:

    +
    +    <exec program="nunit-console.exe" managed="strict">
    +        <arg value="/noshadow" />
    +        <arg file="Cegeka.HealthFramework.Tests.dll" />
    +    </exec>
    +                
    +
    +
    + .NET Framework 3.5
    +
    +

    + Support for targeting .NET Framework 3.5 and Mono 3.5 + Profile is now available. +

    +

    + Note: this does not apply to the <solution> + task. +

    +
    +
    + Silverlight 2.0
    +
    +

    + Added experimental support for targeting Silverlight 2.0 + and Moonlight 2.0. +

    +

    + Note: this does not apply to the <solution> + task. +

    +
    +
    +

    Types

    +
    +
    + <patternset>
    +
    +

    + Defines a set of patterns, mostly used to include or exclude certain files. +

    +

    + Patterns can be grouped to sets, and later be referenced by their + id. +

    +

    For example:

    +
    +    <patternset id="binaries">
    +        <include name="bin/**/*" />
    +        <exclude name="bin/*.tmp" />
    +    </patternset>
    +
    +    <patternset id="docs">
    +        <include name="requirements/**/*" />
    +        <exclude name="design/**/*.doc" />
    +    </patternset>
    +
    +    <patternset id="client.sources">
    +        <include name="client/**/*.cs" />
    +        <exclude name="client/**/*.vb" />
    +    </patternset>
    +
    +    <patternset id="server.sources">
    +        <include name="server/**/*.cs" />
    +        <exclude name="server/**/*.vb" />
    +    </patternset>
    +
    +    <patternset id="sources">
    +        <patternset refid="client.sources" />
    +        <patternset refid="server.sources" />
    +    </patternset>
    +
    +    <target name="deploy">
    +        <copy todir="${dist.path}">
    +            <fileset basedir="${build.path}">
    +                <patternset refid="binaries" />
    +                <patternset refid="docs" />
    +                <patternset refid="sources" />
    +
    +                <exclude name="**/*.sdf" />
    +            </fileset>
    +        </copy>
    +    </target>
    +                
    +
    +
    +

    Changes

    +

    Core

    +
    +
    + Performance
    +
    +

    + Initial start-up time and project initialization have been + reduced dramatically by lazy configuration of supported + target frameworks. +

    +
    +
    +

    Framework support

    +
    +
    + .NET Compact Framework 2.0
    +
    +

    + Compiler options that were introduced in .NET Framework 2.0 + are now also available when targeting .NET Compact Framework + 2.0. +

    +
    +
    +

    Tasks

    +
    +
    + <al>
    +
      +
    • + Modules to compile into an assembly can now be specified + using the <modules> child element. +
    • +
    +
    + <csc>
    +
      +
    • + Added "delaysign" attribute which specified whether + to delay sign the assembly using only the public portion of + the strong name key. +
    • +
    +
    + <exec>
    +
      +
    • + The "useruntimeengine" attribute has been deprecated + in favor of a "managed" attribute. +
    • +
    +
    + <jsc>
    +
      +
    • + Added "autoref" attribute to enable automatically + referencing of assemblies if they have the same name as an + imported namespace or as a type annotation when declaring a + variable. +
    • +
    • + Added "nostdlib" attribute which instructs the + compiler not to import standard library. +
    • +
    • + Added "versionsafe" attribute which causes the + compiler to generate errors for implicit method overrides. +
    • +
    • + Now uses mjs when targeting Mono. +
    • +
    +
    + <vbc>
    +
      +
    • + Added "delaysign" attribute which specified whether + to delay sign the assembly using only the public portion of + the strong name key. +
    • +
    +
    + <vjc>
    +
      +
    • + Added "delaysign" attribute which specified whether + to delay sign the assembly using only the public portion of + the strong name key. +
    • +
    +
    +

    Third-Party

    +
    +
    + #ziplib
    +
      +
    • + Upgraded to v0.85.1 which, amongst other things, adds support for ZIP64. +
    • +
    +
    +

    Types

    +
    +
    + <assemblyfileset>
    +
    +

    + The reference assemblies of a given target framework are + no longer limited to the assemblies in, what is known as, + the framework assembly directory. +

    +

    + Instead, these are now defined using one or more <reference-assemblies> + filesets in the <framework> + node of the NAnt configuration file. +

    +
    +
    + <fileset>
    +
    +

    + Added a "casesensitive" attribute to control whether + pattern matching must be case-sensitive. +

    +

    + The default is true on Unix and false on on + other platforms. +

    +
    +
    +

    + 0.85 (October 14, 2006)

    +

    + Bug fixes

    +

    Framework support

    +
    +
    + .NET Compact Framework 2.0
    +
      +
    • + Embedded resource files cannot be compiled when targeting + .NET Compact Framework 2.0 (bug #1533924). +
    • +
    +
    +

    Functions

    +
    +
    + file::is-assembly
    +
      +
    • + Function call fails when a file name that does not correspond + with an assembly is specified as argument. +
    • +
    +
    +

    Tasks

    +
    +
    + <aximp>
    +
      +
    • + The value of the "rcw" attribute should be ignored when + targeting .NET 1.0. +
    • +
    +
    + <csc>
    +
      +
    • + Output is always rebuilt when "keyfile" attribute is set + (bug #1550736). +
    • +
    +
    + <regen>
    +
      +
    • + Assembly reference are not taken into account to determine + if the maximum length of the command line is exceeded + (bug #1415272). +
    • +
    +
    + <solution>
    +
      +
    • + Runtime callable wrapper is not used when generating Windows + Forms control for ActiveX component that has no Primary + Interop Assembly. +
    • +
    • + When importing a type library, [out, retval] parameters of + methods on dispatch-only interfaces (dispinterfaces) are + not transformed into return values (bug #1527210). +
    • +
    • + Dependencies are not handled properly for Enterprise Template + projects in Visual Studio .NET 2003 solutions (bug #1534864). +
    • +
    +
    + <unzip>
    +
      +
    • + Zip file containing zero-length files fails to extract + (bug #1503678). +
    • +
    +
    +

    Changes

    +

    Tasks

    +
    +
    + <tlbimp>
    +
      +
    • + Added "transform" attribute which sets the name + of transform to use for transforming the metadata. [.NET 1.1 or higher] +
    • +
    +
    +
    +
    + <vbc>
    +
      +
    • + Added "nostdlib" attribute which can be used to + instruct the compiler not to reference standard libraries + (system.dll and VBC.RSP). [.NET 2.0 or higher] +
    • +
    +
    +

    + 0.85-rc 4 (June 2, 2006)

    +

    + Framework support

    +
    +
      +
    • + Added support for .NET Framework 2.0 (except for <solution> task). +
    • +
    +
    +

    + Breaking changes

    +

    Tasks

    +
    +
    + <delete>
    +
      +
    • + Attempting to delete a file or directory that does not exist, + no longer results in a build failure. +
    • +
    +
    +

    + Bug fixes

    +

    Core

    +
    +
    + XmlLogger
    +
      +
    • + XmlLogger + produced invalid XML for elements that are not closed + (bug #1220439). +
    • +
    +
    +

    Filters

    +
    +
    + <replacetokens>
    +
      +
    • + Empty value is not supported for token (bug + #1192677). +
    • +
    +
    +

    Tasks

    +
    +
    + <cl>
    +
      +
    • + Logic for determining whether compilation is necessary is not correct when PCH + file is specified (bug + #1191185). +
    • +
    • + All sources are compiled if any of the specified sources is not up-to-date (bug + #1191285). +
    • +
    • + Macro definitions specified using the <defines> collection + are passed to the compiler, regardless of the value of the "if" and + "unless" attributes (bug + #1221945). +
    • +
    +
    +
    +
    + <rc>
    +
      +
    • + Modification of an external file does not trigger a rebuilt of the resource + (bug + #1195320). +
    • +
    • + Macro definitions specified using the <defines> collection + are passed to the compiler, regardless of the value of the "if" and + "unless" attributes (bug + #1221945). +
    • +
    +
    +
    +
    + <script>
    +
      +
    • + Defining custom extensions (eg. tasks) using multiple + <script> instances results in an INTERNAL ERROR (bug + #1187957). +
    • +
    +
    +
    +
    + <solution>
    +
      +
    • + Compilation of embedded resources is slow. +
    • +
    • + Assembly signing fails for web projects. +
    • +
    • + Build fails if XML Documentation File does not exist (bug + #1188394). +
    • +
    • + Satellite assemblies of reference projects are not copied to the output + directory of referencing projects (bug + #1212909). +
    • +
    • + Changes in project file are not detected (bug + #1209741). +
    • +
    • + Error message that is output when a project does not exist, is misleading + (bug #1396124). +
    • +
    • + Large number of localized resources causes build failure + (bug #1425251). +
    • +
    • + Registering a project for COM interop fails for projects which reference other local assembly or projects + (bug #1477827). +
    • +
    • + Unused assembly reference that cannot be resolved or does not exist results in + build failure (bug + #1186176). +
    • +
    • + Visual C++ +
      +
        +
      • + File-level option to enable Managed Extensions is ignored (bug + #1190966). +
      • +
      • + Linking fails if object file name is explictly set for a specific source file + (bug + #1205728). +
      • +
      • + Delay loaded DLLs option is ignored. +
      • +
      • + Output files of dependent or referenced projects are not included when linking + (bug + #1186838 and + #1124296). +
      • +
      • + References to COM components are now supported (bug #1437970). +
      • +
      +
      +
    • +
    +
    +

    Additions

    +

    Tasks

    +
    +
    + <regasm>
    +
      +
    • + Registers an assembly, or set of assemblies for use from COM clients. +
    • +
    +
    +

    Changes

    +

    Core

    +
    +
    + log4net
    +
      +
    • + Upgraded to log4net 1.2.9. +
    • +
    +
    + MailLogger
    +
      +
    • + Added "MailLogger.success.attachments" and + "MailLogger.failure.attachments" properties to allow a set of files + to be attached to the message that is sent. +
    • +
    +
    Define types in task containers.
    +
    +

    + Global types can now be (re)defined in task containers + (such a <if> , + <foreach>). +

    +

    For example:

    +
    +    <project name="container-type" default="build">
    +        <if test="${platform::is-win32()}">
    +            <fileset id="sources">
    +                <include name="**/*.cs" />
    +                <!-- exclude Unix-specific classes -->
    +                <exclude name="**/Unix/*.cs" />
    +            </fileset>
    +        </if>
    +        <if test="${platform::is-unix()}">
    +            <fileset id="sources">
    +                <include name="**/*.cs" />
    +                <!-- exclude Win32-specific classes -->
    +                <exclude name="**/Win32/*.cs" />
    +            </fileset>
    +        </if>
    +        <target name="build">
    +            <csc output="IvsController.dll">
    +                <sources refid="sources" />
    +                <references>
    +                    <include name="System.dll" />
    +                    <include name="System.Data.dll" />
    +                    <include name="System.Xml.dll" />
    +                </references>
    +            </csc>
    +        </target>
    +    </project>
    +                
    +

    Up until now, only tasks could be executed in these containers.

    +
    +
    +

    Tasks

    +
    +
    + <csc>
    +
      +
    • + The /langversion and /platform + commandline options of the C# compiler are now exposed as + attributes. +
    • +
    • + Added support for /keycontainer and /keyfile + commandline options [Mono / .NET 2.0 or higher]. +
    • +
    +
    +
    +
    + <jsc>
    +
      +
    • + The /platform commandline option of the JScript.NET + compiler is now exposed using the "platform" attribute. +
    • +
    +
    +
    +
    + <link>
    +
      +
    • + Introduced support for delay loaded DLLs. +
    • +
    +
    +
    +
    + <nunit2>
    +
      +
    • + Upgraded to NUnit 2.2.8. +
    • +
    +
    +
    +
    + <unzip>
    +
      +
    • + The character encoding that has been used for file names + inside the zip file can now be set using the "encoding" + parameter. +
    • +
    +
    +
    +
    + <vbc>
    +
      +
    • + The /platform commandline option of the VB.NET + compiler is now exposed using the "platform" attribute. [.NET 2.0 or higher] +
    • +
    • + Added support for /keycontainer and /keyfile + commandline options. [.NET 2.0 or higher] +
    • +
    +
    +
    +
    + <vjc>
    +
      +
    • + Added support for /keycontainer and /keyfile + commandline options. +
    • +
    +
    +
    +
    + <zip>
    +
      +
    • + Added "duplicate" parameter to allow build authors + to control how duplicate file entries are to be processed. +
    • +
    • + Introduced "encoding" parameter for setting the + encoding to be used for file names. +
    • +
    +
    +

    Types

    +
    +
    + <arg>
    +
      +
    • + Added "dir" attribute for directory-based command-line arguments. + (feature request + #1193982). +
    • +
    +
    +

    + 0.85-rc 3 (April 16, 2005)

    +

    + Breaking changes

    +

    Tasks

    +
    +
    + <nant>
    +
      +
    • + References are no longer copied to the new projects by default. This is now + controlled using the "inheritrefs" attribute. +
    • +
    +
    +

    + Bug fixes

    +

    Core

    +
    +
    XML Schema
    +
      +
    • + "if" and "unless" attributes of <target> element are + not documented (bug + #1168170). +
    • +
    +
    +

    Tasks

    +
    +
    + <copy> / + <move>
    +
      +
    • + If "flatten" is set to true and multiple source files are + selected to be copied / moved to the same destination file, only the source + file that was last written to should actually be copied / moved (bug + #1165252). +
    • +
    +
    +
    +
    + <link>
    +
      +
    • + Additional include directory containing spaces leads to build failures (bug + #1117794). This bug also affects the <solution> + task. +
    • +
    +
    +
    +
    + <nant>
    +
      +
    • + Default value of "inheritall" attribute does not match documentation + (bug + #1146121). +
    • +
    • + Documentation does not describe behavior of <nant> + task for references (bug + #1146176). +
    • +
    +
    +
    +
    + <ndoc>
    +
      +
    • + When executing the <ndoc> + task multiple times, the properties are not expanded again after the first + execution (bug + #1124113). +
    • +
    • + Additional directories specified (using the <referencepaths> element) to + search for assembly references were not correctly consumed. +
    • +
    +
    +
    +
    + <resgen>
    +
      +
    • + The "dynamicprefix" attribute is not honored when determining the + name of the compiled resource file (bug + #1150186). +
    • +
    +
    +
    +
    + <script>
    +
      +
    • + Now supports any CodeDom provider, not just the built in languages (C#, VB, + etc). +
    • +
    • + Allow lower case values ( c# and vb ) for the Language attribute. +
    • +
    +
    +
    +
    + <servicecontroller>
    + +
    +
    +
    + <call> +
    +
      +
    • + Added a "cascade" attribute to allow calling a single task without + cascading all the dependencies. (bug + #1077323 ). +
    • +
    +
    +
    +
    + <solution>
    +
      +
    • + A relative path specified in the + AssemblyKeyFile attribute must be resolved using either the solution + directory or the intermediate output directory. +
    • +
    • + Configurations containing dashes are skipped (bug + #1184173). +
    • +
    • + Check for existance of specified solution file is performed even if task is not + to be executed (bug + #1178810). +
    • +
    • + Project configurations with names that do not match the solution configuration + are skipped (bug + #947214). +
    • +
    • + Projects are not always properly excluded (bug + #1143845 and + #1182510). +
    • +
    • + Stack overflow in case of circular project references (bug + #1145670). +
    • +
    • + BaseAddress not correctly passed to compilers (bug + #1164709). +
    • +
    • + Project dependencies that are no longer included in the solution file result in + a circular dependency error. +
    • +
    • + VB.NET +
      +
        +
      • + Referencing the same assembly multiple times results in an ambiguous reference + (bug + #1178862). +
      • +
      +
      +
    • +
    • + Visual C++ +
      +
        +
      • + Changes to source files or headers do not trigger a recompile (bug + #1155919). +
      • +
      • + Additional dependencies and library directory are ignored for static libraries + (bug + #1173529). +
      • +
      • + IDL files without a type library are not supported (bug + #1160647). +
      • +
      • + Target macros are not correctly expanded if output file is not set (bug + #1170100). +
      • +
      • + References to Static Library projects are ignored when linking, and passed to + the compiler as Forced Using assemblies. +
      • +
      • + "Inherit project defaults" setting is ignored for Additional Dependencies of + Linker (bug + #1178007). +
      • +
      • + Additional project-level include directories are not merged with file-level + include directories (bug + #1160043). +
      • +
      • + Projects using precompiled header are always recompiled. +
      • +
      +
      +
    • +
    +
    +

    Types

    +
    +
    + <fileset>
    +
      +
    • + Patterns are read from file specified using <includesfile> element + regardless of the value of conditional attributes ("if" and + "unless"). +
    • +
    +
    +

    Changes

    +

    Core

    +
    +
    + MailLogger
    +
      +
    • + Added "MailLogger.body.encoding" property to allow the encoding of + the body of the message to be set. +
    • +
    +
    Response File
    +
      +
    • + NAnt now supports the use of a response file. Passing @<file> on the + command line will cause the contents of <file> to be read as part of the + command line. Multiple @<file> arguments may be used. +
    • +
    +
    + XmlLogger
    +
      +
    • + Project, target and task timing information is now output in a <duration> + element in milliseconds (patch + #1122583) +
    • +
    +
    +

    Tasks

    +
    +
    + <csc> / + <vbc> / <vjc>
    +
      +
    • + Changed "debug" attribute from boolean to + DebugOutput enum to allow more control over the type of debugging + information generated by the compiler. +
    • +
    +
    + <lib>
    +
      +
    • + Add "moduledefinition" attribute. +
    • +
    +
    + <midl>
    +
      +
    • + "tlb" attribute is no longer required. +
    • +
    +
    +

    + Developer information

    +

    API

    +
    +
    FileSetAttribute
    +
    +

    + The NAnt.Core.Attributes.FileSetAttribute + is obsolete. Task developers should use the + NAnt.Core.Attributes.BuildElementAttribute instead: +

    +

    For example:

    +
    +    [FileSetBuildElement("fileset")]
    +    public FileSet CopyFileSet {
    +        get { return _fileset; }
    +        set { _fileset = value; }
    +    }
    +                
    +
    +
    +

    + 0.85-rc 2 (February 12, 2005)

    +

    + General changes

    +
    +
    + Building NAnt
    +
      +
    • + The source distribution of NAnt no longer contains pre-built binaries to build + a full version of NAnt. Instead, we now include GNU Make and NMake make files + to build a bootstrap version of NAnt, which is then used to build the full + version of NAnt. More information is available + here. +
    • +
    +
    + License
    +
      +
    • + The special exception that is part of the NAnt license has been modified to + avoid confusion. +
    • +
    +
    +

    + Bug fixes

    +

    Core

    +
    +
    + XML Schema
    +
      +
    • + NAnt XML Schema definition for collection based elements was incorrect (bug + #1076620). +
    • +
    +
    +

    Functions

    +
    +
    + target::get-current-target()
    +
      +
    • + Current target is incorrect after execution of target using + <call> task (bug + #1090260). +
    • +
    +
    +

    Tasks

    +
    +
    + <cl>
    +
      +
    • + <cl> does not recompile + although headers have been updated (bug + #1079377). +
    • +
    +
    + <mail>
    +
      +
    • + Names containing comma's are not supported (bug + #961627). +
    • +
    +
    + <midl>
    +
      +
    • + <midl> fails on second + run if "header" or "iid" attributes are not specified (bug + #1078558). +
    • +
    +
    + <solution>
    +
      +
    • + Manifest resource names of resources in J# projects do not match those + generated by Microsoft Visual Studio.NET. +
    • +
    • + For embedded resources that are dependent on a source file, namespace prefixing + is wrong when a namespace declaration is not present in the source file (bug + #1077253). +
    • +
    • + Users should be warned about possible issues with resx files when building a + project for a down-level target framework (bug + #1077254). +
    • +
    • + "App.config" should not be considered an output file for Class Library + projects. +
    • +
    • + Win32 resources in Visual C++ projects are not compiled (bug + #1077712). +
    • +
    • + Improve error reporting when a referenced component cannot be resolved (bug + #1079777). +
    • +
    • + MFC and ATL shared linking is not supported for Visual C++ projects (bug + #1078636). +
    • +
    • + <solution> task + doesn't support COM, OCX apps built in Visual C++ (bug + #1078641). +
    • +
    • + Support for some compile and link arguments is missing (bug + #1080237). +
    • +
    • + Project dependencies are not re-evaluated when assembly reference is converted + to project reference (bug + #1076015). +
    • +
    • + Resolution of assembly references does not match Visual Studio .NET (bug + #1077869). +
    • +
    +
    + <style>
    +
      +
    • + Relative URI specified as argument for document() function is not + considered to be relative to the base URI of stylesheet containing the function + call (bug + #1078896). +
    • +
    +
    + <sysinfo>
    +
      +
    • + Document behavior when environment variable is defined with a name that is not + a valid property name (bug + #1082225). +
    • +
    +
    +

    Additions

    +

    Tasks

    +
    +
    + <gunzip>
    +
      +
    • + Expands a file packed using GZip compression. +
    • +
    +
    + <setenv>
    +
      +
    • + Sets environment variables. +
    • +
    +
    +

    Types

    +
    +
    + <categories>
    +
      +
    • + Controls the categories of tests to execute using the + <nunit2> task. +
    • +
    +
    +

    Changes

    +

    Expressions

    +
    +
    + Data Type support
    +
      +
    • + Added support for "long" data type for both relational and mathematical + expressions. +
    • +
    +
    +

    Tasks

    +
    +
    + <al>
    +
      +
    • + Added numerous attributes. Eg. "version", "evidence", ... . +
    • +
    +
    + <cl>
    +
      +
    • + Added "pchthroughfile" and "pchmode" attributes to allow more control over + precompiled header files. +
    • +
    • + Added "objectfile" and "pdbfile" attributes. +
    • +
    +
    + <csc>
    +
      +
    • + Added "baseaddress" and "filealign" attributes. +
    • +
    +
    + <lc>
    +
      +
    • + Deprecated "licensetarget" attribute in favor of "target" attribute. +
    • +
    +
    + <exec>
    +
      +
    • + Deprecated nested <option> element in favor of <variable> element + for setting environment variables for the spawned process. +
    • +
    +
    + <link>
    +
      +
    • + Added "debug" and "pdbfile" attributes. +
    • +
    • + Added <modules> child element to link modules in the assembly. +
    • +
    • + Added <embeddedresources> child element to embed resources in the + assembly. +
    • +
    +
    + <mail>
    +
      +
    • + "tolist" is no longer a required attribute. +
    • +
    • + The "tolist", "cclist" and "bcclist" attributes + are now semicolon-separated lists. The comma is no longer considered a + separator character. +
    • +
    +
    + <ndoc>
    +
      +
    • + Upgraded to NDoc 1.3.1 Release. +
    • +
    +
    + <nunit2>
    +
      +
    • + Added support including or excluding specific categories of test cases or + fixtures. +
    • +
    +
    + <resgen>
    +
      +
    • + Added "usesourcepath" attribute to allow the source file's directory to be used + as current directory for resolving relative file paths. [.NET 2.0 or higher] +
    • +
    • + Improved dependency scanning for resx files. +
    • +
    +
    + <solution>
    +
      +
    • + Improved support for precompiled header files. +
    • +
    • + Added support for project-level build events. +
    • +
    +
    + <style>
    +
      +
    • + Added support for extension objects. +
    • +
    +
    +

    Types

    +
    +
    + <import>
    +
      +
    • + The "name" attribute of the + <import> element has been deprecated, and replaced by + a "namespace" attribute. This change affects the following tasks: + <asminfo>, <script> + and <vbc>. +
    • +
    +
    +

    + 0.85-rc 1 (November 28, 2004)

    +

    + Framework support

    +
      +
    • + NAnt 0.85 adds support for the following frameworks (both as runtime and as + target framework): +
        +
      • + Mono (both 1.0 and 2.0 profile) +
      • +
      • + .NET 2.0 Beta 1 +
      • +
      +
    • +
    • + By default, NAnt will now target the framework on which its running. For + example, if NAnt is running on .NET 2.0, the assemblies built using the + <csc> task will target .NET 2.0. Previous versions of + NAnt would target .NET 1.0 by default.
    • +
    • + Information on how to override the target framework, can be found + here. +
    • +
    +

    + Breaking changes

    +
      +
    • + In previous version of NAnt, the <arg> + element (used by, for example, the <exec> + task) would automatically add quotes for both "file" and "value" attributes in + the command line generated by the task. That automatic quoting has been removed + for "value" attributes (but not for "file" attributes). This change may break + build files that assume that both arguments specified using the "file" and + "value" attributes will automatically be quoted.
    • +
    • + Overwriting of read-only properties in tasks other than the + <property> task will now result in a build failure. Previous + versions of NAnt would silently ignore an update of a read-only property.
    • +
    • + The <nunit2> task been + updated to support + NUnit 2.2. Assemblies built using previous versions of NUnit should + either be rebuilt using + NUnit 2.2 or a + binding redirect should be configured in the application configuration + file of the test assembly. +
    • +
    +

    + General changes

    +
      +
    • + Improved error reporting when invalid values are specified for attibutes + representing files or directories.
    • +
    • + This release of NAnt introduces support for expressions. More information is + available here.
    • +
    • + FilterChain support has been + introduced to NAnt.
    • +
    • + Enums that are used in tasks or types now have their own doc pages.
    • +
    • + The default logger will now also output the number non-fatal errors and + warnings.
    • +
    • + Output of the XmlLogger + is now buffered until build has finished, and + XmlLogger can now also be used as a listener.
    • +
    • + Added support for wild + targets.
    • +
    • + Lots of built-in properties have been deprecated, and replaced by functions. + More information is available here.
    • +
    • + NAnt will now report unknown attributes and child elements when initializing + build elements. +
    • +
    +

    + Commandline changes

    +
      +
    • + Added "-e[macs]" option, which can be used to produce logging information + without adornments.
    • +
    • + Added "-ext[ension]" option to allow loading of external assemblies. As a + result, third party loggers or listeners no longer have to reside in the NAnt + bin directory or the GAC in order to be used by NAnt.
    • +
    • + Deprecated -[defaultframewor]k option in favor of -t[argetframework]. +
    • +
    +

    + New Tasks

    +

    + <aximp>

    +
      +
    • + Generates a Windows Forms Control that wraps ActiveX Controls defined in an + OCX. +
    • +
    +

    + <cvs-pass>

    +
      +
    • + Creates or updates an entry in the specified .cvspass file. This should be used + instead of the password attribute. +
    • +
    +

    + <cvs-changelog>

    +
      +
    • + Produces an XML report that represents the cvs changes from the given start + day, to a given end date. +
    • +
    +

    + <cvs-export>

    +
      +
    • + Exports a cvs module in preperation for a release. +
    • +
    +

    + <cvs-tag>

    +
      +
    • + Tags all local sources with the specified tag. +
    • +
    +

    + <ilasm>

    +
      +
    • + Compiles ILASM programs. +
    • +
    +

    + <ildasm>

    +
      +
    • + Disassembles any portable executable (PE) file that contains intermediate + language (IL) code. +
    • +
    +

    + <loadfile>

    +
      +
    • + Loads a text file into a property. +
    • +
    +

    + <tar>

    +
      +
    • + Creates a tar file from the specified filesets. +
    • +
    +

    + Task changes

    +

    + <asminfo>

    +
      +
    • + Use hash implementation to check whether AssemblyInfo needs to be rebuilt. +
    • +
    +

    + <attrib>

    +
      +
    • + Support setting attributes on directories. +
    • +
    +

    + <available>

    +
      +
    • + Deprecated in favor of expression support. +
    • +
    +

    + <cl>

    +
      +
    • + Added support for passing character set to compiler. +
    • +
    +

    + <csc>

    +
      +
    • + Added "rebuild" attribute, which instructs NAnt to recompile the output file + regardless of the file timestamps.
    • +
    • + "nowarn" attribute has been deprecated in favor of the + <nowarn> child element.
    • +
    • + Added support for suppressing/reporting specific warnings as errors using the + <warnaserror> child + element. [.NET 2.0 or higher]
    • +
    • + Added support for package references. [Mono]
    • +
    • + <lib> element is + obsolete, in favor of <lib> + child element on <references> + and <modules> element.
    • +
    • + Added support for /baseaddress compiler option. +
    • +
    +

    + <copy>

    + +

    + <cvs>

    +
      +
    • + Several bugs have been fixed in the <cvs> tasks.
    • +
    • + Documentation updates.
    • +
    • + Added "passfile" attribute. +
    • +
    +

    + <exec>

    +
      +
    • + Fixed internal error when "program" attribute was assigned invalid file name. +
    • +
    • + Added "resultproperty" attribute, which can be set to a + name of a property in which the exit code of the program can be stored. +
    • +
    • + The <arg> element + now supports line and PATH-like command-line arguments. +
    • +
    +

    + <get>

    +
      +
    • + Added support for client certificates (for HTTP requests) by means of the + <certificates> elements. +
    • +
    +

    + <jsc>

    +
      +
    • + Added support for package references. [Mono]
    • +
    • + Added "rebuild" attribute, which instructs NAnt to recompile the output file + regardless of the file timestamps. +
    • +
    +

    + <license>

    +
      +
    • + Uses the lc.exe commandline tool to compile license files whenever + available. +
    • +
    +

    + <link>

    + +

    + <move>

    + +

    + <nant>

    +
      +
    • + Added <fileset> support + for specifiying build files to execute. +
    • +
    +

    + <ndoc>

    +
      +
    • + Upgraded to NDoc 1.3 Release Candidate 1.
    • +
    • + Added support for reference paths. +
    • +
    +

    + <nunit>

    +
      +
    • + The <nunit> task has + been deprecated, and will be moved to NAntContrib + in a future release. NUnit 1.0 test assemblies will remain supported through + NAntContrib, but we strongly advise you to upgrade to NUnit 2.x. +
    • +
    +

    + <nunit2>

    +
      +
    • + Upgraded to support + NUnit 2.2.
    • +
    • + If no explicit application configuration file is specified, a configuration + file matching the name of the test assembly with extension ".config" will be + used for the test domain.
    • +
    • + Minor bug fixes. +
    • +
    +

    + <regex>

    +
      +
    • + Added "options" attribute that takes a comma-separated list of options to pass + to the regex engine. +
    • +
    +

    + <resgen>

    +
      +
    • + Added support for assembly references, in order to be abel to compile .resx + file that reference assemblies that are not located in the GAC. +
    • +
    +

    + <script>

    +
      +
    • + Simplified definition of custom functions with the + <script> task.
    • +
    • + Added support for Visual J# (where available), and third party CodeDOM + providers.
    • +
    • + <script> task is now + supported on Mono.
    • +
    • + Assemblies emitted by the <script> + task will now also be scanned for functions and filters. +
    • +
    +

    + <solution>

    +
      +
    • + Added support for Visual J# projects.
    • +
    • + WebMaps are now case-insensitive (and added attribute to enable + case-sensitivity).
    • +
    • + Added "enablewebdav" attribute to allow WebDAV access for web projects.
    • +
    • + Added a few unit tests to reduce the likelyhood of regressions.
    • +
    • + Fixed some minor issues with regards to Visual C++ support.
    • +
    • + General performance has been improved, except for project with loads of + resources.
    • +
    • + Added support for exclusion of source files for Visual C++ projects.
    • +
    • + No longer stop loading projects, when the first excluded project is encountered + (bug #982685).
    • +
    • + No longer automatically use Primary Interop Assemblies for references to type + libraries, but output warning instead.
    • +
    • + Added support for satellite assemblies.
    • +
    • + Respect project build order set in VS.NET.
    • +
    • + VB.NET specific settings are now processed.
    • +
    • + Improved support for precompiled headers, better grouping of files that should + be compiled in one go.
    • +
    • + Added support for empty projects.
    • +
    • + No longer attempt to build ignored projects.
    • +
    • + Match behaviour of VS.NET when resolving assembly references.
    • +
    • + Fixed lookup of type libraries in the registry.
    • +
    • + Expansion of macros is now case-insensitive.
    • +
    • + Zero-byte resx files are now skipped to match VS.NET.
    • +
    • + Introduced support for nmake projects.
    • +
    • + Added support for web projects nested in Enterprise Template Projects.
    • +
    • + Compiled resource file are now stored in the obj\<configuration> + directory relative to project directory. The compiled resource files will not + be removed when the task finishes, by doing this resource files will now only + be recompiled if the compiled resource file in the object directory is no + longer up-to-date. This matches the behaviour of VS.NET.
    • +
    • + Added support for deploying App.config to output directory. +
    • +
    +

    + <sysinfo>

    +
      +
    • + If "failonerror" is false, the + <sysinfo> task will output a warning message in the build log + when a certain environment variable cannot be exposed as a property (because + of, for example, more strict naming rules for properties) and continue + processing other environment variables. In previous versions of NAnt, execution + of the <sysinfo> task + would halt on the first error.
    • +
    +

    + <vbc>

    +
      +
    • + Added support for suppressing specific warnings using the + <nowarn> child element. [.NET 2.0 or higher]
    • +
    • + Added support for suppressing/reporting specific warnings as errors using the + <warnaserror> child + element. [.NET 2.0 or higher]
    • +
    • + Added support for generating XML documentation files, using "doc" attribute. + [.NET 2.0 or higher]
    • +
    • + Added support for package references. [Mono]
    • +
    • + Added "rebuild" attribute, which instructs NAnt to recompile the output file + regardless of the file timestamps.
    • +
    • + Added <imports> child + element, and deprecated "imports" attribute.
    • +
    • + <lib> element is + obsolete, in favor of <lib> + child element on <references> + and <modules> element. +
    • +
    +

    + <vjc>

    +
      +
    • + Added support for suppressing specific warnings using the + <nowarn> child element. [.NET 2.0 or higher]
    • +
    • + <lib> element is + obsolete, in favor of <lib> + child element on <references> + and <modules> element.
    • +
    • + Added "rebuild" attribute, which instructs NAnt to recompile the output file + regardless of the file timestamps.
    • +
    • + Added support for /baseaddress compiler option. +
    • +
    +

    + <xmlpeek> / + <xmlpoke>

    +
      +
    • + Added support for XPath expressions with namespace prefixes. +
    • +
    +

    + <zip> / + <unzip>

    +
      +
    • + Added support for multiple filesets.
    • +
    • + A top level directory prefix can be set on individual filesets.
    • +
    • + Upgraded #ziplib + to v0.83. +
    • +
    +

    + New types

    +

    + <assemblyfileset>

    +
      +
    • + Specialized <fileset> for + managing assembly files. +
    • +
    +

    + <warnaserror>

    +
      +
    • + Controls the behaviour of a compiler with regards to the reporting of warnings. +
    • +
    +

    + Type changes

    +

    + <fileset>

    + +

    + Developer information

    +
      +
    • + The Task.LogPrefix property has been deprecated. Messages that are + written to build log by a given task, will now automatically get prefixed with + the task name. This behaviour can be disabled by the new -e[macs] commandline + option. +
    • +
    +

    + 0.84 (December 26, 2003)

    +

    + Task changes

    +

    + <xmlpeek>

    +
      +
    • + Fixed issues with logging statements.
    • +
    • + Added unit tests. +
    • +
    +

    + <xmlpoke>

    +
      +
    • + Added unit tests. +
    • +
    +

    + 0.84-rc 2 (December 21, 2003)

    +

    + General changes

    +
      +
    • + Specifying multiple targets on the command line will no longer cause all + dependencies of these targets to be executed again.
    • +
    • + The XmlLogger + will now correctly handle null-characters in the build output.
    • +
    • + Fixed issue with resources specified using the <resources> element + of the compiler tasks. +
    • +
    +

    + Task changes

    +

    + <solution>

    +
      +
    • + Fixed issues with web-projects.
    • +
    • + Added support for generating strongly signed ActiveX/COM wrapper assemblies. +
    • +
    +

    + <xmlpeek>

    +
      +
    • + filename attribute was renamed to file to improve + consistency with other tasks. +
    • +
    +

    + <xmlpoke>

    +
      +
    • + filename attribute was renamed to file to improve + consistency with other tasks. +
    • +
    +

    + 0.84-rc 1 (December 6, 2003)

    +

    + Breaking changes

    +

    + Some existing build scripts may stop working now or in the next release due to + the following changes:

    +
      +
    • + The NAntContrib binaries are no longer included in the NAnt distribution + package. The NAntContrib distribution package can now be obtained + here.
    • +
    • + The <call> task now executes the given target and all its + dependencies. In previous versions of NAnt only the target itself would be + executed.
    • +
    • + The todir attribute of the <copy> and <move> + tasks no longer defaults to the project base directory. It must now be set + explicitly.
    • +
    • + The force attribute of the <call> task has been + deprecated and has no longer any effect. The <call> task + will now always execute the specified target, regardless of the fact that this + target has already been executed before.
    • +
    • + The string-based files and attachments attributes of + the <mail> task have been replaced by fileset support.
    • +
    • + In previous versions of NAnt, the documentation stated that a target identified + by the nant.onfailure property would be executed when the build + fails. However, NAnt actually executed a target identified by the nant.failure + property (if available). This has now been corrected and the old syntax (nant.failure) + is now deprecated.
    • +
    • + The <param> element of the <style> task + has been deprecated in favor of a <parameters> collection + with nested <parameter> elements. The <parameter> + element now also supports a namespaceuri, if and unless + attribute. See the documentation of the <style> task for + more information.
    • +
    • + In previous versions of NAnt, the Plain formatter was implicitly + added in the <nunit2> task. In NAnt 0.8.4, the Plain + formatter will only implicitly be added if no other formatters are specified. + In this case, a warning message will be output to the build log encouraging + build authors to explicitly add this formatter for forward compatibility. In + future versions of NAnt, the Plain formatter will no longer + implicitly be added.
    • +
    • + The nested <param> child element of the <style> + task has been deprecated in favor of a nested <parameters> collection. +
    • +
    +

    + General changes

    +
      +
    • + The user documentation has been overhauled. Nested elements are more clearly + documented, documentation has been added for element types such as filesets and + credentials, and the overall format is slightly cleaner and easier to use.
    • +
    • + Improved bootstrapping NAnt on linux. Now supports Mono 0.28.
    • +
    • + Localization support has been improved in the <csc>, <jsc>, + <vbc> and <vjc> tasks: when dynamixprefix + is set to "true" and prefix is set to the root namespace of the assembly for + the nested <resources> element, the compiler tasks will now + compile resources with IDs matching these generated by VS.NET. Support for the + generation of satellite assemblies was also added to these tasks.
    • +
    • + On systems with both the .NET Framework 1.0 and .NET Framework 1.1 installed, + NAnt will now execute on the .NET Framework 1.1 by default. Note, the default + target framework has remained unchanged, and is still .NET Framework 1.0. +
    • +
    +

    + New Tasks

    +

    + <asminfo>

    +
      +
    • + Moved from NAntContrib to + NAnt, and was rewritten to support multiple code languages and attribute types. +
    • +
    +

    + <servicecontroller>

    +
      +
    • + Allows a Windows service to be controlled (started, stopped, ...). +
    • +
    +

    + <delay-sign>

    +
      +
    • + Supports delay-signing of strongly named assemblies. +
    • +
    +

    + <mc>,<rc> and <midl>

    +
      +
    • + Moved from NAntContrib to + NAnt. These tasks control compilation of service messages, resources, and IDL + code respectively. +
    • +
    +

    + <xmlpeek>

    +
      +
    • + Extracts text from an XML file at the location specified by an XPath + expression. +
    • +
    +

    + <xmlpoke>

    +
      +
    • + Replaces text in an XML file at the location specified by an XPath expression. +
    • +
    +

    + Task changes

    +

    + <call>

    +
      +
    • + The <call> task now executes the given target and all its + dependencies. In previous versions of NAnt only the target itself would be + executed.
    • +
    • + The force attribute of the <call> task has been + deprecated and has no longer any effect. The <call> task + will now always execute the specified target, regardless of the fact that this + target has already been executed before. +
    • +
    +

    + <cl>

    +
      +
    • + Added support for Managed Extensions. +
    • +
    +

    + <copy>

    +
      +
    • + The todir attribute no longer defaults to the project base + directory. It must now be set explicitly.
    • +
    • + Added flatten attribute to allow all matching files to be + copied to a single directory. +
    • +
    +

    + <csc>

    +
      +
    • + Improved localization support.
    • +
    • + Added support for additional search directories to resolve assembly references + through a nested <lib> element. +
    • +
    +

    + <cvs-checkout>

    +
      +
    • + Added option to checkout a revision based on sticky tag, -r on the command line + client.
    • +
    • + Added option to checkout a module to an alternate directory, -d on the command + line client.
    • +
    • + Fixed bug in parsing cvsnt date format. +
    • +
    +

    + <cvs-update>

    +
      +
    • + Fixed bug in parsing cvsnt date format. +
    • +
    +

    + <echo>

    +
      +
    • + Added level attribute to allow messages to be output with a + specific level. +
    • +
    +

    + <fail>

    +
      +
    • + Allow reason of failure to be specified as inline content. +
    • +
    +

    + <get>

    +
      +
    • + The httpproxy attribute of the <get> task is + deprecated, use the new <proxy> child element instead.
    • +
    • + Added <credentials> child element used for authenticating + the request with the Internet resource.
    • +
    • + Deprecated the ignoreerrors attribute in favor of the failonerror + attribute.
    • +
    • + Added timeout attribute to allow length of time to wait for a + response or the request to timeout to be specified. +
    • +
    +

    + <if>

    +
      +
    • + Added <uptodatefiles child element for uptodate fileset + support.
    • +
    • + <if uptodatefile="..."> now behaves as documented, meaning + that nested tasks will only be executed if the file specifies in the + uptodatefile attribute actually exists and the file specified in the uptodatefile + attribute is more recent or the same lastwritetime than the file(s) specifies + in the comparefile attribute and <comparefiles> + fileset. +
    • +
    +

    + <include>

    +
      +
    • + A verbose message will now be output to the build log when a file is included + multiple times. In previous versions of NAnt, this would cause a build failure. +
    • +
    +

    + <jsc>

    +
      +
    • + Improved localization support.
    • +
    • + Added support for additional search directories to resolve assembly references + through a nested <lib> element. +
    • +
    +

    + <mail>

    +
      +
    • + The string-based files and attachments attributes + have been replaced by fileset support.
    • +
    +

    + <move>

    +
      +
    • + The todir attribute no longer defaults to the project base + directory. It must now be set explicitly.
    • +
    • + Added flatten attribute to allow all matching files to + be moved to a single directory. +
    • +
    +

    + <nant>

    +
      +
    • + Properties can now be added or overridden when calling a nested build using the + new <properties> child element.
    • +
    • + buildfile is now a required attribute, which makes it harder to + accidently write an infinitely looping build. +
    • +
    +

    + <nantschema>

    +
      +
    • + Currently the <nantschema> task does not generate the + correct XML Schema definition for collections and arrays. This tasks needs to + be updated. Please use with caution. +
    • +
    +

    + <ndoc>

    +
      +
    • + Updated the <ndoc> task to using version 1.2 of NDoc. +
    • +
    +

    + <nunit2>

    +
      +
    • + Updated the <nunit2> task to use version 2.1 of NUnit.
    • +
    • + In previous versions of NAnt, the Plain formatter was implicitly + added. In NAnt 0.8.4, the Plain formatter will only implicitly be + added if no other formatters are specified. In this case, a warning message + will be output to the build log encouraging build authors to explicitly add + this formatter for forward compatibility. In future versions of NAnt, the Plain + formatter will no longer implicitly be added.
    • +
    • + Added outputdir attribute for <formatter> element + to control the directory where the test result file will be stored (if the usefile + attribute is "true"). +
    • +
    +

    + <property>

    +
      +
    • + Added overwrite attribute to the <property> task + to control whether the value of the specified property should be overwritten + when the property already exists.
    • +
    • + Added support for dynamic properties, meaning properties of which references to + other properties are not expanded when the value is set. +
    • +
    +

    + <resgen>

    +
      +
    • + Added support for specifying a prefix to <resgen> task when + using a fileset. +
    • +
    +

    + <solution>

    +
      +
    • + Added nested <assemblyfolders> fileset element that allows a + set of folders to be set, that should be searched to resolve assembly + references.
    • +
    • + By default, the Visual Studio.NET assembly folders will be searched to resolve + assembly references. An includevsfolders attribute was added to + control whether these folders should be searched for assembly references.
    • +
    • + Added <excludeprojects> fileset that allows a set of + projects to be excluded.
    • +
    • + An outputdir attribute can now be specified, which overrides the + directory where compiled targets will be placed.
    • +
    • + A nested <webmap> element was added that maps URL's of web + projects to local path, thereby removing the need to configure the web server + to allow access to these project files.
    • +
    • + Added support for Visual C++ projects.
    • +
    • + A large number of defect fixes and performance improvements have been applied. +
    • +
    +

    + <style>

    +
      +
    • + The nested <param> child element has been deprecated in + favor of a nested <parameters> collection. +
    • +
    +

    + <touch>

    +
      +
    • + If the file specified in the single-file case does not exist, it will now be + created. +
    • +
    +

    + <vbc>

    +
      +
    • + Improved localization support.
    • +
    • + Added support for additional search directories to resolve assembly references + through a nested <lib> element. +
    • +
    +

    + <vjc>

    +
      +
    • + Improved localization support.
    • +
    • + Added support for additional search directories to resolve assembly references + through a nested <lib> element. +
    • +
    +

    + <zip>

    +
      +
    • + Fixed issue when files were included that were not located beneath the basedir + of the fileset. +
    • +
    • + Added includeemptydirs attribute to control whether empty + directories should be included in the generated zip file. +
    • +
    • + Fixed failure when no basedir for fileset was specified. +
    • +
    • + Fixed failure when basedir of fileset is set to the root directory + of a drive in Windows. +
    • +
    +

    + API changes

    +
      +
    • + Added ProgramLocationAttribute that can be assigned to a task to + indicate that it wraps an executable that is part of either the .NET Framework + or the .NET Framework SDK, and have NAnt figure out the full path to the + executable using the framework settings in the NAnt configuration file. +
    • +
    • + FileSetAttribute has been deprecated. The BuildElementAttribute + should be used instead. +
    • +
    • + Added FrameworkConfigurableAttribute that can be assigned to a + task attribute to allow the default values of that attribute to be configured + from the framework configuration section in the NAnt configuration file for the + currently active framework. +
    • +
    • + Added <proxy> and <credentials> data + types that are used to provide proxy settings and authentication information + for tasks that connect to external resources (eg. the <get> task). +
    • +
    • + Added support for framework-specific third party libraries.
    • +
    • + Updated log4net to version 1.2.0 + beta 8. +
    • +
    +

    + 0.8.3 (September 28, 2003)

    +

    + User-visible changes

    +
      +
    • + Included NAntContrib binaries are from a release build. In rc3 they were debug + versions. +
    • +
    +

    + 0.8.3-rc3 (August 29, 2003)

    +

    + User-visible changes

    +
      +
    • + Added test directory to distribution fixing the build failure in 0.8.3. +
    • +
    +

    + 0.8.3-rc2 (July 28, 2003)

    +

    + User-visible changes

    +
      +
    • + Built with .NET 1.0. +
      + This release candidate is built with version 1.0 of the .NET Framework. The + binaries for RC1 had been built with version 1.1, which had backwards + compatibility issues. +
      +
    • +
    • + Fixed defect: temp directory leak in <solution> task. +
      + Matthew Mastracci fixed a major temp directory leak. It was leaking approx. one + temp directory per project! You should clear your Local Settings\Temp directory + for the user you use to build your solutions. +
      +
    • +
    • + <solution> VB.NET support. +
      + The <solution> task now supports VB.NET projects. This was meant to be + part of the RC1 release. +
      +
    • +
    • + Matthew Mastracci has also checked in support for reading resources of VB + projects and generating the appropriate dependent resource name. +
    • +
    • + Documentation for NAntContrib. +
      + This release candidate includes the binaries and documentation for the + NAntContrib extensions. Note that the source is still distributed seperately + during this release cycle. +
      +
    • +
    +

    + 0.8.3-rc1 (July 10, 2003)

    +

    + User-visible changes

    +
      +
    • + NAntContrib is now distributed with NAnt. +
      + To better support the frequently-used NAntContrib extensions, the library is + now distributed as part of the NAnt release. +
      +
    • +
    • + Preliminary Linux support. +
      + This is the first release with Linux support, so please report any issues you + encounter. The next release will be fully tested and documented on both Linux + and Windows. +
      +
    • +
    • + New Tasks. +
        +
      • + <cvs-checkout> task : Checkout source from CVS.
      • +
      • + <cvs-update:> task : Update source from CVS.
      • +
      • + <solution> task : compile .sln directly. In most cases, this means you no + longer have to preprocess a solution with the slingshot tool. Supports both + Visual Studio .NET and Visual Studio 2003. +
      • +
      +
    • +
    • + Changed tasks. +
      + See the section below for details. +
      +
    • +
    • + FileSet references. +
      + You can now define a named FileSet and refer to it anywhere a FileSet is used. +
      +
    • +
    +

    + API changes

    +
      +
    • + Namespace changes +
        +
      • + "SourceForge" is no longer part of the NAnt namespaces.
      • +
      • + Split classes up into Tasks and Types.
      • +
      • + Task assemblies now have their own namespaces.
      • +
      • + Removed Msft prefix from base classes. +
      • +
      +
    • +
    • + Logging framework changed +
        +
      • + Refactored NAnt (build) logging system : moved to an event driven logging + system, and allow thresholds to be set. The build outcome is now completely + handled by the loggers.
      • +
      • + Replaced the LogListener with an IBuildLogger interface for loggers and an + IBuildListener interface for build listeners.
      • +
      • + The ConsoleLogger is replaced by a DefaultLogger, which always logs to the + console, and which can also be configured to log to a file (using the -logfile + option).
      • +
      • + The static Log class is removed and replaced by instance methods on the Project + and Task classes. These instance methods actually fire events that get handled + by the build logger and buid listeners.
      • +
      • + Added a Level enum that is used to assign a priority (level) to a message. This + allows messages to be filtered on their priority.
      • +
      • + Added a strongly typed collection for the build listeners.
      • +
      • + Updated all existing logging statements to use the new logging system instead + of the static Log class. Assigned levels to the existing logging statements.
      • +
      • + Added MailLogger that can be used to send the build results as an email, see + xml docs for how its to be configured. +
      • +
      +
    • +
    • + Many, many style/structure/documentation fixes. More that are worth listing + here.
    • +
    • + Fixed NUnit2 support for FileSets.
    • +
    • + Prevent warnings for using obsolete methods to allow NDoc Documenter.Nant to + build on .NET 1.1 runtime.
    • +
    • + Nightly.xml no longer depends on NAntContrib tasks.
    • +
    • + Moved <mail> task and test back into core as its working fine on Linux + now.
    • +
    • + New attribute-driven command-line parser. +
    • +
    +

    + Command-line client changes

    +
      +
    • + Changed target back to the default argument.
    • +
    • + Moved company information (http://nant.sourceforge.net) from help text to logo + banner.
    • +
    • + Added support for running default.build if there are multiple build files in a + directory.
    • +
    • + Added support for collection-based command-line options, with the following + restrictions : +
        +
      • + property type should implement ICollection
      • +
      • + collection should have an Add method with one parameter
      • +
      • + parameter of the Add method should be strongly-typed
      • +
      • + collection should have a default public constructor
      • +
      • + the property should have a setter if the collection is not initialized (null + reference) +
      • +
      +
    • +
    • + Fixed "bug" where ApplicationException would no longer be throw when no + matching buildfile is found after searching the directory tree upwards.
    • +
    • + Updated short form of buildfile to -f.
    • +
    • + Added -q shortname for -quiet command-line option.
    • +
    • + Changed description of -indent command-line option.
    • +
    • + Added command-line option for adding build listeners.
    • +
    • + Updated xml documentation.
    • +
    • + Added command-line options for filtering build output (-debug and -quiet).
    • +
    • + Jarek's patch to allow setting of the default framework from the command line, + fixes bug 729778.
    • +
    • + Always use identifier mono-1.0 for Mono framework, no use in always creating + new framework configurations for every Mono release. +
    • +
    +

    + Task changes

    +

    + <exec>

    +
      +
    • + Added support for an environment optionset to the <exec> task.
    • +
    • + Fixed optionset so that it correctly returns optionvalues.
    • +
    • + Remove Timeout from ExecTask, make Timeout in ExternalProgramBase a task + attribute and make it writable.
    • +
    • + Throw BuildException if process has not exited after timeout. +
    • +
    +

    + <vjc>

    +
      +
    • + Added attribute for setting the warninglevel (0-4).
    • +
    • + Added attribute for specifiying list of warnings that should be suppressed by + the compiler. +
    • +
    +

    + <jsc>

    +
      +
    • + Added support for codepage compiler flag.
    • +
    • + Added attribute for setting the warninglevel (0-4).
    • +
    +

    + <csc>

    +
      +
    • + Added support for codepage compiler flag.
    • +
    • + Renamed optionoptimize attribute to optimize.
    • +
    • + Added attribute for setting the warninglevel (0-4).
    • +
    • + Added attribute for specifiying list of warnings that should be suppressed by + the compiler.
    • +
    • + Patch from Justin Santa Barbara to add optimize flag to csc.
    • +
    • + Fixed csc example. +
    • +
    +

    + <nantschema>

    +
      +
    • + Added makefile for building on Linux. Also a new bin directory for Linux + specific binaries. +
    • +
    +

    + <mcs>

    +
      +
    • + Removed <mcs> task. the <csc> task in combination with the + framework support should be used instead. +
    • +
    +

    + <nant>

    +
      +
    • + Fixed problem with basedir in nested <nant> build being incorrect if + basedir="." is used.
    • +
    • + Have new project inherit the default framework from the current project.
    • +
    +

    + <copy>

    +
      +
    • + Fix for <copy> task breakage on Linux.
    • +
    • + Reenabled File.SetAttributes on Mono build as bug #41999 has been fixed.
    • +
    +

    + <if>

    +
      +
    • + Fixed logging bug with parenthesis instead of brace. Caused <if + uptodate...> to fail erroneously. +
    • +
    +

    + <cl> and <link>

    +
      +
    • + On demand compile support for <link> and <cl> tasks.
    • +
    • + Added unit tests for the <cl> and <link> tasks.
    • +
    • + Moved Visual C++ related tasks into Win32Assemblies so it doesn't get built in + a Mono/Linux build. +
    • +
    +

    + <fileset>

    +
      +
    • + Added support for FileSet references. Framework for making all types + referencable but only implemented for FileSets right now. +
    • +
    +

    + <mail>

    +
      +
    • + Reenabled usage of StringWriter constructor with CultureInfo as this bug in + Mono is fixed.
    • +
    • + No longer have empty strings as default.
    • +
    • + Bcc and cc are no longer set to an empty string when not specified in + buildfile, thereby preventing problems with Mono bug #45746. +
    • +
    +

    + 0.8.2 (April 24, 2003)

    +
      +
    • + Misc bugfixes. +
    • +
    +

    + 0.8.2-rc3 (April 17, 2003)

    +
      +
    • + <if> task changes to support the uptodate test.
    • +
    • + Changes for task item element initialization.
    • +
    • + Read output of <exec>'d (and other external program) processes and insert + into logfile.
    • +
    • + Fixed logging for <regex> task.
    • +
    • + Made NAnt errors less chatty.
    • +
    • + NAnt now works without Framework SDK installed.
    • +
    • + Fixed bugs in <Copy> and <Move> tasks which caused exceptions when + using todir and a FileSet, in certain cases.
    • +
    • + New <unzip> task.
    • +
    • + New <loadtasks> task which replaces the functionality of taskdef (from + NAntContrib).
    • +
    • + <foreach> supports <in><items> FileSet to work on files. +
    • +
    +

    + 0.8.2-rc2 (April 12, 2003)

    +
      +
    • + Fix for <nunit2> task using FileSet.
    • +
    • + Fix for FileSet's <includeList> element. +
    • +
    +

    + 0.8.2-rc1 (April 12, 2003)

    +
      +
    • + Logging cleanups: use log4net for internal logging.
    • +
    • + FxCop cleanups for correctness.
    • +
    • + Support for multiple versions of .NET framework.
    • +
    • + Changes to make NAnt more Mono-friendly.
    • +
    • + Updated SharpZipLib library.
    • +
    • + Makes error reporting more accurate - give line numbers for property expansion + errors.
    • +
    • + Multiple test assembly support for <nunit2> task.
    • +
    • + General speed-up for directory/file scanning.
    • +
    • + <resgen> task file generation correctness fixes.
    • +
    • + Added support multiple delimiters and string trimming to LoopTask's file line + mode.
    • +
    • + More support for csc/vbc command-line options. +
    • +
    +

    + 0.8.1 (February 21, 2003)

    +
      +
    • + Added more command-line options (-f: to specify a buildfile).
    • +
    • + Added case sensitivity checks.
    • +
    • + Added <vjc> task.
    • +
    • + Fixed NUnit2 support.
    • +
    • + Misc bugfixes and cleanups from contributors. +
    • +
    +

    + 0.7.9 (June 11, 2002)

    +
      +
    • + If more than one build file matches the criteria, e.g. two files ending in + .build than NAnt will report an error.
    • +
    • + Added -find option, causes NAnt to search up the directory tree looking for the + buildfile. Use in conjunction with -buildfile:foo.* to find the first foo.* + file up the directory tree.
    • +
    • + Added -projecthelp option, callable targets should now include a description + attribute to describe briefly what they do.
    • +
    • + CompilerBase tasks now check for changed resources and recompiles if out of + date.
    • +
    • + Compiler tasks reportq what caused the rebuild when verbose is on, try 'NAnt + -verbose'.
    • +
    • + Improved Log class.
    • +
    • + Added PlainText NUnit formatter, see NAnt's build file for an example.
    • +
    • + nant.onsuccess and nant.onfailure properties can now name a target to get + executed at the end of a build.
    • +
    • + FileSets now have an absolute element. Items inside an absolute element will + always be included in the file set. This is useful for references that are in + the system path. See the HelloWindowsForms build file for an example.
    • +
    • + -set option changed to -D to be more like Ant.
    • +
    • + Unknown command line arguments cause program help to be displayed.
    • +
    • + FileSets now support absolute paths and parent directories.
    • +
    • + *Tasks.dll assemblies that are in the same folder as NAnt are automatically + loaded and scanned for tasks.
    • +
    • + User manual available.
    • +
    • + Help for tasks is auto-generated.
    • +
    • + <attrib> task added.
    • +
    • + <gac> task added and moved to NAntContrib project.
    • +
    • + <sysinfo> task added.
    • +
    • + Added failonerror, verbose, if and unless attributes to all tasks.
    • +
    • + DESIGN DECISION: all elements and attributes will be lowercase
    • +
    • + Major reworking of FileSet class (removed absolutes element, added asis + attribute).
    • +
    • + Tasks/Targets/FileSet includes/excludes now have if/unless attributes.
    • +
    • + New Unit Tests added. +
        +
      • + CallTest.cs
      • +
      • + DeleteTest.cs
      • +
      • + EchoTest.cs
      • +
      • + FailTest.cs
      • +
      • + MkdirTest.cs
      • +
      • + MoveTest.cs
      • +
      • + PropertyTest.cs +
      • +
      +
    • +
    • + New Properties added during project initilization. +
        +
      • + nant.location points to nant.exe directory
      • +
      • + nant.tasks.[TaskName].location points to [TaskName] host assembly +
      • +
      +
    • +
    • + <nant> task now inherits properties to new project.
    • +
    • + Tasks moved to NAntContrib Project +
        +
      • + GacTask.cs
      • +
      • + RcTask.cs
      • +
      • + ResGenTask.cs
      • +
      • + TlbExpTask.cs
      • +
      • + TlbImpTask.cs
      • +
      • + TypedCollectionTask.cs
      • +
      • + Vb6Task.cs +
      • +
      +
    • +
    • + NUnit XML format updated.
    • +
    • + Many, many, many bugs fixed.
    • +
    +

    + 0.7.749 (January 19, 2002)

    +
      +
    • + <docnet> task added, try 'NAnt doc' to build NAnt's documentation.
    • +
    • + NUnitCore.dll added to project.
    • +
    • + Fixed FileSet basedir attributes, they now expand macros.
    • +
    • + <script> task and example added - thanks to Sergey Chaban.
    • +
    • + Build file now extracts version number from AssemblyInfo.cs - thanks to Sergey + Chaban.
    • +
    • + CompilerBase now adds quotations to all referenced files - thanks to Mike + Krueger.
    • +
    • + BuildException is now serializable.
    • +
    • + ExternalProgramBase reports differentiates between Process exceptions and + program return codes now.
    • +
    • + Unit tests are now run as part of the buid process.
    • +
    • + <touch> task added - thanks to Jay Turpin.
    • +
    • + NUnit overhaul. +
        +
      • + camelCase'ed attributes, haltOnFailure, haltOnError
      • +
      • + renamed printsummary to verbose
      • +
      • + replaced SummaryResultFormatter with improved SummaryFormatter
      • +
      • + added VerboseFormatter +
      • +
      +
    • +
    • + <get> task added - thanks to Jay Turpin
    • +
    • + <docnet> task renamed to <ndoc>.
    • +
    • + NDoc.Core.dll and NDoc.Documenter.Msdn.dll added to project.
    • +
    • + NAnt.exe split into NAnt.exe and NAnt.Core.dll.
    • +
    • + <al> task added - thanks to Joe Jones.
    • +
    • + <resgen> task added - thanks to Joe Jones.
    • +
    • + <zip> task added - thanks to Mike Krueger.
    • +
    • + <cl> task added - thanks to Shawn Van Ness.
    • +
    • + Added support for .NET v1.0.3705 (RTM). +
    • +
    +

    + 0.6.0 (September 18, 2001)

    +
      +
    • + Report build file xml errors in a useful way.
    • +
    • + Report error location when tasks are missing required attributes.
    • +
    • + <copy> task updated - thanks to Ian MacLean.
    • +
    • + **/*.cs type pattern matching now available in FileSets via DirectoryScanner + class.
    • +
    • + Added all the environment variables to + properites,ie,<echomessage="path=${nant.env.PATH}"/>.
    • +
    • + <move> task updated - thanks to Ian MacLean.
    • +
    • + <sleep> task added - thanks to Ian MacLean.
    • +
    • + DirectoryScanner and FileSet's scan for files AND directories now
    • +
    • + FileSet's cache scan results, use Scan() to rescan.
    • +
    • + FileSet's auto initialize to their containing task, this helps clean up the + code.
    • +
    • + <copy> task can now copy full directory trees.
    • +
    • + Added verbose attribute to <copy> task, default off, message gives number + of files processed.
    • +
    • + Fixed bug with any ExternalBase tasks hanging - thanks to Sergey Chaban for + reporting.
    • +
    • + <include> task added.
    • +
    • + <call> task added.
    • +
    • + -verbose command line option added.
    • +
    • + Build file can now build complete distribution, try 'NAnt dist'. +
    • +
    +

    + 0.5.0 (August 22, 2001)

    +
      +
    • + Complete overhaul of the web site and doc folder (all html files).
    • +
    • + Made src a parent folder to be able to hold multiple assemblies in anticipation + of the NAnt.Tests.dll assembly.
    • +
    • + License changed to GNU General Public License.
    • +
    • + Source code placed under CVS.
    • +
    • + Tasks can now have attributes in base classes, see CompilerBase as an example - + thanks to Mike Krueger.
    • +
    • + Coding conventions posted on SourceForge in the document manager.
    • +
    • + Task manager in SourceForge is now being used to track currently active tasks.
    • +
    • + Namespace changed to SourceForge.NAnt.
    • +
    • + Added basic command line parsing.
    • +
    • + Added version resource.
    • +
    • + Support for multiple build targets (try 'NAnt clean test').
    • +
    • + BuildException added to report text position in the build file where errors + occur - thanks to Ian MacLean.
    • +
    • + <style> task (xslt processing) added - thanks to Serge.
    • +
    • + Executable is now signed with the NAnt.key.
    • +
    • + Converted all public/protected fields to properties.
    • +
    • + Added support for user defined properties.
    • +
    • + Added -set option (try 'NAnt -set:debug=true clean build').
    • +
    • + Changed verions number to 0.5 to reflect the number of changes in the code + base. +
    • +
    +

    + 0.1.5 (July 22, 2001)

    +
      +
    • + Only compiles program if source file last write time > output last write + time.
    • +
    • + Refactored compiler code into common CompilerBase class.
    • +
    • + Refactored compiler and exec task into common ExternalProgramBase class.
    • +
    • + Added <arg value="/win32res:filename"/> element to all external program + tasks.
    • +
    • + Added Int32ValidatorAttribute and BooleanValidatorAttribute classes to perform + error checking on task attributes after macro expansion but before task + execution. Search for BooleanValidator or Int32Validator in tasks for examples.
    • +
    • + Changed Task attribute names to TaskAttributeAttribute and FileSetAttribute.
    • +
    • + Removed default value for task attributes (set with initial value).
    • +
    • + Changes to Project class on how to initialize a project and run it.
    • +
    • + Right aligned task prefixes to clean up output.
    • +
    • + Added or enhanced these tasks +
        +
      • + vbc, jsc, csc
      • +
      • + move
      • +
      • + nant
      • +
      • + tstamp
      • +
      • + exec (failonerror attribute) +
      • +
      +
    • +
    +

    + 0.1.4 (July 19, 2001)

    +
      +
    • + Added or enhanced these tasks +
        +
      • + echo
      • +
      • + fail
      • +
      • + property
      • +
      • + copy (respects basedir)
      • +
      • + delete (respects basedir)
      • +
      • + mkdir (respects basedir)
      • +
      • + exec +
      • +
      +
    • +
    +

    + 0.1.3 (July 18, 2001)

    +
      +
    • + Dependencies working via depends attribute on targets.
    • +
    • + Changed name from NBuild to NAnt.
    • +
    • + Using the name "Parameter" to refer to the xml attributes in tasks because it + was conflicting badly with .NET Attributes.
    • +
    • + Added FileSetParameterAttribute so that FileSet parameters would autoinit.
    • +
    • + Renamed TaskAttributeAttribute to StringParameterAttribute.
    • +
    • + Broke into seperate source files (one per class).
    • +
    • + Changed default build file from Project.xml to the first file with a .build + extension. +
    • +
    +

    + 0.1.2 (July 16, 2001)

    +
      +
    • + Basic functionality to have NAnt build itself (<csc> task). +
    • +
    +

    + 0.1.1 (July 5, 2001)

    +
      +
    • + Initial test version. +
    • +
    + + diff --git a/build-support/tools/nant/doc/sdk/NAnt-SDK.chm b/build-support/tools/nant/doc/sdk/NAnt-SDK.chm index ee72e831..41ad3921 100644 Binary files a/build-support/tools/nant/doc/sdk/NAnt-SDK.chm and b/build-support/tools/nant/doc/sdk/NAnt-SDK.chm differ diff --git a/build-support/tools/nant/examples/Filters/ReplaceCharacter/ReplaceCharacter.cs b/build-support/tools/nant/examples/Filters/ReplaceCharacter/ReplaceCharacter.cs index 7862c52d..25b5cc3f 100644 --- a/build-support/tools/nant/examples/Filters/ReplaceCharacter/ReplaceCharacter.cs +++ b/build-support/tools/nant/examples/Filters/ReplaceCharacter/ReplaceCharacter.cs @@ -1,115 +1,115 @@ -using System; -using System.IO; -using System.Globalization; - -using NAnt.Core.Attributes; -using NAnt.Core.Filters; - -namespace NAnt.Examples.Filters { - /// - /// Replaces a specific character in a file. - /// - /// - /// Replaces the character specified by with the - /// character specified by . - /// - /// - /// Replace all "@" characters with "~". - /// - /// - /// ]]> - /// - /// - [ElementName("replacecharacter")] - public class ReplaceCharacter : Filter { - /// - /// Delegate for Read and Peek. Allows the same implementation - /// to be used for both methods. - /// - delegate int AcquireCharDelegate(); - - #region Private Instance Fields - - private char _from; - private char _to; - - //Methods used for Read and Peek - private AcquireCharDelegate ReadChar = null; - private AcquireCharDelegate PeekChar = null; - - #endregion Private Instance Fields - - #region Public Instance Properties - - /// - /// The character to replace. - /// - [TaskAttribute("from", Required=true)] - public char From { - get { return _from; } - set { _from = value; } - } - - /// - /// The character to replace with. - /// - [TaskAttribute("to", Required=true)] - public char To { - get { return _to; } - set { _to = value; } - } - - #endregion Public Instance Properties - - #region Public Instance Methods - - /// - /// Construct that allows this filter to be chained to the one - /// in the parameter chainedReader. - /// - /// Filter that the filter will be chained to - public override void Chain(ChainableReader chainedReader) { - base.Chain(chainedReader); - ReadChar = new AcquireCharDelegate(base.Read); - PeekChar = new AcquireCharDelegate(base.Peek); - } - - /// - /// Reads the next character applying the filter logic. - /// - /// Char as an int or -1 if at the end of the stream - public override int Read() { - return GetNextCharacter(ReadChar); - } - - /// - /// Reads the next character applying the filter logic without - /// advancing the current position in the stream. - /// - /// Char as an int or -1 if at the end of the stream - public override int Peek() { - return GetNextCharacter(PeekChar); - } - - #endregion Public Instance Methods - - #region Private Instance Methods - - /// - /// Returns the next character in the stream replacing the specified character. Using the - /// allows for the same implementation for Read and Peek - /// - /// Delegate to acquire the next character. (Read/Peek) - /// Char as an int or -1 if at the end of the stream - private int GetNextCharacter(AcquireCharDelegate AcquireChar) { - int nextChar = AcquireChar(); - if (nextChar == From) { - return To; - } - return nextChar; - } - - #endregion Private Instance Methods - } -} +using System; +using System.IO; +using System.Globalization; + +using NAnt.Core.Attributes; +using NAnt.Core.Filters; + +namespace NAnt.Examples.Filters { + /// + /// Replaces a specific character in a file. + /// + /// + /// Replaces the character specified by with the + /// character specified by . + /// + /// + /// Replace all "@" characters with "~". + /// + /// + /// ]]> + /// + /// + [ElementName("replacecharacter")] + public class ReplaceCharacter : Filter { + /// + /// Delegate for Read and Peek. Allows the same implementation + /// to be used for both methods. + /// + delegate int AcquireCharDelegate(); + + #region Private Instance Fields + + private char _from; + private char _to; + + //Methods used for Read and Peek + private AcquireCharDelegate ReadChar = null; + private AcquireCharDelegate PeekChar = null; + + #endregion Private Instance Fields + + #region Public Instance Properties + + /// + /// The character to replace. + /// + [TaskAttribute("from", Required=true)] + public char From { + get { return _from; } + set { _from = value; } + } + + /// + /// The character to replace with. + /// + [TaskAttribute("to", Required=true)] + public char To { + get { return _to; } + set { _to = value; } + } + + #endregion Public Instance Properties + + #region Public Instance Methods + + /// + /// Construct that allows this filter to be chained to the one + /// in the parameter chainedReader. + /// + /// Filter that the filter will be chained to + public override void Chain(ChainableReader chainedReader) { + base.Chain(chainedReader); + ReadChar = new AcquireCharDelegate(base.Read); + PeekChar = new AcquireCharDelegate(base.Peek); + } + + /// + /// Reads the next character applying the filter logic. + /// + /// Char as an int or -1 if at the end of the stream + public override int Read() { + return GetNextCharacter(ReadChar); + } + + /// + /// Reads the next character applying the filter logic without + /// advancing the current position in the stream. + /// + /// Char as an int or -1 if at the end of the stream + public override int Peek() { + return GetNextCharacter(PeekChar); + } + + #endregion Public Instance Methods + + #region Private Instance Methods + + /// + /// Returns the next character in the stream replacing the specified character. Using the + /// allows for the same implementation for Read and Peek + /// + /// Delegate to acquire the next character. (Read/Peek) + /// Char as an int or -1 if at the end of the stream + private int GetNextCharacter(AcquireCharDelegate AcquireChar) { + int nextChar = AcquireChar(); + if (nextChar == From) { + return To; + } + return nextChar; + } + + #endregion Private Instance Methods + } +} diff --git a/build-support/tools/nant/examples/Filters/ReplaceCharacter/default.build b/build-support/tools/nant/examples/Filters/ReplaceCharacter/default.build index c81b00a7..057915d1 100644 --- a/build-support/tools/nant/examples/Filters/ReplaceCharacter/default.build +++ b/build-support/tools/nant/examples/Filters/ReplaceCharacter/default.build @@ -1,39 +1,39 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build-support/tools/nant/examples/HelloWindowsForms/HelloWindowsForms.build b/build-support/tools/nant/examples/HelloWindowsForms/HelloWindowsForms.build index e25955b4..f9a3b68b 100644 --- a/build-support/tools/nant/examples/HelloWindowsForms/HelloWindowsForms.build +++ b/build-support/tools/nant/examples/HelloWindowsForms/HelloWindowsForms.build @@ -1,59 +1,59 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build-support/tools/nant/examples/HelloWindowsForms/HelloWindowsForms.vbproj b/build-support/tools/nant/examples/HelloWindowsForms/HelloWindowsForms.vbproj index 653a3513..20179932 100644 --- a/build-support/tools/nant/examples/HelloWindowsForms/HelloWindowsForms.vbproj +++ b/build-support/tools/nant/examples/HelloWindowsForms/HelloWindowsForms.vbproj @@ -1,107 +1,107 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build-support/tools/nant/examples/HelloWindowsForms/MainForm.resx b/build-support/tools/nant/examples/HelloWindowsForms/MainForm.resx index 230b18b4..de6582fb 100644 --- a/build-support/tools/nant/examples/HelloWindowsForms/MainForm.resx +++ b/build-support/tools/nant/examples/HelloWindowsForms/MainForm.resx @@ -1,105 +1,105 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 1.3 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Assembly - - - MainForm - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Assembly + + + MainForm + \ No newline at end of file diff --git a/build-support/tools/nant/examples/HelloWindowsForms/MainForm.vb b/build-support/tools/nant/examples/HelloWindowsForms/MainForm.vb index b3fd58c5..4bd4db58 100644 --- a/build-support/tools/nant/examples/HelloWindowsForms/MainForm.vb +++ b/build-support/tools/nant/examples/HelloWindowsForms/MainForm.vb @@ -1,60 +1,60 @@ -Public Class MainForm - Inherits System.Windows.Forms.Form - -#Region " Windows Form Designer generated code " - - Public Sub New() - MyBase.New() - - 'This call is required by the Windows Form Designer. - InitializeComponent() - - 'Add any initialization after the InitializeComponent() call - - End Sub - - 'Form overrides dispose to clean up the component list. - Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) - If disposing Then - If Not (components Is Nothing) Then - components.Dispose() - End If - End If - MyBase.Dispose(disposing) - End Sub - - 'Required by the Windows Form Designer - Private components As System.ComponentModel.IContainer - - 'NOTE: The following procedure is required by the Windows Form Designer - 'It can be modified using the Windows Form Designer. - 'Do not modify it using the code editor. - Friend WithEvents myLabel As System.Windows.Forms.Label - Private Sub InitializeComponent() - Me.myLabel = New System.Windows.Forms.Label() - Me.SuspendLayout() - ' - 'myLabel - ' - Me.myLabel.Dock = System.Windows.Forms.DockStyle.Fill - Me.myLabel.Font = New System.Drawing.Font("Tahoma", 24.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.myLabel.Name = "myLabel" - Me.myLabel.Size = New System.Drawing.Size(304, 118) - Me.myLabel.TabIndex = 0 - Me.myLabel.Text = "Hello Windows Forms" - Me.myLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter - ' - 'MainForm - ' - Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13) - Me.ClientSize = New System.Drawing.Size(304, 118) - Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.myLabel}) - Me.Name = "MainForm" - Me.Text = "Hello Windows Forms" - Me.ResumeLayout(False) - - End Sub - -#End Region - -End Class +Public Class MainForm + Inherits System.Windows.Forms.Form + +#Region " Windows Form Designer generated code " + + Public Sub New() + MyBase.New() + + 'This call is required by the Windows Form Designer. + InitializeComponent() + + 'Add any initialization after the InitializeComponent() call + + End Sub + + 'Form overrides dispose to clean up the component list. + Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) + If disposing Then + If Not (components Is Nothing) Then + components.Dispose() + End If + End If + MyBase.Dispose(disposing) + End Sub + + 'Required by the Windows Form Designer + Private components As System.ComponentModel.IContainer + + 'NOTE: The following procedure is required by the Windows Form Designer + 'It can be modified using the Windows Form Designer. + 'Do not modify it using the code editor. + Friend WithEvents myLabel As System.Windows.Forms.Label + Private Sub InitializeComponent() + Me.myLabel = New System.Windows.Forms.Label() + Me.SuspendLayout() + ' + 'myLabel + ' + Me.myLabel.Dock = System.Windows.Forms.DockStyle.Fill + Me.myLabel.Font = New System.Drawing.Font("Tahoma", 24.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) + Me.myLabel.Name = "myLabel" + Me.myLabel.Size = New System.Drawing.Size(304, 118) + Me.myLabel.TabIndex = 0 + Me.myLabel.Text = "Hello Windows Forms" + Me.myLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter + ' + 'MainForm + ' + Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13) + Me.ClientSize = New System.Drawing.Size(304, 118) + Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.myLabel}) + Me.Name = "MainForm" + Me.Text = "Hello Windows Forms" + Me.ResumeLayout(False) + + End Sub + +#End Region + +End Class diff --git a/build-support/tools/nant/examples/HelloWorld/HelloWorld.cs b/build-support/tools/nant/examples/HelloWorld/HelloWorld.cs index 3552d4e8..315fd9d7 100644 --- a/build-support/tools/nant/examples/HelloWorld/HelloWorld.cs +++ b/build-support/tools/nant/examples/HelloWorld/HelloWorld.cs @@ -1,5 +1,5 @@ -public class ProjectName { - static void Main() { - System.Console.WriteLine("Hello World using C#"); - } -} +public class ProjectName { + static void Main() { + System.Console.WriteLine("Hello World using C#"); + } +} diff --git a/build-support/tools/nant/examples/HelloWorld/HelloWorld.vb b/build-support/tools/nant/examples/HelloWorld/HelloWorld.vb index 155bbc2d..f7983545 100644 --- a/build-support/tools/nant/examples/HelloWorld/HelloWorld.vb +++ b/build-support/tools/nant/examples/HelloWorld/HelloWorld.vb @@ -1,8 +1,8 @@ -Imports System - -Public Class MainApp - Shared Sub Main() - Console.WriteLine("Hello World using VB.NET") - Return - End Sub -End Class +Imports System + +Public Class MainApp + Shared Sub Main() + Console.WriteLine("Hello World using VB.NET") + Return + End Sub +End Class diff --git a/build-support/tools/nant/examples/HelloWorld/default.build b/build-support/tools/nant/examples/HelloWorld/default.build index 3f4cd64f..298d120d 100644 --- a/build-support/tools/nant/examples/HelloWorld/default.build +++ b/build-support/tools/nant/examples/HelloWorld/default.build @@ -1,39 +1,39 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build-support/tools/nant/examples/ScriptTask/script-sample.build b/build-support/tools/nant/examples/ScriptTask/script-sample.build index 8fa9d3fa..1bcdb4ae 100644 --- a/build-support/tools/nant/examples/ScriptTask/script-sample.build +++ b/build-support/tools/nant/examples/ScriptTask/script-sample.build @@ -1,25 +1,25 @@ - - - - - - - - + + + + + + + + diff --git a/build-support/tools/nant/examples/Simple/Simple.build b/build-support/tools/nant/examples/Simple/Simple.build index 54c9ed84..59812128 100644 --- a/build-support/tools/nant/examples/Simple/Simple.build +++ b/build-support/tools/nant/examples/Simple/Simple.build @@ -1,22 +1,22 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + diff --git a/build-support/tools/nant/examples/Simple/Simple.cs b/build-support/tools/nant/examples/Simple/Simple.cs index f7e7d0c4..4484a85f 100644 --- a/build-support/tools/nant/examples/Simple/Simple.cs +++ b/build-support/tools/nant/examples/Simple/Simple.cs @@ -1,5 +1,5 @@ -public class Simple { - static void Main() { - System.Console.WriteLine("Hello, World!"); - } -} +public class Simple { + static void Main() { + System.Console.WriteLine("Hello, World!"); + } +} diff --git a/build-support/tools/nant/examples/Solution/cpp/WinForms/AssemblyInfo.cpp b/build-support/tools/nant/examples/Solution/cpp/WinForms/AssemblyInfo.cpp index 2c401dba..e550a322 100644 --- a/build-support/tools/nant/examples/Solution/cpp/WinForms/AssemblyInfo.cpp +++ b/build-support/tools/nant/examples/Solution/cpp/WinForms/AssemblyInfo.cpp @@ -1,58 +1,58 @@ -#include "stdafx.h" - -using namespace System::Reflection; -using namespace System::Runtime::CompilerServices; - -// -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -// -[assembly:AssemblyTitleAttribute("")]; -[assembly:AssemblyDescriptionAttribute("")]; -[assembly:AssemblyConfigurationAttribute("")]; -[assembly:AssemblyCompanyAttribute("")]; -[assembly:AssemblyProductAttribute("")]; -[assembly:AssemblyCopyrightAttribute("")]; -[assembly:AssemblyTrademarkAttribute("")]; -[assembly:AssemblyCultureAttribute("")]; - -// -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the value or you can default the Revision and Build Numbers -// by using the '*' as shown below: - -[assembly:AssemblyVersionAttribute("1.0.*")]; - -// -// In order to sign your assembly you must specify a key to use. Refer to the -// Microsoft .NET Framework documentation for more information on assembly signing. -// -// Use the attributes below to control which key is used for signing. -// -// Notes: -// (*) If no key is specified, the assembly is not signed. -// (*) KeyName refers to a key that has been installed in the Crypto Service -// Provider (CSP) on your machine. KeyFile refers to a file which contains -// a key. -// (*) If the KeyFile and the KeyName values are both specified, the -// following processing occurs: -// (1) If the KeyName can be found in the CSP, that key is used. -// (2) If the KeyName does not exist and the KeyFile does exist, the key -// in the KeyFile is installed into the CSP and used. -// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. -// When specifying the KeyFile, the location of the KeyFile should be -// relative to the project directory. -// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework -// documentation for more information on this. -// -[assembly:AssemblyDelaySignAttribute(false)]; -[assembly:AssemblyKeyFileAttribute("")]; -[assembly:AssemblyKeyNameAttribute("")]; - +#include "stdafx.h" + +using namespace System::Reflection; +using namespace System::Runtime::CompilerServices; + +// +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +// +[assembly:AssemblyTitleAttribute("")]; +[assembly:AssemblyDescriptionAttribute("")]; +[assembly:AssemblyConfigurationAttribute("")]; +[assembly:AssemblyCompanyAttribute("")]; +[assembly:AssemblyProductAttribute("")]; +[assembly:AssemblyCopyrightAttribute("")]; +[assembly:AssemblyTrademarkAttribute("")]; +[assembly:AssemblyCultureAttribute("")]; + +// +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the value or you can default the Revision and Build Numbers +// by using the '*' as shown below: + +[assembly:AssemblyVersionAttribute("1.0.*")]; + +// +// In order to sign your assembly you must specify a key to use. Refer to the +// Microsoft .NET Framework documentation for more information on assembly signing. +// +// Use the attributes below to control which key is used for signing. +// +// Notes: +// (*) If no key is specified, the assembly is not signed. +// (*) KeyName refers to a key that has been installed in the Crypto Service +// Provider (CSP) on your machine. KeyFile refers to a file which contains +// a key. +// (*) If the KeyFile and the KeyName values are both specified, the +// following processing occurs: +// (1) If the KeyName can be found in the CSP, that key is used. +// (2) If the KeyName does not exist and the KeyFile does exist, the key +// in the KeyFile is installed into the CSP and used. +// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. +// When specifying the KeyFile, the location of the KeyFile should be +// relative to the project directory. +// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework +// documentation for more information on this. +// +[assembly:AssemblyDelaySignAttribute(false)]; +[assembly:AssemblyKeyFileAttribute("")]; +[assembly:AssemblyKeyNameAttribute("")]; + diff --git a/build-support/tools/nant/examples/Solution/cpp/WinForms/Form1.cpp b/build-support/tools/nant/examples/Solution/cpp/WinForms/Form1.cpp index ac3477f7..2d2469bd 100644 --- a/build-support/tools/nant/examples/Solution/cpp/WinForms/Form1.cpp +++ b/build-support/tools/nant/examples/Solution/cpp/WinForms/Form1.cpp @@ -1,15 +1,15 @@ -#include "stdafx.h" -#include "Form1.h" -#include - -using namespace WinForms; - -int APIENTRY _tWinMain(HINSTANCE hInstance, - HINSTANCE hPrevInstance, - LPTSTR lpCmdLine, - int nCmdShow) -{ - System::Threading::Thread::CurrentThread->ApartmentState = System::Threading::ApartmentState::STA; - Application::Run(new Form1()); - return 0; -} +#include "stdafx.h" +#include "Form1.h" +#include + +using namespace WinForms; + +int APIENTRY _tWinMain(HINSTANCE hInstance, + HINSTANCE hPrevInstance, + LPTSTR lpCmdLine, + int nCmdShow) +{ + System::Threading::Thread::CurrentThread->ApartmentState = System::Threading::ApartmentState::STA; + Application::Run(new Form1()); + return 0; +} diff --git a/build-support/tools/nant/examples/Solution/cpp/WinForms/Form1.h b/build-support/tools/nant/examples/Solution/cpp/WinForms/Form1.h index 6ec54e83..873c55ec 100644 --- a/build-support/tools/nant/examples/Solution/cpp/WinForms/Form1.h +++ b/build-support/tools/nant/examples/Solution/cpp/WinForms/Form1.h @@ -1,59 +1,59 @@ -#pragma once - - -namespace WinForms -{ - using namespace System; - using namespace System::ComponentModel; - using namespace System::Collections; - using namespace System::Windows::Forms; - using namespace System::Data; - using namespace System::Drawing; - - /// - /// Summary for Form1 - /// - /// WARNING: If you change the name of this class, you will need to change the - /// 'Resource File Name' property for the managed resource compiler tool - /// associated with all .resx files this class depends on. Otherwise, - /// the designers will not be able to interact properly with localized - /// resources associated with this form. - /// - public __gc class Form1 : public System::Windows::Forms::Form - { - public: - Form1(void) - { - InitializeComponent(); - } - - protected: - void Dispose(Boolean disposing) - { - if (disposing && components) - { - components->Dispose(); - } - __super::Dispose(disposing); - } - - private: - /// - /// Required designer variable. - /// - System::ComponentModel::Container * components; - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - void InitializeComponent(void) - { - this->components = new System::ComponentModel::Container(); - this->Size = System::Drawing::Size(300,300); - this->Text = S"Form1"; - } - }; -} - - +#pragma once + + +namespace WinForms +{ + using namespace System; + using namespace System::ComponentModel; + using namespace System::Collections; + using namespace System::Windows::Forms; + using namespace System::Data; + using namespace System::Drawing; + + /// + /// Summary for Form1 + /// + /// WARNING: If you change the name of this class, you will need to change the + /// 'Resource File Name' property for the managed resource compiler tool + /// associated with all .resx files this class depends on. Otherwise, + /// the designers will not be able to interact properly with localized + /// resources associated with this form. + /// + public __gc class Form1 : public System::Windows::Forms::Form + { + public: + Form1(void) + { + InitializeComponent(); + } + + protected: + void Dispose(Boolean disposing) + { + if (disposing && components) + { + components->Dispose(); + } + __super::Dispose(disposing); + } + + private: + /// + /// Required designer variable. + /// + System::ComponentModel::Container * components; + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + void InitializeComponent(void) + { + this->components = new System::ComponentModel::Container(); + this->Size = System::Drawing::Size(300,300); + this->Text = S"Form1"; + } + }; +} + + diff --git a/build-support/tools/nant/examples/Solution/cpp/WinForms/Form1.resX b/build-support/tools/nant/examples/Solution/cpp/WinForms/Form1.resX index dd0ea4d8..3f337e08 100644 --- a/build-support/tools/nant/examples/Solution/cpp/WinForms/Form1.resX +++ b/build-support/tools/nant/examples/Solution/cpp/WinForms/Form1.resX @@ -1,42 +1,42 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 1.0.0.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 1.0.0.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + diff --git a/build-support/tools/nant/examples/Solution/cpp/WinForms/ReadMe.txt b/build-support/tools/nant/examples/Solution/cpp/WinForms/ReadMe.txt index 3c838567..4246609c 100644 --- a/build-support/tools/nant/examples/Solution/cpp/WinForms/ReadMe.txt +++ b/build-support/tools/nant/examples/Solution/cpp/WinForms/ReadMe.txt @@ -1,33 +1,33 @@ -======================================================================== - APPLICATION : winforms Project Overview -======================================================================== - -AppWizard has created this winforms Application for you. - -This file contains a summary of what you will find in each of the files that -make up your winforms application. - -winforms.vcproj - This is the main project file for VC++ projects generated using an Application Wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - Application Wizard. - -Form1.cpp - This is the main application source file. - Contains the code to display the form. - -Form1.h - Contains the implementation of your form class and InitializeComponent() function. - -AssemblyInfo.cpp - Contains custom attributes for modifying assembly metadata. - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Win32.pch and a precompiled types file named StdAfx.obj. - -///////////////////////////////////////////////////////////////////////////// +======================================================================== + APPLICATION : winforms Project Overview +======================================================================== + +AppWizard has created this winforms Application for you. + +This file contains a summary of what you will find in each of the files that +make up your winforms application. + +winforms.vcproj + This is the main project file for VC++ projects generated using an Application Wizard. + It contains information about the version of Visual C++ that generated the file, and + information about the platforms, configurations, and project features selected with the + Application Wizard. + +Form1.cpp + This is the main application source file. + Contains the code to display the form. + +Form1.h + Contains the implementation of your form class and InitializeComponent() function. + +AssemblyInfo.cpp + Contains custom attributes for modifying assembly metadata. + +///////////////////////////////////////////////////////////////////////////// +Other standard files: + +StdAfx.h, StdAfx.cpp + These files are used to build a precompiled header (PCH) file + named Win32.pch and a precompiled types file named StdAfx.obj. + +///////////////////////////////////////////////////////////////////////////// diff --git a/build-support/tools/nant/examples/Solution/cpp/WinForms/WinForms.sln b/build-support/tools/nant/examples/Solution/cpp/WinForms/WinForms.sln index 166ee3c3..7690d9f1 100644 --- a/build-support/tools/nant/examples/Solution/cpp/WinForms/WinForms.sln +++ b/build-support/tools/nant/examples/Solution/cpp/WinForms/WinForms.sln @@ -1,21 +1,21 @@ -Microsoft Visual Studio Solution File, Format Version 8.00 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WinForms", "WinForms.vcproj", "{11211AF9-DD1D-4151-844A-A2430B67DE3D}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfiguration) = preSolution - Debug = Debug - Release = Release - EndGlobalSection - GlobalSection(ProjectConfiguration) = postSolution - {11211AF9-DD1D-4151-844A-A2430B67DE3D}.Debug.ActiveCfg = Debug|Win32 - {11211AF9-DD1D-4151-844A-A2430B67DE3D}.Debug.Build.0 = Debug|Win32 - {11211AF9-DD1D-4151-844A-A2430B67DE3D}.Release.ActiveCfg = Release|Win32 - {11211AF9-DD1D-4151-844A-A2430B67DE3D}.Release.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - EndGlobalSection - GlobalSection(ExtensibilityAddIns) = postSolution - EndGlobalSection -EndGlobal +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WinForms", "WinForms.vcproj", "{11211AF9-DD1D-4151-844A-A2430B67DE3D}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {11211AF9-DD1D-4151-844A-A2430B67DE3D}.Debug.ActiveCfg = Debug|Win32 + {11211AF9-DD1D-4151-844A-A2430B67DE3D}.Debug.Build.0 = Debug|Win32 + {11211AF9-DD1D-4151-844A-A2430B67DE3D}.Release.ActiveCfg = Release|Win32 + {11211AF9-DD1D-4151-844A-A2430B67DE3D}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/build-support/tools/nant/examples/Solution/cpp/WinForms/WinForms.vcproj b/build-support/tools/nant/examples/Solution/cpp/WinForms/WinForms.vcproj index 6e96ee26..5b1fd274 100644 --- a/build-support/tools/nant/examples/Solution/cpp/WinForms/WinForms.vcproj +++ b/build-support/tools/nant/examples/Solution/cpp/WinForms/WinForms.vcproj @@ -1,194 +1,194 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build-support/tools/nant/examples/Solution/cpp/WinForms/app.rc b/build-support/tools/nant/examples/Solution/cpp/WinForms/app.rc index b488dbd9..6be44adf 100644 --- a/build-support/tools/nant/examples/Solution/cpp/WinForms/app.rc +++ b/build-support/tools/nant/examples/Solution/cpp/WinForms/app.rc @@ -1,52 +1,52 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon placed first or with lowest ID value becomes application icon - -LANGUAGE 9, 1 -#pragma code_page(1252) -1 ICON "app.ico" - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" - "\0" -END - -#endif // APSTUDIO_INVOKED - -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon placed first or with lowest ID value becomes application icon + +LANGUAGE 9, 1 +#pragma code_page(1252) +1 ICON "app.ico" + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" + "\0" +END + +#endif // APSTUDIO_INVOKED + +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/build-support/tools/nant/examples/Solution/cpp/WinForms/cpp.build b/build-support/tools/nant/examples/Solution/cpp/WinForms/cpp.build index 4d22b34e..951bc169 100644 --- a/build-support/tools/nant/examples/Solution/cpp/WinForms/cpp.build +++ b/build-support/tools/nant/examples/Solution/cpp/WinForms/cpp.build @@ -1,27 +1,27 @@ - - - - - - - - - - - - - - - - - - - - - - - - Output file doesn't exist in ${expected.output} - - + + + + + + + + + + + + + + + + + + + + + + + + Output file doesn't exist in ${expected.output} + + \ No newline at end of file diff --git a/build-support/tools/nant/examples/Solution/cpp/WinForms/resource.h b/build-support/tools/nant/examples/Solution/cpp/WinForms/resource.h index 1f2251c2..d5ac7c42 100644 --- a/build-support/tools/nant/examples/Solution/cpp/WinForms/resource.h +++ b/build-support/tools/nant/examples/Solution/cpp/WinForms/resource.h @@ -1,3 +1,3 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by app.rc +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by app.rc diff --git a/build-support/tools/nant/examples/Solution/cpp/WinForms/stdafx.cpp b/build-support/tools/nant/examples/Solution/cpp/WinForms/stdafx.cpp index ce3f7b84..14bb7bbb 100644 --- a/build-support/tools/nant/examples/Solution/cpp/WinForms/stdafx.cpp +++ b/build-support/tools/nant/examples/Solution/cpp/WinForms/stdafx.cpp @@ -1,7 +1,7 @@ -// stdafx.cpp : source file that includes just the standard includes -// winforms.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - +// stdafx.cpp : source file that includes just the standard includes +// winforms.pch will be the pre-compiled header +// stdafx.obj will contain the pre-compiled type information + +#include "stdafx.h" + + diff --git a/build-support/tools/nant/examples/Solution/cpp/WinForms/stdafx.h b/build-support/tools/nant/examples/Solution/cpp/WinForms/stdafx.h index ffc016e4..ae2d8aa9 100644 --- a/build-support/tools/nant/examples/Solution/cpp/WinForms/stdafx.h +++ b/build-support/tools/nant/examples/Solution/cpp/WinForms/stdafx.h @@ -1,14 +1,14 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -#pragma once - - -#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers -// C RunTime Header Files -#include -#include -#include -#include - -// TODO: reference additional headers your program requires here +// stdafx.h : include file for standard system include files, +// or project specific include files that are used frequently, but +// are changed infrequently +#pragma once + + +#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers +// C RunTime Header Files +#include +#include +#include +#include + +// TODO: reference additional headers your program requires here diff --git a/build-support/tools/nant/examples/Solution/cpp/default.build b/build-support/tools/nant/examples/Solution/cpp/default.build index 534e1e9f..a1eb910b 100644 --- a/build-support/tools/nant/examples/Solution/cpp/default.build +++ b/build-support/tools/nant/examples/Solution/cpp/default.build @@ -1,11 +1,11 @@ - - - - - - - - - - - + + + + + + + + + + + diff --git a/build-support/tools/nant/examples/Solution/cs/WinForms/AssemblyInfo.cs b/build-support/tools/nant/examples/Solution/cs/WinForms/AssemblyInfo.cs index 177a4f0e..9f89a328 100644 --- a/build-support/tools/nant/examples/Solution/cs/WinForms/AssemblyInfo.cs +++ b/build-support/tools/nant/examples/Solution/cs/WinForms/AssemblyInfo.cs @@ -1,58 +1,58 @@ -using System.Reflection; -using System.Runtime.CompilerServices; - -// -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -// -[assembly: AssemblyTitle("")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Revision and Build Numbers -// by using the '*' as shown below: - -[assembly: AssemblyVersion("1.0.*")] - -// -// In order to sign your assembly you must specify a key to use. Refer to the -// Microsoft .NET Framework documentation for more information on assembly signing. -// -// Use the attributes below to control which key is used for signing. -// -// Notes: -// (*) If no key is specified, the assembly is not signed. -// (*) KeyName refers to a key that has been installed in the Crypto Service -// Provider (CSP) on your machine. KeyFile refers to a file which contains -// a key. -// (*) If the KeyFile and the KeyName values are both specified, the -// following processing occurs: -// (1) If the KeyName can be found in the CSP, that key is used. -// (2) If the KeyName does not exist and the KeyFile does exist, the key -// in the KeyFile is installed into the CSP and used. -// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. -// When specifying the KeyFile, the location of the KeyFile should be -// relative to the project output directory which is -// %Project Directory%\obj\. For example, if your KeyFile is -// located in the project directory, you would specify the AssemblyKeyFile -// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] -// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework -// documentation for more information on this. -// -[assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("")] -[assembly: AssemblyKeyName("")] +using System.Reflection; +using System.Runtime.CompilerServices; + +// +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +// +[assembly: AssemblyTitle("")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: + +[assembly: AssemblyVersion("1.0.*")] + +// +// In order to sign your assembly you must specify a key to use. Refer to the +// Microsoft .NET Framework documentation for more information on assembly signing. +// +// Use the attributes below to control which key is used for signing. +// +// Notes: +// (*) If no key is specified, the assembly is not signed. +// (*) KeyName refers to a key that has been installed in the Crypto Service +// Provider (CSP) on your machine. KeyFile refers to a file which contains +// a key. +// (*) If the KeyFile and the KeyName values are both specified, the +// following processing occurs: +// (1) If the KeyName can be found in the CSP, that key is used. +// (2) If the KeyName does not exist and the KeyFile does exist, the key +// in the KeyFile is installed into the CSP and used. +// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. +// When specifying the KeyFile, the location of the KeyFile should be +// relative to the project output directory which is +// %Project Directory%\obj\. For example, if your KeyFile is +// located in the project directory, you would specify the AssemblyKeyFile +// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] +// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework +// documentation for more information on this. +// +[assembly: AssemblyDelaySign(false)] +[assembly: AssemblyKeyFile("")] +[assembly: AssemblyKeyName("")] diff --git a/build-support/tools/nant/examples/Solution/cs/WinForms/Form1.cs b/build-support/tools/nant/examples/Solution/cs/WinForms/Form1.cs index 419efde0..f229b0a6 100644 --- a/build-support/tools/nant/examples/Solution/cs/WinForms/Form1.cs +++ b/build-support/tools/nant/examples/Solution/cs/WinForms/Form1.cs @@ -1,69 +1,69 @@ -using System; -using System.Drawing; -using System.Collections; -using System.ComponentModel; -using System.Windows.Forms; -using System.Data; - -namespace WinForms -{ - /// - /// Summary description for Form1. - /// - public class Form1 : System.Windows.Forms.Form - { - /// - /// Required designer variable. - /// - private System.ComponentModel.Container components = null; - - public Form1() - { - // - // Required for Windows Form Designer support - // - InitializeComponent(); - - // - // TODO: Add any constructor code after InitializeComponent call - // - } - - /// - /// Clean up any resources being used. - /// - protected override void Dispose( bool disposing ) - { - if( disposing ) - { - if (components != null) - { - components.Dispose(); - } - } - base.Dispose( disposing ); - } - - #region Windows Form Designer generated code - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - this.Size = new System.Drawing.Size(300,300); - this.Text = "Form1"; - } - #endregion - - /// - /// The main entry point for the application. - /// - [STAThread] - static void Main() - { - Application.Run(new Form1()); - } - } -} +using System; +using System.Drawing; +using System.Collections; +using System.ComponentModel; +using System.Windows.Forms; +using System.Data; + +namespace WinForms +{ + /// + /// Summary description for Form1. + /// + public class Form1 : System.Windows.Forms.Form + { + /// + /// Required designer variable. + /// + private System.ComponentModel.Container components = null; + + public Form1() + { + // + // Required for Windows Form Designer support + // + InitializeComponent(); + + // + // TODO: Add any constructor code after InitializeComponent call + // + } + + /// + /// Clean up any resources being used. + /// + protected override void Dispose( bool disposing ) + { + if( disposing ) + { + if (components != null) + { + components.Dispose(); + } + } + base.Dispose( disposing ); + } + + #region Windows Form Designer generated code + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.Size = new System.Drawing.Size(300,300); + this.Text = "Form1"; + } + #endregion + + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + Application.Run(new Form1()); + } + } +} diff --git a/build-support/tools/nant/examples/Solution/cs/WinForms/Form1.resx b/build-support/tools/nant/examples/Solution/cs/WinForms/Form1.resx index dd0ea4d8..3f337e08 100644 --- a/build-support/tools/nant/examples/Solution/cs/WinForms/Form1.resx +++ b/build-support/tools/nant/examples/Solution/cs/WinForms/Form1.resx @@ -1,42 +1,42 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 1.0.0.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 1.0.0.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + diff --git a/build-support/tools/nant/examples/Solution/cs/WinForms/WinForms.csproj b/build-support/tools/nant/examples/Solution/cs/WinForms/WinForms.csproj index dbe06627..e8fa6038 100644 --- a/build-support/tools/nant/examples/Solution/cs/WinForms/WinForms.csproj +++ b/build-support/tools/nant/examples/Solution/cs/WinForms/WinForms.csproj @@ -1,119 +1,119 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build-support/tools/nant/examples/Solution/cs/WinForms/WinForms.sln b/build-support/tools/nant/examples/Solution/cs/WinForms/WinForms.sln index 32b355e0..dd6a4520 100644 --- a/build-support/tools/nant/examples/Solution/cs/WinForms/WinForms.sln +++ b/build-support/tools/nant/examples/Solution/cs/WinForms/WinForms.sln @@ -1,21 +1,21 @@ -Microsoft Visual Studio Solution File, Format Version 8.00 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WinForms", "WinForms.csproj", "{C0E751EE-4590-447A-B236-FF7E71A484DF}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfiguration) = preSolution - Debug = Debug - Release = Release - EndGlobalSection - GlobalSection(ProjectConfiguration) = postSolution - {C0E751EE-4590-447A-B236-FF7E71A484DF}.Debug.ActiveCfg = Debug|.NET - {C0E751EE-4590-447A-B236-FF7E71A484DF}.Debug.Build.0 = Debug|.NET - {C0E751EE-4590-447A-B236-FF7E71A484DF}.Release.ActiveCfg = Release|.NET - {C0E751EE-4590-447A-B236-FF7E71A484DF}.Release.Build.0 = Release|.NET - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - EndGlobalSection - GlobalSection(ExtensibilityAddIns) = postSolution - EndGlobalSection -EndGlobal +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WinForms", "WinForms.csproj", "{C0E751EE-4590-447A-B236-FF7E71A484DF}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {C0E751EE-4590-447A-B236-FF7E71A484DF}.Debug.ActiveCfg = Debug|.NET + {C0E751EE-4590-447A-B236-FF7E71A484DF}.Debug.Build.0 = Debug|.NET + {C0E751EE-4590-447A-B236-FF7E71A484DF}.Release.ActiveCfg = Release|.NET + {C0E751EE-4590-447A-B236-FF7E71A484DF}.Release.Build.0 = Release|.NET + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/build-support/tools/nant/examples/Solution/cs/WinForms/cs.build b/build-support/tools/nant/examples/Solution/cs/WinForms/cs.build index a1fe1d9e..b6c14dfc 100644 --- a/build-support/tools/nant/examples/Solution/cs/WinForms/cs.build +++ b/build-support/tools/nant/examples/Solution/cs/WinForms/cs.build @@ -1,28 +1,28 @@ - - - - - - - - - - - - - - - - - - - - - - - - - Output file doesn't exist in ${expected.output} - - + + + + + + + + + + + + + + + + + + + + + + + + + Output file doesn't exist in ${expected.output} + + \ No newline at end of file diff --git a/build-support/tools/nant/examples/Solution/cs/default.build b/build-support/tools/nant/examples/Solution/cs/default.build index 534e1e9f..a1eb910b 100644 --- a/build-support/tools/nant/examples/Solution/cs/default.build +++ b/build-support/tools/nant/examples/Solution/cs/default.build @@ -1,11 +1,11 @@ - - - - - - - - - - - + + + + + + + + + + + diff --git a/build-support/tools/nant/examples/Solution/vb/WinForms/AssemblyInfo.vb b/build-support/tools/nant/examples/Solution/vb/WinForms/AssemblyInfo.vb index 39f66889..1378b3ba 100644 --- a/build-support/tools/nant/examples/Solution/vb/WinForms/AssemblyInfo.vb +++ b/build-support/tools/nant/examples/Solution/vb/WinForms/AssemblyInfo.vb @@ -1,32 +1,32 @@ -Imports System -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: - - +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: + + diff --git a/build-support/tools/nant/examples/Solution/vb/WinForms/Form1.resx b/build-support/tools/nant/examples/Solution/vb/WinForms/Form1.resx index dd0ea4d8..3f337e08 100644 --- a/build-support/tools/nant/examples/Solution/vb/WinForms/Form1.resx +++ b/build-support/tools/nant/examples/Solution/vb/WinForms/Form1.resx @@ -1,42 +1,42 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 1.0.0.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 1.0.0.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + diff --git a/build-support/tools/nant/examples/Solution/vb/WinForms/Form1.vb b/build-support/tools/nant/examples/Solution/vb/WinForms/Form1.vb index 135c39f9..6a57df67 100644 --- a/build-support/tools/nant/examples/Solution/vb/WinForms/Form1.vb +++ b/build-support/tools/nant/examples/Solution/vb/WinForms/Form1.vb @@ -1,39 +1,39 @@ -Public Class Form1 - Inherits System.Windows.Forms.Form - -#Region " Windows Form Designer generated code " - - Public Sub New() - MyBase.New() - - 'This call is required by the Windows Form Designer. - InitializeComponent() - - 'Add any initialization after the InitializeComponent() call - - End Sub - - 'Form overrides dispose to clean up the component list. - Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) - If disposing Then - If Not (components Is Nothing) Then - components.Dispose() - End If - End If - MyBase.Dispose(disposing) - End Sub - - 'Required by the Windows Form Designer - Private components As System.ComponentModel.IContainer - - 'NOTE: The following procedure is required by the Windows Form Designer - 'It can be modified using the Windows Form Designer. - 'Do not modify it using the code editor. - Private Sub InitializeComponent() - components = New System.ComponentModel.Container() - Me.Text = "Form1" - End Sub - -#End Region - -End Class +Public Class Form1 + Inherits System.Windows.Forms.Form + +#Region " Windows Form Designer generated code " + + Public Sub New() + MyBase.New() + + 'This call is required by the Windows Form Designer. + InitializeComponent() + + 'Add any initialization after the InitializeComponent() call + + End Sub + + 'Form overrides dispose to clean up the component list. + Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) + If disposing Then + If Not (components Is Nothing) Then + components.Dispose() + End If + End If + MyBase.Dispose(disposing) + End Sub + + 'Required by the Windows Form Designer + Private components As System.ComponentModel.IContainer + + 'NOTE: The following procedure is required by the Windows Form Designer + 'It can be modified using the Windows Form Designer. + 'Do not modify it using the code editor. + Private Sub InitializeComponent() + components = New System.ComponentModel.Container() + Me.Text = "Form1" + End Sub + +#End Region + +End Class diff --git a/build-support/tools/nant/examples/Solution/vb/WinForms/WinForms.sln b/build-support/tools/nant/examples/Solution/vb/WinForms/WinForms.sln index 53294ee8..36fe9dd0 100644 --- a/build-support/tools/nant/examples/Solution/vb/WinForms/WinForms.sln +++ b/build-support/tools/nant/examples/Solution/vb/WinForms/WinForms.sln @@ -1,21 +1,21 @@ -Microsoft Visual Studio Solution File, Format Version 8.00 -Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "WinForms", "WinForms.vbproj", "{B01CBC5B-0F63-4623-8B41-806E063D4F0C}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfiguration) = preSolution - Debug = Debug - Release = Release - EndGlobalSection - GlobalSection(ProjectConfiguration) = postSolution - {B01CBC5B-0F63-4623-8B41-806E063D4F0C}.Debug.ActiveCfg = Debug|.NET - {B01CBC5B-0F63-4623-8B41-806E063D4F0C}.Debug.Build.0 = Debug|.NET - {B01CBC5B-0F63-4623-8B41-806E063D4F0C}.Release.ActiveCfg = Release|.NET - {B01CBC5B-0F63-4623-8B41-806E063D4F0C}.Release.Build.0 = Release|.NET - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - EndGlobalSection - GlobalSection(ExtensibilityAddIns) = postSolution - EndGlobalSection -EndGlobal +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "WinForms", "WinForms.vbproj", "{B01CBC5B-0F63-4623-8B41-806E063D4F0C}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {B01CBC5B-0F63-4623-8B41-806E063D4F0C}.Debug.ActiveCfg = Debug|.NET + {B01CBC5B-0F63-4623-8B41-806E063D4F0C}.Debug.Build.0 = Debug|.NET + {B01CBC5B-0F63-4623-8B41-806E063D4F0C}.Release.ActiveCfg = Release|.NET + {B01CBC5B-0F63-4623-8B41-806E063D4F0C}.Release.Build.0 = Release|.NET + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/build-support/tools/nant/examples/Solution/vb/WinForms/WinForms.vbproj b/build-support/tools/nant/examples/Solution/vb/WinForms/WinForms.vbproj index 002692a9..3aac73cc 100644 --- a/build-support/tools/nant/examples/Solution/vb/WinForms/WinForms.vbproj +++ b/build-support/tools/nant/examples/Solution/vb/WinForms/WinForms.vbproj @@ -1,112 +1,112 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build-support/tools/nant/examples/Solution/vb/WinForms/vb.build b/build-support/tools/nant/examples/Solution/vb/WinForms/vb.build index a1fe1d9e..b6c14dfc 100644 --- a/build-support/tools/nant/examples/Solution/vb/WinForms/vb.build +++ b/build-support/tools/nant/examples/Solution/vb/WinForms/vb.build @@ -1,28 +1,28 @@ - - - - - - - - - - - - - - - - - - - - - - - - - Output file doesn't exist in ${expected.output} - - + + + + + + + + + + + + + + + + + + + + + + + + + Output file doesn't exist in ${expected.output} + + \ No newline at end of file diff --git a/build-support/tools/nant/examples/Solution/vb/default.build b/build-support/tools/nant/examples/Solution/vb/default.build index 534e1e9f..a1eb910b 100644 --- a/build-support/tools/nant/examples/Solution/vb/default.build +++ b/build-support/tools/nant/examples/Solution/vb/default.build @@ -1,11 +1,11 @@ - - - - - - - - - - - + + + + + + + + + + + diff --git a/build-support/tools/nant/examples/Solution/vjs/WinForms/AssemblyInfo.jsl b/build-support/tools/nant/examples/Solution/vjs/WinForms/AssemblyInfo.jsl index da85e12d..d17c68a1 100644 --- a/build-support/tools/nant/examples/Solution/vjs/WinForms/AssemblyInfo.jsl +++ b/build-support/tools/nant/examples/Solution/vjs/WinForms/AssemblyInfo.jsl @@ -1,58 +1,58 @@ -import System.Reflection.*; -import System.Runtime.CompilerServices.*; - -// -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -// -/** @assembly AssemblyTitle("") */ -/** @assembly AssemblyDescription("") */ -/** @assembly AssemblyConfiguration("") */ -/** @assembly AssemblyCompany("") */ -/** @assembly AssemblyProduct("") */ -/** @assembly AssemblyCopyright("") */ -/** @assembly AssemblyTrademark("") */ -/** @assembly AssemblyCulture("") */ - -// -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Revision and Build -// Numbers by using the '*' as shown below: - -/** @assembly AssemblyVersion("1.0.*") */ - -// -// In order to sign your assembly you must specify a key to use. Refer to the -// Microsoft .NET Framework documentation for more information on assembly signing. -// -// Use the attributes below to control which key is used for signing. -// -// Notes: -// (*) If no key is specified, the assembly is not signed. -// (*) KeyName refers to a key that has been installed in the Crypto Service -// Provider (CSP) on your machine. KeyFile refers to a file which contains -// a key. -// (*) If the KeyFile and the KeyName values are both specified, the -// following processing occurs: -// (1) If the KeyName can be found in the CSP, that key is used. -// (2) If the KeyName does not exist and the KeyFile does exist, the key -// in the KeyFile is installed into the CSP and used. -// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. -// When specifying the KeyFile, the location of the KeyFile should be -// relative to the project directory. For example, if your KeyFile is -// located in the project directory itself, you would specify the -// AssemblyKeyFile attribute as @assembly AssemblyKeyFile("mykey.snk") -// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework -// documentation for more information on this. -// - -/** @assembly AssemblyDelaySign(false) */ -/** @assembly AssemblyKeyFile("") */ -/** @assembly AssemblyKeyName("") */ +import System.Reflection.*; +import System.Runtime.CompilerServices.*; + +// +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +// +/** @assembly AssemblyTitle("") */ +/** @assembly AssemblyDescription("") */ +/** @assembly AssemblyConfiguration("") */ +/** @assembly AssemblyCompany("") */ +/** @assembly AssemblyProduct("") */ +/** @assembly AssemblyCopyright("") */ +/** @assembly AssemblyTrademark("") */ +/** @assembly AssemblyCulture("") */ + +// +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build +// Numbers by using the '*' as shown below: + +/** @assembly AssemblyVersion("1.0.*") */ + +// +// In order to sign your assembly you must specify a key to use. Refer to the +// Microsoft .NET Framework documentation for more information on assembly signing. +// +// Use the attributes below to control which key is used for signing. +// +// Notes: +// (*) If no key is specified, the assembly is not signed. +// (*) KeyName refers to a key that has been installed in the Crypto Service +// Provider (CSP) on your machine. KeyFile refers to a file which contains +// a key. +// (*) If the KeyFile and the KeyName values are both specified, the +// following processing occurs: +// (1) If the KeyName can be found in the CSP, that key is used. +// (2) If the KeyName does not exist and the KeyFile does exist, the key +// in the KeyFile is installed into the CSP and used. +// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. +// When specifying the KeyFile, the location of the KeyFile should be +// relative to the project directory. For example, if your KeyFile is +// located in the project directory itself, you would specify the +// AssemblyKeyFile attribute as @assembly AssemblyKeyFile("mykey.snk") +// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework +// documentation for more information on this. +// + +/** @assembly AssemblyDelaySign(false) */ +/** @assembly AssemblyKeyFile("") */ +/** @assembly AssemblyKeyName("") */ diff --git a/build-support/tools/nant/examples/Solution/vjs/WinForms/Form1.jsl b/build-support/tools/nant/examples/Solution/vjs/WinForms/Form1.jsl index 204220f4..544bdef0 100644 --- a/build-support/tools/nant/examples/Solution/vjs/WinForms/Form1.jsl +++ b/build-support/tools/nant/examples/Solution/vjs/WinForms/Form1.jsl @@ -1,67 +1,67 @@ -package WinForms; - -import System.Drawing.*; -import System.Collections.*; -import System.ComponentModel.*; -import System.Windows.Forms.*; -import System.Data.*; - -/** - * Summary description for Form1. - */ -public class Form1 extends System.Windows.Forms.Form -{ - /** - * Required designer variable. - */ - private System.ComponentModel.Container components = null; - - public Form1() - { - // - // Required for Windows Form Designer support - // - InitializeComponent(); - - // - // TODO: Add any constructor code after InitializeComponent call - // - } - - /** - * Clean up any resources being used. - */ - protected void Dispose(boolean disposing) - { - if (disposing) - { - if (components != null) - { - components.Dispose(); - } - } - super.Dispose(disposing); - } - - #region Windows Form Designer generated code - /** - * Required method for Designer support - do not modify - * the contents of this method with the code editor. - */ - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - this.set_Size(new System.Drawing.Size(300,300)); - this.set_Text("Form1"); - } - #endregion - - /** - * The main entry point for the application. - */ - /** @attribute System.STAThread() */ - public static void main(String[] args) - { - Application.Run(new Form1()); - } -} +package WinForms; + +import System.Drawing.*; +import System.Collections.*; +import System.ComponentModel.*; +import System.Windows.Forms.*; +import System.Data.*; + +/** + * Summary description for Form1. + */ +public class Form1 extends System.Windows.Forms.Form +{ + /** + * Required designer variable. + */ + private System.ComponentModel.Container components = null; + + public Form1() + { + // + // Required for Windows Form Designer support + // + InitializeComponent(); + + // + // TODO: Add any constructor code after InitializeComponent call + // + } + + /** + * Clean up any resources being used. + */ + protected void Dispose(boolean disposing) + { + if (disposing) + { + if (components != null) + { + components.Dispose(); + } + } + super.Dispose(disposing); + } + + #region Windows Form Designer generated code + /** + * Required method for Designer support - do not modify + * the contents of this method with the code editor. + */ + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.set_Size(new System.Drawing.Size(300,300)); + this.set_Text("Form1"); + } + #endregion + + /** + * The main entry point for the application. + */ + /** @attribute System.STAThread() */ + public static void main(String[] args) + { + Application.Run(new Form1()); + } +} diff --git a/build-support/tools/nant/examples/Solution/vjs/WinForms/Form1.resx b/build-support/tools/nant/examples/Solution/vjs/WinForms/Form1.resx index dd0ea4d8..3f337e08 100644 --- a/build-support/tools/nant/examples/Solution/vjs/WinForms/Form1.resx +++ b/build-support/tools/nant/examples/Solution/vjs/WinForms/Form1.resx @@ -1,42 +1,42 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 1.0.0.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 1.0.0.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + diff --git a/build-support/tools/nant/examples/Solution/vjs/WinForms/WinForms.sln b/build-support/tools/nant/examples/Solution/vjs/WinForms/WinForms.sln index da00319a..7e823850 100644 --- a/build-support/tools/nant/examples/Solution/vjs/WinForms/WinForms.sln +++ b/build-support/tools/nant/examples/Solution/vjs/WinForms/WinForms.sln @@ -1,21 +1,21 @@ -Microsoft Visual Studio Solution File, Format Version 8.00 -Project("{E6FDF86B-F3D1-11D4-8576-0002A516ECE8}") = "WinForms", "WinForms.vjsproj", "{84A7C512-CE63-4884-B9FB-DF863EEC3800}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfiguration) = preSolution - Debug = Debug - Release = Release - EndGlobalSection - GlobalSection(ProjectConfiguration) = postSolution - {84A7C512-CE63-4884-B9FB-DF863EEC3800}.Debug.ActiveCfg = Debug|.NET - {84A7C512-CE63-4884-B9FB-DF863EEC3800}.Debug.Build.0 = Debug|.NET - {84A7C512-CE63-4884-B9FB-DF863EEC3800}.Release.ActiveCfg = Release|.NET - {84A7C512-CE63-4884-B9FB-DF863EEC3800}.Release.Build.0 = Release|.NET - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - EndGlobalSection - GlobalSection(ExtensibilityAddIns) = postSolution - EndGlobalSection -EndGlobal +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{E6FDF86B-F3D1-11D4-8576-0002A516ECE8}") = "WinForms", "WinForms.vjsproj", "{84A7C512-CE63-4884-B9FB-DF863EEC3800}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {84A7C512-CE63-4884-B9FB-DF863EEC3800}.Debug.ActiveCfg = Debug|.NET + {84A7C512-CE63-4884-B9FB-DF863EEC3800}.Debug.Build.0 = Debug|.NET + {84A7C512-CE63-4884-B9FB-DF863EEC3800}.Release.ActiveCfg = Release|.NET + {84A7C512-CE63-4884-B9FB-DF863EEC3800}.Release.Build.0 = Release|.NET + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/build-support/tools/nant/examples/Solution/vjs/WinForms/WinForms.vjsproj b/build-support/tools/nant/examples/Solution/vjs/WinForms/WinForms.vjsproj index a69dad9c..a312489e 100644 --- a/build-support/tools/nant/examples/Solution/vjs/WinForms/WinForms.vjsproj +++ b/build-support/tools/nant/examples/Solution/vjs/WinForms/WinForms.vjsproj @@ -1,106 +1,106 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build-support/tools/nant/examples/Solution/vjs/WinForms/vjs.build b/build-support/tools/nant/examples/Solution/vjs/WinForms/vjs.build index 4d22b34e..951bc169 100644 --- a/build-support/tools/nant/examples/Solution/vjs/WinForms/vjs.build +++ b/build-support/tools/nant/examples/Solution/vjs/WinForms/vjs.build @@ -1,27 +1,27 @@ - - - - - - - - - - - - - - - - - - - - - - - - Output file doesn't exist in ${expected.output} - - + + + + + + + + + + + + + + + + + + + + + + + + Output file doesn't exist in ${expected.output} + + \ No newline at end of file diff --git a/build-support/tools/nant/examples/Solution/vjs/default.build b/build-support/tools/nant/examples/Solution/vjs/default.build index 534e1e9f..a1eb910b 100644 --- a/build-support/tools/nant/examples/Solution/vjs/default.build +++ b/build-support/tools/nant/examples/Solution/vjs/default.build @@ -1,11 +1,11 @@ - - - - - - - - - - - + + + + + + + + + + + diff --git a/build-support/tools/nant/examples/StyleTask/SimpleExtensionObject/SimpleExtension.build b/build-support/tools/nant/examples/StyleTask/SimpleExtensionObject/SimpleExtension.build index 068da14b..6281ce71 100644 --- a/build-support/tools/nant/examples/StyleTask/SimpleExtensionObject/SimpleExtension.build +++ b/build-support/tools/nant/examples/StyleTask/SimpleExtensionObject/SimpleExtension.build @@ -1,25 +1,25 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + diff --git a/build-support/tools/nant/examples/StyleTask/SimpleExtensionObject/SimpleExtension.cs b/build-support/tools/nant/examples/StyleTask/SimpleExtensionObject/SimpleExtension.cs index f703193f..9baa13c7 100644 --- a/build-support/tools/nant/examples/StyleTask/SimpleExtensionObject/SimpleExtension.cs +++ b/build-support/tools/nant/examples/StyleTask/SimpleExtensionObject/SimpleExtension.cs @@ -1,12 +1,12 @@ -using System; - -//Calculates the circumference of a circle given the radius. -public class Calculate { - - private double circ = 0; - - public double Circumference(double radius){ - circ = Math.PI*2*radius; - return circ; - } +using System; + +//Calculates the circumference of a circle given the radius. +public class Calculate { + + private double circ = 0; + + public double Circumference(double radius){ + circ = Math.PI*2*radius; + return circ; + } } \ No newline at end of file diff --git a/build-support/tools/nant/examples/StyleTask/SimpleExtensionObject/SimpleExtension.dll b/build-support/tools/nant/examples/StyleTask/SimpleExtensionObject/SimpleExtension.dll index 409ff4f7..ee4e0205 100644 Binary files a/build-support/tools/nant/examples/StyleTask/SimpleExtensionObject/SimpleExtension.dll and b/build-support/tools/nant/examples/StyleTask/SimpleExtensionObject/SimpleExtension.dll differ diff --git a/build-support/tools/nant/examples/StyleTask/SimpleExtensionObject/circle.xsl b/build-support/tools/nant/examples/StyleTask/SimpleExtensionObject/circle.xsl index 6559d004..a40e843c 100644 --- a/build-support/tools/nant/examples/StyleTask/SimpleExtensionObject/circle.xsl +++ b/build-support/tools/nant/examples/StyleTask/SimpleExtensionObject/circle.xsl @@ -1,16 +1,16 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build-support/tools/nant/examples/StyleTask/SimpleExtensionObject/circles.xml b/build-support/tools/nant/examples/StyleTask/SimpleExtensionObject/circles.xml index 695a3573..9b8b4bda 100644 --- a/build-support/tools/nant/examples/StyleTask/SimpleExtensionObject/circles.xml +++ b/build-support/tools/nant/examples/StyleTask/SimpleExtensionObject/circles.xml @@ -1,10 +1,10 @@ - - -12 -75.398223686155 - - -37.5 -235.61944901923448 - + + +12 +75.398223686155 + + +37.5 +235.61944901923448 + \ No newline at end of file diff --git a/build-support/tools/nant/examples/UserTask/UserTask.cs b/build-support/tools/nant/examples/UserTask/UserTask.cs index b55ff3ae..339a99b2 100644 --- a/build-support/tools/nant/examples/UserTask/UserTask.cs +++ b/build-support/tools/nant/examples/UserTask/UserTask.cs @@ -1,31 +1,31 @@ -using NAnt.Core; -using NAnt.Core.Attributes; - -namespace NAnt.Examples.Tasks { - [TaskName("usertask")] - public class TestTask : Task { - #region Private Instance Fields - - private string _message; - - #endregion Private Instance Fields - - #region Public Instance Properties - - [TaskAttribute("message", Required=true)] - public string FileName { - get { return _message; } - set { _message = value; } - } - - #endregion Public Instance Properties - - #region Override implementation of Task - - protected override void ExecuteTask() { - Log(Level.Info, _message.ToUpper()); - } - - #endregion Override implementation of Task - } -} +using NAnt.Core; +using NAnt.Core.Attributes; + +namespace NAnt.Examples.Tasks { + [TaskName("usertask")] + public class TestTask : Task { + #region Private Instance Fields + + private string _message; + + #endregion Private Instance Fields + + #region Public Instance Properties + + [TaskAttribute("message", Required=true)] + public string FileName { + get { return _message; } + set { _message = value; } + } + + #endregion Public Instance Properties + + #region Override implementation of Task + + protected override void ExecuteTask() { + Log(Level.Info, _message.ToUpper()); + } + + #endregion Override implementation of Task + } +} diff --git a/build-support/tools/nant/examples/UserTask/default.build b/build-support/tools/nant/examples/UserTask/default.build index 97c1db25..5214fc64 100644 --- a/build-support/tools/nant/examples/UserTask/default.build +++ b/build-support/tools/nant/examples/UserTask/default.build @@ -1,28 +1,28 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build-support/tools/nant/examples/examples.build b/build-support/tools/nant/examples/examples.build index ea05d884..6f50beae 100644 --- a/build-support/tools/nant/examples/examples.build +++ b/build-support/tools/nant/examples/examples.build @@ -1,16 +1,16 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/build-support/tools/nant/schema/nant.xsd b/build-support/tools/nant/schema/nant.xsd index f2a6ad20..fb5685f7 100644 --- a/build-support/tools/nant/schema/nant.xsd +++ b/build-support/tools/nant/schema/nant.xsd @@ -1,11 +1,19 @@ - + - NAnt schema generated at 10/14/2006 16:12:51 + NAnt schema generated at 08/17/2010 19:32:03 + + + + + + + + @@ -19,10 +27,6 @@ - - - - @@ -33,11 +37,6 @@ - - - - - @@ -45,9 +44,12 @@ - - - + + + + + + @@ -75,15 +77,14 @@ - + - @@ -92,6 +93,24 @@ + + + + + + + + + + + + + + + + + + @@ -120,8 +139,9 @@ - + + @@ -130,6 +150,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -138,6 +205,7 @@ + @@ -147,6 +215,7 @@ + @@ -154,6 +223,20 @@ + + + + + + + + + + + + + + @@ -171,6 +254,7 @@ + @@ -181,6 +265,7 @@ + @@ -203,48 +288,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -262,6 +305,7 @@ + @@ -271,6 +315,7 @@ + @@ -304,6 +349,7 @@ + @@ -312,6 +358,7 @@ + @@ -321,6 +368,7 @@ + @@ -329,6 +377,7 @@ + @@ -366,6 +415,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -409,6 +548,7 @@ + @@ -489,12 +629,14 @@ + + @@ -533,7 +675,7 @@ - + @@ -557,7 +699,10 @@ + + + @@ -565,6 +710,7 @@ + @@ -700,12 +846,14 @@ + + @@ -739,12 +887,14 @@ + + @@ -752,55 +902,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -836,6 +937,7 @@ + @@ -1084,94 +1186,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1285,6 +1299,7 @@ + @@ -1401,6 +1416,7 @@ + @@ -1410,29 +1426,100 @@ - - - - - - - - + - + - - + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1515,6 +1602,7 @@ + @@ -1555,9 +1643,12 @@ + + + @@ -1596,6 +1687,14 @@ + + + + + + + + @@ -1609,10 +1708,6 @@ - - - - @@ -1623,11 +1718,6 @@ - - - - - @@ -1635,9 +1725,12 @@ - - - + + + + + + @@ -1665,15 +1758,14 @@ - + - @@ -1693,6 +1785,14 @@ + + + + + + + + @@ -1706,10 +1806,6 @@ - - - - @@ -1720,11 +1816,6 @@ - - - - - @@ -1732,9 +1823,12 @@ - - - + + + + + + @@ -1762,15 +1856,14 @@ - + - @@ -1829,6 +1922,14 @@ + + + + + + + + @@ -1842,10 +1943,6 @@ - - - - @@ -1856,11 +1953,6 @@ - - - - - @@ -1868,9 +1960,12 @@ - - - + + + + + + @@ -1898,15 +1993,14 @@ - + - @@ -2099,6 +2193,19 @@ + + + + + + + + + + + + + @@ -2118,19 +2225,6 @@ - - - - - - - - - - - - - @@ -2183,6 +2277,7 @@ + @@ -2231,6 +2326,14 @@ + + + + + + + + @@ -2244,10 +2347,6 @@ - - - - @@ -2258,11 +2357,6 @@ - - - - - @@ -2270,9 +2364,12 @@ - - - + + + + + + @@ -2300,19 +2397,20 @@ - + + + + - - @@ -2320,9 +2418,9 @@ + - @@ -2333,6 +2431,14 @@ + + + + + + + + @@ -2346,10 +2452,6 @@ - - - - @@ -2360,11 +2462,6 @@ - - - - - @@ -2372,9 +2469,12 @@ - - - + + + + + + @@ -2402,19 +2502,20 @@ - + + + + - - @@ -2422,10 +2523,10 @@ + -