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

Re: AW: gnujsp 1.0.0 conf


Thanks for your help but it's still not working, error mesg:

Error compiling source file: file:/e:\apache
group\apache\htdocs\jspexamples\hello.jsp

builtin-javac -verbose -classpath E:\JSDK2.0\lib\jsdk.jar;e:\apache
group\Apache JServ\ApacheJServ.jar;E:\Apache Group\Apache
JServ\servlet-2.0-plus.jar;e:\apache group\Apache
JServ\gnujsp10.jar;c:\kiva\kds\bin\..\classes;c:\kiva\kds\bin\..\lib\classes.zip;c:\kiva\kds\bin\..\lib\classes.jar;c:\kiva\kds\bin\..\lib\rt.jar;c:\kiva\kds\bin\..\lib\i18n.jar;E:/Apache
Group/Apache JServ/beans -d E:/Apache Group/Apache JServ/jsp E:/Apache
Group/Apache JServ/jsp\jsp___2fjspexamples_2fhello_2ejsp.java
javac: invalid argument: Group/Apache
use: javac [-g][-O][-debug][-depend][-nowarn][-verbose][-classpath
path][-nowrite][-deprecation][-d dir][-J] file.java...

Seems like javac can't use directory names with a space in it. Using
backslash gives me the same problem. Should it be forward or back slashes?
How to overcome this problem?


Ralph Einfeldt wrote:

> You should uncomment this line:
>         repositories=e:\apache group\Apache JServ\jsp
>
> These classes and Interfaces should already be in
> the servlet-2.0-plus.jar.
>
> In mod_jserv.properties you should replace
>         ApJServAction .jsp /servlets/org.gjt.jsp.JspServlet
>         ApJServAction .jsp /servlets/gnujsp10
> with
>         ApJServAction .jsp /servlets/gnujsp
>
> and have this line in zone.properties (section Servlet Aliases)
>         servlet.gnujsp.code=org.gjt.jsp.JspServlet
>
> the repository argument is no longer supportet (?)
>         servlet.gnujsp10.initArgs=repository=E:\Apache Group\Apache
> JServ\jsp
>
> this is how my servlet.gnujsp10.initArgs look like:
>
> servlet.gnujsp.initArgs=pagebase=V:/site/develop/testneu/htdocs
> servlet.gnujsp.initArgs=scratchdir=V:/site/develop/testneu/generated_sou
> rces
> servlet.gnujsp.initArgs=jserv=true
> servlet.gnujsp.initArgs=debug=true
> servlet.gnujsp.initArgs=checkuri=true
> servlet.gnujsp.initArgs=compiler=builtin-javac -verbose -classpath
> %classpath%;V:/site/develop/testneu/classes;V:/site/develop/testneu/gene
> rated_classes -d %scratchdir% %source%
>