Re: [nant-dev] ILASM Task

2004-07-04 Thread Ian MacLean
Gert Driesen wrote: Now, A few remarks on the task itself : - if you want to allow the task to be used on Mono, you need to add a task section to the NAnt configuration file. done. - the Mono ilasm supports only a very limited commandline interface : Mono ILasm compiler ilasm [options] source-fi

Re: [nant-dev] ILASM Task

2004-07-02 Thread Giuseppe Greco
lt;[EMAIL PROTECTED]>; "Giuseppe Greco" > <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Friday, July 02, 2004 8:58 AM > Subject: Re: [nant-dev] ILASM Task > > >> >> > >> > - Original Message - >> > From: "Ian MacLea

Re: [nant-dev] ILASM Task

2004-07-02 Thread Gert Driesen
- Original Message - From: "Giuseppe Greco" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]> Cc: "Ian MacLean" <[EMAIL PROTECTED]>; "Giuseppe Greco" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>

Re: [nant-dev] ILASM Task

2004-07-02 Thread Giuseppe Greco
> > - Original Message - > From: "Ian MacLean" <[EMAIL PROTECTED]> > To: "Gert Driesen" <[EMAIL PROTECTED]> > Cc: "Giuseppe Greco" <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Friday, July 02,

Re: [nant-dev] ILASM Task

2004-07-01 Thread Gert Driesen
- Original Message - From: "Ian MacLean" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]> Cc: "Giuseppe Greco" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, July 02, 2004 8:30 AM Subject: Re: [nant-dev] ILASM T

Re: [nant-dev] ILASM Task

2004-07-01 Thread Ian MacLean
Gert Driesen wrote: Giuseppe Greco wrote: Ach... I knew, in fact I've used writer.Write everywhere, but not in the WriteOptions method because I've copied the 3-lines 'foreach' statement from CompilerBase... By the way, attached to this email you'll find the definitive source file. than

Re: [nant-dev] ILASM Task

2004-07-01 Thread Giuseppe Greco
Ian, sorry... just to be precise I've removed a 'using' statement that was not required. Here's the very definitive source file. j3d. > Giuseppe Greco wrote: > >>Ach... I knew, in fact I've used writer.Write everywhere, >>but not in the WriteOptions method because I've copied >>the 3-lines 'for

Re: [nant-dev] ILASM Task

2004-07-01 Thread Gert Driesen
- Original Message - From: "Ian MacLean" <[EMAIL PROTECTED]> To: "Giuseppe Greco" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, July 02, 2004 7:41 AM Subject: Re: [nant-dev] ILASM Task > Giuseppe Greco wrote: > > >Ach...

Re: [nant-dev] ILASM Task

2004-07-01 Thread Ian MacLean
Giuseppe Greco wrote: Ach... I knew, in fact I've used writer.Write everywhere, but not in the WriteOptions method because I've copied the 3-lines 'foreach' statement from CompilerBase... By the way, attached to this email you'll find the definitive source file. thanks. I'll look at adding this

[nant-dev] ILASM Task

2004-07-01 Thread Giuseppe Greco
... sorry, in my previous email I forgot to attach the source file... j3d. Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)76 390 60 32 email: [EMAIL PROTECTED] web:www.agamura.com --

Re: [nant-dev] ILASM Task

2004-07-01 Thread Giuseppe Greco
Ach... I knew, in fact I've used writer.Write everywhere, but not in the WriteOptions method because I've copied the 3-lines 'foreach' statement from CompilerBase... By the way, attached to this email you'll find the definitive source file. Do you think it would also be helpful to have the ildasm

Re: [nant-dev] ILASM Task

2004-07-01 Thread Giuseppe Greco
Ian, Here's the source file. j3d. > hmm - that commandline does seem ok. I just tested locally with a test > .il file. I don't have any other ideas right now but if you want to send > me the source I could take a quick look at it. > > > Ian > Giuseppe Greco wrote: > >>Ian, >> >>Here's what NAnt

Re: [nant-dev] ILASM Task

2004-07-01 Thread Ian MacLean
hmm - that commandline does seem ok. I just tested locally with a test .il file. I don't have any other ideas right now but if you want to send me the source I could take a quick look at it. Ian Giuseppe Greco wrote: Ian, Here's what NAnt reports: [ilasm] Starting 'C:\WINDOWS\Microsoft.NET\Frame

Re: [nant-dev] ILASM Task

2004-07-01 Thread Giuseppe Greco
Ian, Here's what NAnt reports: [ilasm] Starting 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\ilasm.exe (/NOLOGO /EXE "/OUTPUT=C:\Home\Projects\temp\.net\ilasm\OddOrEven\OddOrEven.exe" "C:\Home\Projects\temp\.net\ilasm\OddOrEven\MainClass.il")' in 'C:\Home\Projects\temp\.net\ilasm\

Re: [nant-dev] ILASM Task

2004-07-01 Thread Ian MacLean
What does the generated commandline look like ? Just use nant -v to output it or take a look in the debugger. Ian Giuseppe Greco wrote: OK guys, Now the IlasmTask class inherits from ExternalProbramBase... but I'm still unable to get the task working. I always get the following error message: Co

[nant-dev] ILASM Task

2004-07-01 Thread Giuseppe Greco
OK guys, Now the IlasmTask class inherits from ExternalProbramBase... but I'm still unable to get the task working. I always get the following error message: Could not open C:\Home\Projects\temp\.net\ilasm\OddOrEven\MainClass.il The arguments list is OK (I've tried it manually and it does funct

Re: [nant-dev] ILASM Task

2004-06-30 Thread Giuseppe Greco
IL PROTECTED]> >>Sent: Wednesday, June 30, 2004 4:17 PM >>Subject: Re: [nant-dev] ILASM Task >> >> >>>Gert Driesen wrote: >>> >>> >>> >>>>----- Original Message - >>>>From: "Giuseppe Greco" <[EMAIL P

Re: [nant-dev] ILASM Task

2004-06-30 Thread Ian MacLean
Gert Driesen wrote: - Original Message - From: "Ian MacLean" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]> Cc: "Giuseppe Greco" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, June 30, 2004 4:17 PM Su

Re: [nant-dev] ILASM Task

2004-06-30 Thread Gert Driesen
- Original Message - From: "Ian MacLean" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]> Cc: "Giuseppe Greco" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, June 30, 2004 4:17 PM Subject: Re: [nant-dev] ILASM Ta

Re: [nant-dev] ILASM Task

2004-06-30 Thread Ian MacLean
Gert Driesen wrote: - Original Message - From: "Giuseppe Greco" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 30, 2004 3:16 PM Subject: [nant-dev] ILASM Task Hi guys, I've given a lock at the CompilerBase and ExternalProgramBase classes

Re: [nant-dev] ILASM Task

2004-06-30 Thread Gert Driesen
- Original Message - From: "Giuseppe Greco" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 30, 2004 3:16 PM Subject: [nant-dev] ILASM Task > Hi guys, > > I've given a lock at the CompilerBase and > ExternalProgramBase classes

Re: [nant-dev] ILASM Task

2004-06-30 Thread Ian MacLean
Giuseppe Greco wrote: Hi guys, I've given a lock at the CompilerBase and ExternalProgramBase classes... and I think it would be better to modify the CompilerBase class instead of inheriting from ExternalProgramBase... What's your opinion? Its hard to say without seeing what changes you propose m

[nant-dev] ILASM Task

2004-06-30 Thread Giuseppe Greco
Hi guys, I've given a lock at the CompilerBase and ExternalProgramBase classes... and I think it would be better to modify the CompilerBase class instead of inheriting from ExternalProgramBase... What's your opinion? j3d. Giuseppe Greco ::agamura:: phon

Re: [nant-dev] ILASM task

2004-06-30 Thread Giuseppe Greco
lt;[EMAIL PROTECTED]> > To: "Giuseppe Greco" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Wednesday, June 30, 2004 11:35 AM > Subject: Re: [nant-dev] ILASM task > > >> Guis, >> I haven't looked at your source in detail yet but I think t

Re: [nant-dev] ILASM task

2004-06-30 Thread Gert Driesen
I don't think it makes much sense to have this task inherit from CompilerBase anyway, no ? - Original Message - From: "Ian MacLean" <[EMAIL PROTECTED]> To: "Giuseppe Greco" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, June 30,

Re: [nant-dev] ILASM task

2004-06-30 Thread Ian MacLean
Guis, I haven't looked at your source in detail yet but I think the problem is that ilasm.exe doesn't support the use of a response file. The core compilers : csc, vbc etc all take an @ argument: @ Read response file for more options And this is what Compil

[nant-dev] ILASM task

2004-06-30 Thread Giuseppe Greco
Hi all, I've just written the ILASM task, but it does not work (of course, I'm doing something wrong). Giving the following build file: ... the output is: [ilasm] Compiling 3 files to 'C:\Home\Projects\temp\.net\ilasm\OddOrEven\OddOrEven.exe'.

Re: [nant-dev] ILASM Task

2004-06-23 Thread Giuseppe Greco
Not immediately because I'm currently under pressure... I'll give a look at it as soon as possible. j3d. > Its a good idea. Do you feel like taking a stab at it ? > > Ian > > Giuseppe Greco wrote: > >>Hi all, >> >>are there any plans to implement the >>ILASM task? >> >>j3d. >> >>-

Re: [nant-dev] ILASM Task

2004-06-23 Thread Ian MacLean
Its a good idea. Do you feel like taking a stab at it ? Ian Giuseppe Greco wrote: Hi all, are there any plans to implement the ILASM task? j3d. Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)76 390 60 32 email: [EMAIL PROTECTED] web:

[nant-dev] ILASM Task

2004-06-22 Thread Giuseppe Greco
Hi all, are there any plans to implement the ILASM task? j3d. Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)76 390 60 32 email: [EMAIL PROTECTED] web:www.agamura.com ---