Alex Rivera | Logout

Is there a way to dynamically load a properties file in NAnt?

Asked 2008-09-16T20:47:26.280
20

I want to load a different properties file based upon one variable.

Basically, if doing a dev build use this properties file, if doing a test build use this other properties file, and if doing a production build use yet a third properties file.

Edit
Report

1 Answer

0

The way I've done this kind of thing is to include seperate build files depending on the type of build using the nant task. A possible alternative might be to use the iniread task in nantcontrib.

answered 2008-09-16T21:06:56.497

Your Answer