Hi Sean,

I like your idea, but I think we need to give it some more thought.

I think MSBuild also has something similar, but I haven't yet looked into
it. Anyone know more about what they use ?

I'd definitely prefer having something fileset-like instead of a simple
property to store the list of output files in.

Gert

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Foy, Sean
> Sent: zaterdag 29 oktober 2005 16:34
> To: 'nant-developers@lists.sourceforge.net'
> Subject: [nant-dev] Solution task feature proposal (with 
> patch): write list of output s to a property
> 
> I'd like to be able to access a list of outputs generated by 
> the execution
> of the solution task. Attached is a patch that implements 
> this feature using
> NAnt properties. 
> 
> The solution task now maintains a list of all outputs (and 
> also a list of
> just the assemblies it compiles) during its execution. Three 
> new optional
> properties provide access to this information:
>     outputassembliesproperty -- Name of a property whose 
> value should be set
> to a list of assemblies produced during the execution of this task.
>     outputfilesdelim -- String used to separate filenames for
> outputfilesproperty and outputassembliesproperty. ":" is the default.
>     outputfilesproperty -- Name of a property whose value 
> should be set to a
> list of output files produced during the execution of this task.
> 
> Here's an example use of the new feature:
> ---
>     <solution configuration="${configuration}" 
> solutionfile="iDeal.sln"
> failonerror="true" verbose="${verboseP}" 
> outputfilesproperty="outputFiles"
> outputfilesdelim=":" outputassembliesproperty="outputAssemblies">
>         <assemblyfolders failonempty="true">
>             <include name="${dependency-path}/**" />
>         </assemblyfolders>
>     </solution>
>     <echo message="We could feed the following list to Ndepend:" />
>     <foreach item="String" in="${outputAssemblies}" delim=":"
> property="filename">
>         <echo message="output: ${filename}" />
>     </foreach>
> ---
> 
> Comments, criticisms, suggestions?
> 
> Sean Foy
> 
> 



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to