it's not a property file per se, but a project file that defines properties, like so:
c:\_myprops.build ------8<------ <project name="locally-defined porperties" > <property name="include.this" value="included value of a prop" /> </project> ------8<------ then you just include this file like so (note the <include> task can't be inside a target ): <include buildfile="c:\_myprops.build" /> <target name="test-propfile" > <echo message="included prop: ${include.this}" /> </target> HTH > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Daniel Bron > Sent: Friday, December 12, 2003 10:37 > 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/n> ant-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