Bugs item #987438, was opened at 2004-07-08 11:16
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=987438&group_id=31650

Category: Tasks
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: David Chu (chudq)
Assigned to: Nobody/Anonymous (nobody)
Summary: fileset id & refid not working for link task

Initial Comment:
I defined a fileset and link task like this:

  <fileset id="task.files.link" >
    <include name="\Program Files\MyApp\bin\libapp.lib" />
    <include name="\Program Files\MyApp\bin\libarb.lib" />
    <include name="${Intermediate.dir}\mod_command.obj" />
    <include name="${Intermediate.dir}\mod_entry.obj" />
    <include name="${Res.File}" />
  </fileset>


  <target name="link" depends="compile" >
    <link
output=".\..\..\..\..\..\..\bin/${App.Name}.dll"
options='${build.link.options}' >
      <sources refid="task.files.link" />
    </link>
  </target>

some property values are not displayed here. When I
compile my project, I got the following error:

link:


BUILD FAILED

C:\Program Files\MySource\mysln.build(136,6):
DataType child element 'Sources' in class
'NAnt.Core.Element+AttributeConfigurator' must define a
set method.

If I directly define files under <sources> in task
link, it works OK. It seems like that the tag of
sources with refid does not work for link task. I
implement fileset with id for cl task and copy task,
and they all work.

David Chu

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

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


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to