Summary: JspC misinterprets uriRoot when executed as ant task
Product: Tomcat 5
Version: Nightly Build
OS/Version: Windows XP
AssignedTo: [hidden email] ReportedBy: [hidden email]
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
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.