> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Shawn Oster > Sent: woensdag 29 juni 2005 20:22 > To: nant-developers@lists.sourceforge.net > Subject: [nant-dev] Rational behind not supporting basedir? > > Just posted this over in the users list but this seems more > like a dev question. > > I'm curious what the rational is behind not supporting the standard > basedir attribute of the <project> element? I have quite a few > maintenance scripts that I use to not only build source but also do > sysadmin type functions on my machine and all of them use basedir in > some way. In exploring NAnt every single one of them fails with a > basedir property not defined error.
We do support the "basedir" attribute of the <project> element. We just don't support the basedir property. You should either use the project::get-base-directory() or the nant.project.basedir property Eg. <echo message="base dir = ${project::get-base-directory()}" /> <echo message="base dir = ${nant.project.basedir}" /> > Perhaps this is still on the todo list since NAnt is still beta (not > yet at a 1.0 release)? We're not planning on introducing a basedir property, as you can use one of the alternatives mentioned above. Gert ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers