[ http://issues.apache.org/jira/browse/HADOOP-405?page=comments#action_12424747 ] Devaraj Das commented on HADOOP-405: ------------------------------------
Yes, the file browseDirectory.jsp need not be there in src\webapps\dfs directory. It is anyway overwritten with a copy from src\webapps\datanode during the build process. Only one copy need to be there in svn. I think the *.jsp files have to be there in the src\webapps\* directories for the jsp compilation to complete successfully. Not sure whether we can avoid that copying. > Duplicate browseDirectory.jsp > ----------------------------- > > Key: HADOOP-405 > URL: http://issues.apache.org/jira/browse/HADOOP-405 > Project: Hadoop > Issue Type: Bug > Components: dfs > Affects Versions: 0.4.0 > Reporter: Konstantin Shvachko > Priority: Minor > Fix For: 0.5.0 > > > I found 2 identical files > src\webapps\datanode\browseDirectory.jsp > and > src\webapps\dfs\browseDirectory.jsp > And there is a line in build.xml that makes the copy > <copy file="${src.webapps}/datanode/browseDirectory.jsp" > todir="${src.webapps}/dfs/"/> > That does not seem right. If one of them is a copy of another, then only one > should be in svn. > Another thing is that while copying files to the build/ directory is OK, > copying files around within > the source directories makes things complicated. Is there a way to avoid that? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
