[GRADLE-341] stdout capture discards empty lines Created: 29/Dec/08  Updated: 04/Jan/13  Resolved: 07/Jan/09

Status: Resolved
Project: Gradle
Affects Version/s: 0.5
Fix Version/s: 0.5.1

Type: Bug
Reporter: Adam Murdoch Assignee: Adam Murdoch
Resolution: Fixed Votes: 0


 Comments   
Comment by Hans Dockter [ 06/Jan/09 ]

I can't reproduce this. If I put the following in the build.gradle file.

println("Gradle")
println("")
println("0.5.1")

I get the following output (when run with -d). Without -d I also get the empty line.

23:04:15.562 [main] INFO  Console out - Gradle
23:04:15.563 [main] INFO  Console out - 
23:04:15.563 [main] INFO  Console out - 0.5.1
Comment by Adam Murdoch [ 06/Jan/09 ]

Interesting. I run that exact same code and I don't get the empty line. Are you sure you're using 0.5?

Comment by Hans Dockter [ 07/Jan/09 ]

You are right. I have missed the fact that you have already changed it in trunk.

Anyway, I can't remember why I thought it is a good idea to skip empty lines at all. I will merge this to RB-0.5.

Generated at Wed Jun 30 11:27:41 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.