[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Home]
AW: One small problem using GNUJSP 1.0 with Apache 1.3.12/JServ 1.1.2 on WIN NT 4.0
Sorry, again. Hit the send button by accident.
Some where between gnujsp and javac and your installation
must be a problem.
A bit of background:
When you request a jsp, gnujsp looks if the page has been
hasn't been compiled or if it has been modified since the
last compiliation. If either condition is true, gnujsp
will at first generate a java file in scratchdir, then it
calls builtin-javac to compile the source.
builtin-javac is a class delivered by sun and ibm that
allows to compile java files without a call to an external
program. -sourcepath is an option for builtin-java that
defines the root for the source files, if you use relative
pathnames.
Try to remove the double quotes around the destination
directory and the source file:
javac -classpath
"c:\gnujsp-1.0.0\lib\gnujsp10.jar;c:\gnujsp-1.0.0\lib\servlet-2.0-plus.jar;C
:\Program Files\Apache
JServ1.1.2\ApacheJServ.jar;c:\jdk1.2.2\lib\tools.jar;c:\jsdk2.0\lib\jsdk.jar
" -g -d C:\jsptemp -verbose C:\jsptemp\jsp___2fdate_2ejsp.java
If this doesn't work, try to work on the syntax on the command
line until you find the cause.
P.S.:
Once you are past this, you will have further trouble because the
scratchdir must be part of the classpath argument to builtin-javac
(where i can't see it) and the repositories.