Yep, I would agree that functions are a more powerful way to express these properties. We have talked about this for a while. But I would like to depreciate these over a few builds before actually remove them completely. This will cause some serious problems with peoples' build files (and projects that ship build files). We should offer an easy suggestion to run with them until the user can remove them from the build file. Maybe they can just include a buildfile that creates these properties, that is included at the top of their build file. We could even ship such a depreciated-properties.xml buildfile with the dist so people can easily find the transition statements to get to those old properties.
I know this just lengthens the time we effectively support these properties, but it seems like a much better solution for the end user. What do you think? Plus, there is something to documenting the old properties, and their values. ----- Original Message ----- From: "Gert Driesen" <[EMAIL PROTECTED]> > Hi, > > I'd like to propose deprecating the following built-in properties in favor > of their corresponding functions : > > nant.filename > nant.version > nant.location > nant.project.name > nant.project.buildfile > nant.project.default > nant.platform > nant.platform.win32 > nant.platform.unix > nant.settings.currentframework.description > nant.settings.currentframework.frameworkdirectory > nant.settings.currentframework.sdkdirectory > nant.settings.currentframework.frameworkassemblydirectory > nant.settings.currentframework.runtimeengine > nant.tasks.* > > so that would mean we'd end up having the following not-deprecated built-in > properties : > > nant.project.basedir > nant.onsuccess > nant.onfailure > nant.settings.currentframework > > (although it would be good to at least get rid of the last one too) > > Ofcourse, we'll need to provide decent warning messages to users, and direct > them to the function(s) corresponding to a given property. > > What do you think ? ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users