logging - Jump from log message to line in Eclipse when running application with Gradle -
eclipse creates links source files if format log messages this:
// clicking in eclipse's console window // take line 29 of myclass.java system.out.println("(myclass.java:29)");
this works fine when compiling , running code through eclipse using standard "java application" run configuration.
yet when running same programme via gradle's application plugin while same text printed in eclipse's console window there's no link anymore, plain text.
is there way links in eclipse when running application using gradle?
thanks much in advance.
i'm using
eclipse luna sr1 (4.4.1) gradle ide 3.6.2.201410090835-release
as quick-and-dirty solution can utilize stacktrace console functionality eclipse: http://help.eclipse.org/luna/index.jsp?topic=%2forg.eclipse.jdt.doc.user%2freference%2fviews%2fconsole%2fref-stacktrace_console.htm
eclipse logging gradle gradle-eclipse
No comments:
Post a Comment