There sure is a bug. Just making the fix now. Thanks for the report.

Ian
Ramón Casanova wrote:

Hello,



I’m trying this task, but it seems that option /I isn’t translated
correctly.



                       <midl filename="Test.idl" tlb="Test.tlb"
header="Test.h" iid='Test_i.c' verbose="true” Oi="cf" env="win32">

<options>

                                  <option name="/I"
value='"${project.msxml4base}\inc"'/>

</options>

</midl>



The output is



NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 26/12/2003)

Copyright (C) 2001-2003 Gerry Shaw

http://nant.sourceforge.net



Buildfile: file:///C:/Astra1v1/src/common/Test/default.build

Target(s) specified: build



build:



[midl] Contents of C:\DOCUME~1\RCASAN~1\CONFIG~1\Temp\tmp50.tmp

/nologo

/env win32

/Oicf

/tlb Test.tlb

/header Test.h

/iid Test_i.c

option "C:\Archivos de programa\MSXML 4.0\inc"

Test.idl



    [midl] Starting 'midl.exe
(@"C:\DOCUME~1\RCASAN~1\CONFIG~1\Temp\tmp50.tmp")' in
'C:\Astra1v1\src\common\Test'

           midl : command line warning MIDL1009 : unknown argument ignored
"Test.idl"

           midl : command line error MIDL1001 : cannot open input file
option



BUILD FAILED



Thanks.






--
Ian MacLean, Developer, ActiveState, a division of Sophos
http://www.ActiveState.com




-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to