ServletContext sContext = new JspCServletContext(logWriter, baseUrl);
ServletConfig sConfig = new MockServletConfig(sContext);
Options options = createOptions(sContext, sConfig, info);
JspRuntimeContext rtContext = new JspRuntimeContext(sContext, options);
JspServletWrapper sWrapper = makeWrapper(sContext, options, rtContext);
JspCompilationContext cContext = createJspCompilationContext(info, sContext, options,
rtContext, sWrapper, new StringWriter());
logCompilation(info.getJspSource(), info.getClassOutputDir());
compileJspToJava(sWrapper, cContext);
File javaFile = new File(info.getJavaSource());
assertTrue("Failed to generate .java source code to " + javaFile.getAbsolutePath(),