[prev in list] [next in list] [prev in thread] [next in thread]
List: groovy-scm
Subject: [groovy-scm] [jira] Closed: (GROOVY-1595) MultipleCompilationErrorsException
From: "Gavin Grover (JIRA)" <jira () codehaus ! org>
Date: 2006-12-25 5:08:10
Message-ID: 40354367.1167023290042.JavaMail.haus-jira () codehaus01 ! managed ! contegix ! com
[Download RAW message or body]
[ http://jira.codehaus.org/browse/GROOVY-1595?page=all ]
Gavin Grover closed GROOVY-1595.
--------------------------------
Resolution: Fixed
This was fixed in RC2.
Thanks.
> MultipleCompilationErrorsException from nested shell doesn't give extra info in RC1
> -----------------------------------------------------------------------------------
>
> Key: GROOVY-1595
> URL: http://jira.codehaus.org/browse/GROOVY-1595
> Project: groovy
> Issue Type: Bug
> Affects Versions: 1.0-RC-1
> Environment: WinXP, jre1.5.0_07, groovy-1.0-JSR-06
> Reporter: Gavin Grover
> Assigned To: Guillaume Laforge
>
> In RC1, when calling a nested GroovyShell to run() or evaluate() a script with an \
> error, the MultipleCompilationErrorsException thrown doesn't give the extra info \
> such as line number. It did in JSR-06. Eg, for File1.groovy:
> new GroovyShell().run( new File('File2.groovy') )
> and File2.groovy:
> oink, oink //syntax error
> Running RC1's groovy.ui.GroovyMain on File1.groovy gives error message:
> Caught: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup \
> failed, at File1.run(File1.groovy:1)
> at File1.main(File1.groovy)
> but running JSR6's GroovyMain on it gives:
> Caught: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup \
> failed,
> File2.groovy: 1: unexpected token: , @ line 1, column 5.
> oink, oink
> ^
> 1 error
> at File1.run(File1.groovy:1)
> at File1.main(File1.groovy)
> The same situation occurs if we evaluate() instead of run() File2.groovy.
> I've given this priority "Major" because, unlike other Jira issues I've reported, \
> this one stops me debugging easily with RC1 when I could with JSR-06. Thanks, Gavin \
> Grover
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: \
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
<hr/>
<p>
To unsubscribe from this list please visit:
</p>
<p>
<a href="http://xircles.codehaus.org/manage_email">http://xircles.codehaus.org/manage_email</a>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic