You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2011/10/27 16:39:55 UTC

DO NOT REPLY [Bug 52100] New: When invoking rhino, Ant does not pass the source line from the ant script for error messages

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.