DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21096>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21096 jspc doesn't maitain package hierarchy Summary: jspc doesn't maitain package hierarchy Product: Ant Version: 1.5.2 Platform: All OS/Version: Other Status: NEW Severity: Critical Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The jspc task (with a value for compiler="jasper41") generates .java files that do not preserve the directory hierarchy as a package hierarchy. Given the following jsp directory structure: a.jsp mydir/a.jsp the jspc task produces: a_jsp.java mydir/a_jsp.java The problem is that both a_jsp.java & mydir/a_jsp.java have the same package declaration. The package declaration is either the value of the "package" task attribute or "org.apache.jsp" if no "package" task attribute value is provided. The fact that the java compiler fails to due to a duplicate class name is the extreme situation, but most compilers will atleast complain about the package structure not matching the file structure. Both the physical file hierarchy and the resulting package structure should be the same. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]