You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/09/05 11:40:11 UTC

[jira] Commented: (MAVEN-380) jexl swallows exceptions and thus maven builds can go awry

The following comment has been added to this issue:

     Author: Vincent Massol
    Created: Fri, 5 Sep 2003 4:38 AM
       Body:
Ben, do you know if this is still an issue?
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-380


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-380
    Summary: jexl swallows exceptions and thus maven builds can go awry
       Type: Bug

     Status: Unassigned
   Priority: Major

 Time Spent: Unknown
  Remaining: 4 hours

    Project: maven
 Components: 
             core
   Fix Fors:
             1.0-beta-9
             1.1
   Versions:
             1.0-beta-9

   Assignee: 
   Reporter: Ben Walding

    Created: Mon, 7 Apr 2003 5:55 AM
    Updated: Wed, 20 Aug 2003 1:49 AM

Description:
If a jexl expression has an exception (eg.  
${pojo.methodThatFailsBadly()}, the exception is swallowed in ASTMethod
around line 58 (this is in the jexl library).


Its failure gives a useless message, then the build continues on it's merry way, ignoring any testing problems that might have occurred.

I propose that we patch jexl (I don't know enough about AST generation to do it easily) such that exceptions can be propagated (wrapped into runtimeexceptions if needs be).




---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org