Hello NAnt devs,
My friend and I are .NET developers and have been successfully using NAnt for our build scripts for some time. However, there have been several cases where ours scripts would have benefited if NAnt had the concept of collections such as a linked list or a dictionary. In place of those, we have used delimited strings in properties but that can only take you so far. In light of this, we are interested in developing a library of tasks and functions to add collections to NAnt. We have only begun thinking about this, so nothing is concrete yet, but we are thinking of syntax along these lines: <dict-add dictionary="MyDictionary" key="MyKey1" value="MyValue1"> <dict-add dictionary="MyDictionary" key="MyKey2" value="MyValue2"> <echo message="My value is: ${dict::get-value('MyDictionary', 'MyKey1')}"/> <dict-foreach dictionary="MyDictionary" key-property="_key"> <!-- Do something --> </dict-foreach> I was wondering if there is already a separate project, or support within NAnt, for something along these lines. If so, we would probably not start from scratch but would use or extend what the community has already developed. Have you heard of anything along these lines? If we did develop this, would you be interested in incorporating it in the NAnt or NAntContrib libraries? Any advice or words of warning if we were to start this project? Thanks, ~ Justin Kohlhepp ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers