https://issues.apache.org/bugzilla/show_bug.cgi?id=46400
Summary: jspc does not work correctly if the dectination is windows unc path Product: Tomcat 6 Version: 6.0.14 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Jasper AssignedTo: dev@tomcat.apache.org ReportedBy: hrend...@gmail.com Run the following commands: > cd d:\testunc > java -cp <tomcat;etc> org.apache.jasper.JspC -d \\server001\mytestdir\compiledjsp -webapp \\server001\test\mywebapp -p jsp.precompiled.webapp -source 1.4 -target 1.4 The java classes are generated; but placed to wrong location: d:\mytestdir\compiledjsp The server name is ignored, the directory is created on the current drive. Most probably, the problem is caused by the deprecated File.toURL() method, which does not process UNC paths correctly. For example, in the JspCompilationContext class: protected void createOutputDir() { ... baseUrl = options.getScratchDir().toURL(); ... } -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org