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/12/01 05:18:56 UTC

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

The following issue has been updated:

    Updater: Jason van Zyl (mailto:jason@zenplex.com)
       Date: Sun, 30 Nov 2003 10:18 PM
    Changes:
             environment changed to 
    ---------------------------------------------------------------------
For a full history of the issue, see:

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

---------------------------------------------------------------------
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

 Original Estimate: 4 hours
 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: Sun, 30 Nov 2003 10:18 PM

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