You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/01/14 04:57:33 UTC

DO NOT REPLY [Bug 16049] New: - jsp compiler doesn't create directory structure that matches package name

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=16049>.
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=16049

jsp compiler doesn't create directory structure that matches package name

           Summary: jsp compiler doesn't create directory structure that
                    matches package name
           Product: Tomcat 4
           Version: 4.1.18
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: Adnan.Music@ssmb.com.au


example 1
jspc.sh -uriroot .  -p com.mycompany -d /outdir  bar.jsp
creates bar_jsp.java in /outdir instead in /outdir/com/mycompany 

example 2
jspc.sh -uriroot .  -p com.mycompany -d /outdir  jsp/bar.jsp
creates bar_jsp.java in /outdir/jsp instead in /outdir/com/mycompany 

Also -dd option behaves exactly the same as -d

Proposed patch brings behaviour of jspc in tomcat-4.1.18 in line
with tomcat-3.3 in respect to output directory.

After applying the patch, and running either example, generated bar_jsp_java is 
created in /outdir/com/mycompany 

Running either example with -dd instead of -d will put the file in /outdir

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>