list.jsp revision bc5d2cd5e6e3de30179760927321533c24aba395
581N/ASee LICENSE.txt included in this distribution for the specific
581N/Afile and include the License file at LICENSE.txt.
581N/A--%><%@ page import = "javax.servlet.*,
1507N/A Project activeProject = Project.getProject(resourceFile);
581N/A Cookie[] cookies = request.getCookies();
1151N/A project = cookie.getValue();
581N/A for (String aproj : project.split(" ")) {
1715N/A if (activeProject.getPath().equalsIgnoreCase(aproj)) {
1025N/A cookie.setPath(context + "/");
1025N/A response.addCookie(cookie);
738N/A String[] files = resourceFile.list();
581N/A if(readMes != null && readMes.size() > 0) {
1895N/A File xdir = new File(environment.getDataRootPath() + "/xref" + path);
581N/A response.sendError(404, "Revision not found");
581N/A FileAnalyzerFactory a = AnalyzerGuru.find(basename);
581N/A Genre g = AnalyzerGuru.getGenre(a);
581N/A response.sendError(404, "Revision not found");
581N/A a = AnalyzerGuru.find(in);
581N/A g = AnalyzerGuru.getGenre(a);
581N/A %><div id="src">Binary file [Click <a href="<%=context%>/raw<%=path%>?r=<%=rev%>">here</a> to download] </div><%
581N/A if (g == Genre.PLAIN) {
581N/A Annotation annotation = annotate ? HistoryGuru.getInstance().annotate(resourceFile, rev) : null;
581N/A } else if (g == Genre.IMAGE) {
581N/A } else if (g == Genre.HTML) {
581N/A %> <h3 class="error">IO Error</h3> <p> <%=e.getMessage() %> </p> <%
599N/A } else if(g == Genre.IMAGE) {
817N/A %><div id="src"> Binary file [Click <a href="<%=context%>/raw<%=path%>?r=<%=rev%>">here</a> to download] </div><%
599N/A File xrefSource = new File(environment.getDataRootFile(), "/xref");
599N/A if (xrefFile.exists()) {
933N/A FileAnalyzerFactory a = AnalyzerGuru.find(basename);
933N/A Genre g = AnalyzerGuru.getGenre(a);
933N/A a = AnalyzerGuru.find(bin);
933N/A g = AnalyzerGuru.getGenre(a);
933N/A if (g == Genre.IMAGE) {
933N/A } else if( g == Genre.HTML) {
738N/A } else if(g == Genre.PLAIN) {
738N/A Annotation annotation = annotate ? HistoryGuru.getInstance().annotate(resourceFile, rev) : null;