tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TWönlìnè <twonlinevi...@gmail.com>
Subject Re: Compiling JSP with SMAP
Date Wed, 24 Mar 2010 12:40:50 GMT
@Mercy, Thanks....

I managed to create SMAP files,
using this code in my BUILD.XML - which compiles JSPs

<taskdef classname="org.apache.jasper.JspC" name="jasper2" >
        <classpath refid="tomcat.classpath" />
    </taskdef>

<target name="jasper.jspc">
        <echo message="Starting JASPER/JSPC compiler..." />
        <jasper2
                 validateXml="false"
                 failonerror="false"
                 package="${module.name}"
                 smapSuppressed="false"
                 smapDumped="true"
                 compilertargetvm="1.6"
                 compilersourcevm="1.6"
                 classdebuginfo="true"
                 listErrors="true"
                 verbose="9"
                 uriroot="${web.dir}"
                 webXmlFragment="${tool.work.dir}/generated_web.xml"
                 outputDir="${tool.web.scr.dir}" />
    </target>

Now it is creating .SMAP files.

Now a new problem arise,
How to read a .SMAP file,
I know its map from JSP to JAVA but how the numbers are associated, (can
someone explain....)
is there an easier way to do this?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message