Re: Read JSR 045 SMAP Files Produced by Jasper

2011-06-12 Thread Illya Kysil
Eric Sheridan gmail.com> writes: > > List, > > I am developing an application that programmatically leverages the > Apache Jasper JspC facilities to translate JSP source files into their > Java (Servlet) equivalents. For this application, I need to be able to > translate a Java line number back

Re: Read JSR 045 SMAP Files Produced by Jasper

2011-03-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark and Eric, On 3/15/2011 5:14 AM, Mark Thomas wrote: > On 14/03/2011 20:53, Eric Sheridan wrote: >> SmapParser parser = new SmapParser(inputStream); >> Smap smap = parser.parse(); >> int jspLineNumber = smap.getJspLineNumber(javaLineNumber); >> >>

Re: Read JSR 045 SMAP Files Produced by Jasper

2011-03-15 Thread Mark Thomas
On 14/03/2011 20:53, Eric Sheridan wrote: > SmapParser parser = new SmapParser(inputStream); > Smap smap = parser.parse(); > int jspLineNumber = smap.getJspLineNumber(javaLineNumber); > > Does any such code exist? If so, would you mind pointing me to > it? If not, any alternative solutions to look

RE: Read JSR 045 SMAP Files Produced by Jasper

2011-03-14 Thread Martin Gainty
/* org.apache.jasper.JspCompilationContext implements either of 2 JSP Compilers in TC7 */ if (options.getCompiler() == null) { jspCompiler = createCompiler("org.apache.jasper.compiler.JDTCompiler"); if (jspCompiler == null) { jspC