Bugs item #1117094, was opened at 2005-02-06 12:20
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1117094&group_id=31650

Category: Functions
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: Jerry Shea (jerryshea3)
Assigned to: Nobody/Anonymous (nobody)
Summary: include buildfile not working as indicated

Initial Comment:
I have tried following the example given on the wiki
and include task documentation for getting  properties
from an include file but it does not seem to read the
properties from the included file correctly. Can anyone
confirm if this is a bug?

test.build file ============
<?xml version="1.0" ?>
<project xmlns="http://nant.sf.net/schema/nant-84.xsd";
name="test">
    <include buildfile="test.include" />
    <property name="foo" value = "build"/>
    <target name="all">
        <echo message="foo=${foo}"/>
    </target>
</project>

test.include ==============
<project name="common build properties" >
    <property name="foo" value = "include"/>
</project>

command line and output ================
C:\temp\nant>"d:\program files\nant-0.85-rc1"\bin\nant all
NAnt 0.85 (Build 0.85.1793.0; rc1; 28/11/2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///C:/temp/nant-bug/test.build
Target(s) specified: all


all:

     [echo] foo=build

BUILD SUCCEEDED

Total time: 0 seconds.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1117094&group_id=31650


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to