[ http://issues.apache.org/jira/browse/HADOOP-405?page=comments#action_12424984 ] Doug Cutting commented on HADOOP-405: -------------------------------------
I agree with Konstantin: the build should not modify anything in the src tree. Instead of the copy, you can add <jspcompile jspfiles="../browseDirectory.jsp" .../>. http://tomcat.apache.org/tomcat-5.5-doc/jasper/docs/api/org/apache/jasper/JspC.html > 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
