list.jsp revision 1186
1008N/ASee LICENSE.txt included in this distribution for the specific
1008N/Afile and include the License file at LICENSE.txt.
1821N/A if (request.getCharacterEncoding() == null) {
1821N/A request.setCharacterEncoding("UTF-8");
1821N/A cfg = PageConfig.get(request);
1821N/A Annotation annotation = cfg.getAnnotation();
1821N/A int r = annotation.getWidestRevision();
1821N/A int a = annotation.getWidestAuthor();
1008N/A%><script type="text/javascript">/* <![CDATA[ */
1008N/Adocument.pageReady.push(function() { pageReadyList();});
1821N/A cfg = PageConfig.get(request);
1821N/A String rev = cfg.getRequestedRevision();
1821N/A File resourceFile = cfg.getResourceFile();
1821N/A String path = cfg.getPath();
1821N/A String basename = resourceFile.getName();
1821N/A // see cfg.resourceNotAvailable()
1821N/A Project activeProject = Project.getProject(resourceFile);
1821N/A String cookieValue = cfg.getRequestedProjectsAsString();
1821N/A Set<String> projects = cfg.getRequestedProjects();
1821N/A cookieValue = cookieValue.length() == 0
1821N/A : activeProject.getDescription() + '/' + cookieValue;
0N/A // TODO hmmm, projects.jspf doesn't set a path
1821N/A response.addCookie(cookie);
1821N/A DirectoryListing dl = new DirectoryListing(cfg.getEftarReader());
1821N/A String[] files = cfg.getResourceFileList();
1821N/A if (files.length != 0) {
1821N/A File[] catfiles = cfg.findDataFiles(readMes);
1821N/A for (int i=0; i < catfiles.length; i++) {
1821N/A%><h3><%= readMes.get(i) %></h3>
1821N/A } else if (rev.length() != 0) {
1821N/A FileAnalyzerFactory a = AnalyzerGuru.find(basename);
1821N/A Genre g = AnalyzerGuru.getGenre(a);
1821N/A in = HistoryGuru.getInstance()
1821N/A error = e.getMessage();
1821N/A a = AnalyzerGuru.find(in);
1821N/A g = AnalyzerGuru.getGenre(a);
0N/A rev.substring(2) %></span>
0N/A if (g == Genre.PLAIN) {
1008N/A Annotation annotation = cfg.getAnnotation();
1008N/A //annotation.writeTooltipMap(out);
1008N/A AnalyzerGuru.writeXref(a, r, out, defs,
1008N/A annotation, Project.getProject(resourceFile));
1821N/A } else if (g == Genre.IMAGE) {
1008N/A } else if (g == Genre.HTML) {
1008N/A error = e.getMessage();
1821N/A } else if (g == Genre.IMAGE) {
1008N/A if (!cfg.annotate()) {
0N/A xrefFile = cfg.findDataFile();
1821N/A FileAnalyzerFactory a = AnalyzerGuru.find(basename);
1821N/A Genre g = AnalyzerGuru.getGenre(a);
1821N/A a = AnalyzerGuru.find(bin);
1821N/A g = AnalyzerGuru.getGenre(a);
1821N/A if (g == Genre.IMAGE) {
1821N/A } else if ( g == Genre.HTML) {
1821N/A } else if (g == Genre.PLAIN) {
1821N/A Definitions defs = IndexDatabase.getDefinitions(resourceFile);
1821N/A Annotation annotation = cfg.getAnnotation();
1821N/A AnalyzerGuru.writeXref(a, r, out, defs, annotation,
1821N/A Project.getProject(resourceFile));