Yep, I totally missed this code when I was looking through the task.

I've updated the StyleTask to expand the name and expression of the
<param>. I've also added some documentation that this feature exists.

Note to devs: We still need to add unit tests. I have not done so yet.

Thanks for the catch Gordon.

> -----Original Message-----
> Subject: Re: [Nant-users] using document function in Nant
> 
> I've been messing with <style> recently, and you can pass parameters
to
> the style task.  I'm converting .csproj to .build files in my build on
the
> fly this way:
> 
> <style in="SomeProject\SomeProject.csproj"
> out="SomeProject\SomeProject.build"
> style="vsconvert.xsl">
>    <param name="excludes" expression="SomeFile.cs"/>
> </style>
> <!-- build the converted project -->
> <nant buildfile="SomeProject\SomeProject.build" target="build"
> inheritall="true" />
> 
> The problem I found is that the child tags of the style task don't
have
> properties converted, so I had to modify the source to do that. I've
> attached the modified version.  I plan on submitting this to the NAnt
> committers once things calm down here at work.



-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to