DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35571>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35571

           Summary: JspC misinterprets uriRoot when executed as ant task
           Product: Tomcat 5
           Version: Nightly Build
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


If JspC is called during an Ant build, relative values for uriRoot are resolved
incorrectly if Ant has not been launched from the same directory as the build
file.  This will also occur if the <ant> task is used to call a sub-project in
another directory.

This is because uriRoot is resolved against the current working directory rather
than the basedir for the Project.

Adding a setProject(Project) setter and if set, using project.getBaseDir() to
resolve the uriRoot fixes this.  Will submit patch.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to