* @exception Exception if an error occurs
*/
public void precompile(String fileName, Environment environment, String markupLanguage, String programmingLanguage)
throws Exception {
ProgramGenerator programGenerator = null;
SourceHandler oldSourceHandler = environment.getSourceHandler();
SourceHandler sourceHandler = null;
try {
if (getLogger().isDebugEnabled()) {
getLogger().debug("XSP generation begin:" + fileName);
}