# Need a newline between :compileJava and path/to/error

**URL:** <https://discuss.gradle.org/t/need-a-newline-between-compilejava-and-path-to-error/1230>\
**Category:** Old Forum Archive\
**Created:** [August 2, 2014, 1:03am UTC](https://discuss.gradle.org/t/need-a-newline-between-compilejava-and-path-to-error/1230 "2014-08-02T01:03:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iceback](https://avatars.discourse-cdn.com/v4/letter/i/8491ac/32.png) [@iceback](https://discuss.gradle.org/u/iceback)\
**Post date:** [August 2, 2014, 1:03am UTC](https://discuss.gradle.org/t/need-a-newline-between-compilejava-and-path-to-error/1230/1 "2014-08-02T01:03:00Z")

</div>

I have a feeling I’m the only one that would agree I’ve found a bug, and it should be easy enough for me to fix for myself if I could get gradle itself into eclipse.

I use emacs for most of my development. The first compiler error in output of ‘gradle compileJava’ needs a newline between “:compileJava” and the file:linenumber

:compileJava/p/src/main/java/jpsgcs/pipe/SGSDistributer.java:378: error: ‘;’ expected

int currentRun = getRunsLeft()

Subsequent errors all start on a newline

------------------------------------------------------------ Gradle 2.0 ------------------------------------------------------------

Build time:

2014-07-01 07:45:34 UTC Build number: none Revision:

b6ead6fa452dfdadec484059191eb641d817226c

Groovy:

2.3.3 Ant:

Apache Ant™ version 1.9.3 compiled on December 23 2013 JVM:

1.8.0-ea (Oracle Corporation 25.0-b63) OS:

Linux 2.6.32-431.20.5.el6.x86\_64 amd64

---

<div class="post-metadata">

**Author:** ![quidryan](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/quidryan/32/73_2.png) [@quidryan](https://discuss.gradle.org/u/quidryan)\
**Post date:** [August 2, 2014, 4:04am UTC](https://discuss.gradle.org/t/need-a-newline-between-compilejava-and-path-to-error/1230/2 "2014-08-02T04:04:00Z")

</div>

I’ve seen the same problem for the :javadoc task
