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=37515>.
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=37515





------- Additional Comments From [EMAIL PROTECTED]  2006-04-14 21:26 -------
I just tested this again with 5.5.15 -- and it is still broken.

The issue is that if I use a precompilation Ant script, containing something 
like:

  <target name="-jspc"
          unless="nojspc">
    <!-- Description: Produces Java sources for the JSP files specified by
'jspFileList' -->
    <taskdef classname="org.apache.jasper.JspC" name="jasper2" >
      <classpath id="jspc.classpath">
        <pathelement location="${java.home}/../lib/tools.jar"/>
        <fileset dir="${tomcatHome}/bin">
          <include name="*.jar"/>
        </fileset>
        <fileset dir="${tomcatHome}/server/lib">
          <include name="*.jar"/>
        </fileset>
        <fileset dir="${tomcatHome}/common/lib">
          <include name="*.jar"/>
        </fileset>
      </classpath>
    </taskdef>
    <condition property="jspcVerbosityLevel" value="999">
      <istrue value="${verboseJspc}"/>
    </condition>
    <property name="jspcVerbosityLevel" value="0"/>
    <jasper2 uriroot="${docBase}" smapSuppressed="false"
             outputDir="${jspcJavaOutputDir}"
             webXmlFragment="${jspcJavaOutputDir}/generated_web.xml"
             compilerSourceVM="${sourceVer}" compilerTargetVM="${targetVer}"
             validateXml="false" listErrors="true" 
verbose="${jspcVerbosityLevel}"
             jspFiles="${jspFileList}"/>
  </target>

everything works fine *except* SMAP output appears to always be suppressed --
even though I'm explicitly using smapSuppressed="false".

I use the fragment above in the context of a larger, Ant script.  Breakpoints I
set in JSPs with my IDE (NetBeans 5) are ignored.  I remove one of the
precompiled classes and reload the page in the browser -- and suddenly the
breakpoints work just fine.  I also note there is a notable size difference
between class file sizes in these cases (e.g. 6.96KB vs. 7.54KB in a test case).
 Thus overall I'm pretty sure the SMAP data is getting suppressed when invoked
from precompilation, even though I don't know how to verify this with certainty
from a class file.

-- 
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