Re: Compiling JSP with SMAP

2010-03-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Strange... I found this sitting in my Unsent folder. Here it is, a little late. On 3/24/2010 8:40 AM, TWönlìnè wrote: 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

Re: Compiling JSP with SMAP

2010-03-25 Thread Konstantin Kolinko
2010/3/24 TWönlìnè twonlinevi...@gmail.com: @Mercy, Thanks I managed to create SMAP files, using this code in my BUILD.XML - which compiles JSPs (...) Now it is creating .SMAP files. SMAPs are appended to the *.class files. That is why you do not see them as separate files when

Compiling JSP with SMAP

2010-03-24 Thread TWönlìnè
I'm using apache-tomcat-6.0.20 with JASPER 2 I need to compile a web project (Eclipse WAR application) which is JSP to JAVA source files. I'm successfully generating JAVA files from JSP files (Used JASPER 2), but now i need to get mapping from JSP lines to JAVA lines. I tried using SMAP

Re: Compiling JSP with SMAP

2010-03-24 Thread Mercy
Hi TWönlìnè, Did you a project named Server with a sub folder whose name is like Tomcat v6.0 Server at localhost-config? If you had, please set these values into web.xml in. Kind regards, Mercy TWönlìnè wrote: I'm using apache-tomcat-6.0.20 with JASPER 2 I need to compile a

Re: Compiling JSP with SMAP

2010-03-24 Thread TWönlìnè
@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... /