Bugs item #987438, was opened at 2004-07-08 11:16 Message generated for change (Comment added) made by chudq 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 ---------------------------------------------------------------------- >Comment By: David Chu (chudq) Date: 2004-07-08 11:22 Message: Logged In: YES user_id=921577 By the way, the tag of <sources> is as same as the tag of <fileset>. There is not much help information for <sources>. Why not use <fileset> to replace <sources> and make <sources> deprecated? ---------------------------------------------------------------------- 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