[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

Quoting problems


I've notice a problem with being unable to quote %classpath% and %1 in
JSPServlet.java.  I doubt anyone on a sane platform has noticed this, but I
run a development platform on Win32 Apache w/ JServ.  The installed path
includes a space (Program Files).  When a -classpath option is added to a
compiler or when the name of the file is passed for compilation, the invoked
system shell splits the command into multiple arguments.  The obvious
solution is to just quote this, but I cant because the servlet would see
"%classpath%" not %classpath%.  Also adding a space before and after dont
work as the argument includes a for %1, is not accepted by all compilers
(javac comes to mind) when that foreward space is there.

Any chance we can just get %classpath% replacement.  I'll gladly write the
code and submit it if that's what's needed.

-- Aaron