Parsing file names / line numbers from ANT build output?
Hi,
I'm using IntelliJ to work on an ActionScript 2 project that has its own ANT scripts for MTASC. Error messages in the ANT output are of the form
FILEPATH\FILENAME.as(NNN): some error happened
where NNN is the line number. It would be really helpful if IntelliJ could recognise this in the output and make it clickable, but it only seems to recognise FILEPATH\FILENAME.as:NNN (right?)
Any (relatively) easy way to make this happen?
Thanks in advance,
Peter
请先登录再写评论。
Hi Peter,
Currently ant's console is not extensible with custom message parsers.
As a workaround you can create an external tool for running your ant script (see Settings | External tools). Then you can specify custom format pattern for console output.