tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37084] - JspC from ant fails on JSPs that use custom taglib
Date Mon, 11 Dec 2006 23:28:40 GMT
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=37084>.
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=37084


tschafer@hotmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |




------- Additional Comments From tschafer@hotmail.com  2006-12-11 15:28 -------
I've found that adding  caching="false"  to the jasper2 task will work around
this problem.

Updated jasper2 call:
<jasper2
  validateXml="false"
  caching="false"
  uriroot="${basedir}/${webapp.dir}"
  webXmlFragment="${basedir}/${build.dir}/WEB-INF/generated_web.xml"
  outputDir="${basedir}/${build.src.dir}" />


Should this work without the caching="false"  ?
I'll post an example project if that's still needed.


Thanks to Grégoire Rolland for providing an example of a jasper2 call that works
with tomcat 5.5.20 jspc

His example posted here for posterity:
<jasper2
    trimspaces="true" 
    caching="false" 
    compilersourcevm="1.5" 
    compilertargetvm="1.5" 
    poolingenabled="false"  
    classdebuginfo="false" 
    genstringaschararray="true" 
    validateXml="false" 
    addWebXmlMappings="true" 
    smapdumped="false"
    smapsuppressed="true"
    verbose="99"
    webxml="${root.dir}/${ant.project.name}/${web}/WEB-INF/web.xml"
    uriroot="${root.dir}/${ant.project.name}/${web}"
   
webXmlFragment="${root.dir}/${ant.project.name}/${web}/WEB-INF/generated_web.xml"
    outputDir="${root.dir}/${ant.project.name}/${web}/WEB-INF/src" />

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


Mime
View raw message