Kevin,

Do you have the namespace defined for visual studio intellisense or such in
the file that includes other files?

Damir


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin Dickover
Sent: Friday, December 12, 2003 4:55 PM
To: 'Nant (E-mail)'
Subject: RE: [Nant-users] Including external properties files

I have used to external files as well.  However I find that targets defined
in an include file can be called but they never actually do anything.  Is
this behavior a bug or by design?  If it is by design that should be
documented...


Kevin Dickover

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jean Rajotte
Sent: Friday, December 12, 2003 10:47 AM
To: 'Daniel Bron'; 'Nant (E-mail)'
Subject: RE: [Nant-users] Including external properties files


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



-------------------------------------------------------
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

Reply via email to