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