public static void createPage(IFile file) {
String templateFileName = Util.getLocalTemplate(file);
+ String cssUrl = Util.getLocalCssUrl(file);
String srcBasePath = Util.getWikiTextsPath(file);
String binBasePath = Util.getProjectsWikiOutputPath(file.getProject(), WikiEditorPlugin.HTML_OUTPUT_PATH);
createPage(templateFileName, file, binBasePath, srcBasePath);
} catch (CoreException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
+ } catch (Exception e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
}
} else {
String fname = file.getName().toLowerCase();