Hi I want to log the compile time error in a xls file
source file :
public class HelloWorld {
public static void main(String args[]){
System.out.println("hi")
}
}
compiler output :
src\HelloWorld.java:6: ';' expected
}
^
1 error
What I want :
src\HelloWorld.java 6 ';' expected
in an xls file with
first cell : src\HelloWorld.java
second cell : 6
third cell ';' expected
Can any one please help me
If we use ant script than please provide with the code for the same. If there any other method than lets discuss that