Seeing how we already have nant.filename I can't really see the harm in also adding a nant.home environment variable that would do what Tomas wants.
You can see the list of variables that nant is suppose to define here: http://nant.sourceforge.net/help/fundamentals/fog0000000082.html Also to use an environment variable you can also use ${sys.env.NANT_HOME} after calling the sysinfo task to import all the environment variables. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On > Behalf Of Bernard Vander Beken > Sent: Sat, June 1, 2002 10:47 AM > To: Tomas Restrepo; NAnt Developers > Subject: Re: [nant-dev] New Nant Property > > > Tomas, > > You could set the desired NAnt path as needed before starting > a build using a simple batch file. > > Bernard > > ----- Original Message ----- > From: "Tomas Restrepo" <[EMAIL PROTECTED]> > To: "NAnt Developers" <[EMAIL PROTECTED]> > Sent: Saturday, June 01, 2002 6:45 PM > Subject: Re: [nant-dev] New Nant Property > > > > Hi Brad, > > > > > and it will be properly referenced. I added this to NAnt a little > > > while > > ago > > > to make building my unit tests easier. I don't think it's > > > unreasonable > to > > > expect that NAnt be on the PATH. :) > > > > I know, but in my case, at least, that's hardly so, since I keep > > around three different NAnt versions at any time (the > latest snapshot, > > the one > I'm > > modifying, and the fully modified version I use for work), so > > depending on things being on the path is kind of problematic :) > > > > I admit this is hardly useful for the general public, but it could > > ease > the > > lives of those actively hacking on nant ;) > > > > -- > > Tomas Restrepo > > [EMAIL PROTECTED] > > > > > > _______________________________________________________________ > > > > Don't miss the 2002 Sprint PCS Application Developer's Conference > > August 25-28 in Las Vegas -- > http://devcon.sprintpcs.com/adp/index.cfm > > > > > _______________________________________________ > > Nant-developers mailing list [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/nant-developers > > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's > Conference August 25-28 in Las Vegas -- > http://devcon.sprintpcs.com/adp/index.cfm > > > _______________________________________________ > Nant-developers mailing list [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-developers > _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
