Bookmark Topic Watch Topic
  • New Topic

Compiler Error Log  RSS feed

 
Ankit V Agrawal
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
 
Peter Lawrey
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Report post to moderator
That is an interesting requirement. Why do you want the compiler errors in Excel format?
 
Rob Spoor
Sheriff
Posts: 21135
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
This is the exact same problem as this one, so I'm closing this thread.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!