If you are trying to run MTASC from ant and are seeing the message ‘error running mtasc compiler’ this means that ant cant find the mtasc executable. There are 2 ways to remedy this.
The first is to add the folder with MTASC in to your system path. The second is to use the ‘mtasc’ attribute of Simon Wackers mtasc ant task to point it at mtasc.
If your mtasc executable is in D:devtools then you will need to define the task something like this :
<mtasc mtasc=”D:DevToolsmtasc.exe” …./>
I’ve written a more in depth guide to using ASDT and MTASC with ant over at osflash.org