Daniel, The properties file is just another build file. As you can include build files, there are several ways you can achieve what you want:
A) In your master build file, include the properties file <include buildfile="${userpath}/config.xml" /> B) Include the build file from the user's file with properties <include buildfile="..\common\daily.build.xml" /> <!-- define user specific properties after the main file is included, so that we can override any defaults --> <property name="userprop" value="userval" /> ... C) Execute the build file from the user's file <property name="userprop" value="userval" /> ... <nant buildfile="${project.build.file}" target="build" inheritall="true"/> The difference between including and executing (via nant task) is in the base folder of the included/executed files. If you need more info, let me know. Cheers, Damir -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Bron Sent: Friday, December 12, 2003 4:37 PM To: Nant (E-mail) Subject: [Nant-users] Including external properties files Hello, I'm new to Nant. Is there any way to include external properties files from a build file? That is, I would like to seperate (global) properties and actions, so different users can have different configurations. -D. Bron ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users