ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52100] New: When invoking rhino, Ant does not pass the source line from the ant script for error messages
Date Thu, 27 Oct 2011 14:39:55 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52100

             Bug #: 52100
           Summary: When invoking rhino, Ant does not pass the source line
                    from the ant script for error messages
           Product: Ant
           Version: 1.8.2
          Platform: PC
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: bimargulies@gmail.com
    Classification: Unclassified


This is a very minor point.

/Users/benson/x/oap/it/ant-blocks/service-control.xml:53:
javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError:
ReferenceError: "property" is not defined. (<Unknown source>#14) in <Unknown
source> at line number 14

Why not give Rhino the pathname of the ant build file, and line number (in this
case 53), so that the Javascript exception points directly to the right place,
instead of requiring the reader to be an adding machine?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message