[GRADLE-631] Error message on syntax error needs improvement Created: 11/Sep/09  Updated: 04/Jan/13  Resolved: 24/Nov/10

Status: Resolved
Project: Gradle
Affects Version/s: 0.8
Fix Version/s: 0.9-rc-1

Type: Improvement
Reporter: Russel Winder Assignee: Hans Dockter
Resolution: Fixed Votes: 0


 Description   

The code:

dependencies {
  compile group: 'org.jboss.netty', name: 'netty', version '3.1.3.GA'
}

leads to an error message like:

Cause: startup failed, build_gradle_be4bd1520059cb0a5c2ecbe00f72347f: 31: expecting '}', found '3.1.3.GA' @ line 31, column 60.

which really isn't very helpful. The problem is the missing : but the error message isn't even on the right track.



 Comments   
Comment by Hans Dockter [ 13/Sep/09 ]

We depend on the quality of the Groovy compiler error message here. This issue might be rather a Groovy than a Gradle one.

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