You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/07/01 06:06:08 UTC

DO NOT REPLY [Bug 35571] New: - JspC misinterprets uriRoot when executed as ant task

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: jason.pettiss@CatalisHealth.com


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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: DO NOT REPLY [Bug 35571] New: - JspC misinterprets uriRoot when executed as ant task

Posted by Natasha Hasmani <nh...@eatertainment.com>.
Thank-you for your e-mail.

Please note that i will be away from the office starting Wednesday June
29th, returning Thursday July 7th, with no access to email.  In my absence,
kindly contact Cheri Dueck at cdueck@eatertainment.com

Kind Regards,

Natasha Hasmani
Senior Event Manager 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org