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

Reply via email to