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: [email protected]
        ReportedBy: [email protected]
    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.

Reply via email to