NAnt and Ant are to completely separate tools. Ant is focussed on Java programs while NAnt on .NET programs (afaik). For compiling .NET programs you could use the DotNet AntLib instead of NAnt.
(thats 2ct from a man who never used these ;) "CreateProcess: NAnt.exe eg error=2" means, that a java programm tries to start "NAnt.exe" but it could not find that. You could fix that by installing NAnt and adding it to your PATH variable. Jan >-----Ursprüngliche Nachricht----- >Von: query [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 28. Juni 2007 09:29 >An: ant >Betreff: NANT with ANT > > >Hi, > >I am new to NANT. > >To use NANT tasks within ANT buildfile, is it necessary to >install NANT or is it enough to have ant-dotnet-1.0.jar? > >Currently when I tried to use <cl> task in <nant>,it is >showing below error. >Execute failed: java.io.IOException: CreateProcess: NAnt.exe eg error=2 > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]