Unless you have a directory ${TOP}/web/html/jsp/jsp your uribase/uriroot
probably aren't right.
[EMAIL PROTECTED] wrote:
Hi,
I am trying to get our JSPs to be precompiled as part of
our ant build process to catch all syntax errors at compile
time.
The problem I have run into is that we are
Jon,
Thanks for your help. The uribase and uriroot were not set correctly.
Here is the final version that I got working. I had one additional twist
that
I needed to copy the JSP files to another location first using the ant
copy
task.
I set uriroot to the webapps root {dir}/html, and then
Hi,
I am trying to get our JSPs to be precompiled as part of
our ant build process to catch all syntax errors at compile
time.
The problem I have run into is that we are using apache +
tomcat and we have set the following rules in apache httpd.
conf:
JkMount /servlets/* ajp13
JkMount
Hi, Im using Tomcat 5.5.9 and JDK 1.5.0_02. Im trying to precompile the
Liferay Pro Portal 3.2 JSPs using the ant build script found on the apache
web site:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html#Web%20Appl
ication%20Compilation
modified to add jars placed in
for precompiling jsps.
I am using this because I want my jsps to be precompiled and also
because I want the web.xml file to
be populated automatically with all the servlet mappings for the jsps.
It works fine for all the jsp files which are under the directory
${basedir}/web (one specified
i think there should be no space between -d and the path, and no space between the two
paths, i think u must use ; to separate the paths ...
-Original Message-
From: Atreya Basu [mailto:[EMAIL PROTECTED]
Sent: 21. juli 2003 06:09
To: Tomcat Users List
Subject: trouble precompiling JSPs
(dot) ca
-Original Message-
From: Abid Ali Teepo [mailto:[EMAIL PROTECTED]
Sent: July 21, 2003 4:59 AM
To: Tomcat Users List
Subject: RE: trouble precompiling JSPs
i think there should be no space between -d and the path, and no space
between the two paths, i think u must use
Hello,
I'm having some difficulty pre-compiling my JSPs. Could anyone give
some insight into this?
I type:
jspc -d d:/psx_apps/WEB_INF d:\Projects\PSX_Gotter_2\CheckStatus.jsp
and I get:
Exception in thread main java.lang.ArrayIndexOutOfBoundsException: 3
at
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html#Web%20Application%20Compilation
(didn't work for me though, had some CLASSPATH problems which i didn't
investigate further yet)
At 12:31 13.07.2003 +0800, you wrote:
Hi,
How do you precompile jsps for tomcat? Is it possible to
Hi,
How do you precompile jsps for tomcat? Is it possible to package
compiled jsps in a jar file to be included in the WEB-INF dir of another
war file?
If this is documented somewhere, I'd appreciate a shove in the right
direction.
thanks
Nathan
Priest [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 3:51 PM
Subject: RE: Precompiling JSPs
You should read up on the JspC task:
http://ant.apache.org/manual/OptionalTasks/jspc.html
The JspC task will compile your jsp file to a java servlet (.java
Hello,
I have a build.cmd file that I have had and modified for every project I've done for
years. I should probably go learn ANT or some other build technique but for now I
want to do this the command line way. I'm not even sure if ANT will do what I want.
I want to have my .jsp files made
Email: [EMAIL PROTECTED]
-Original Message-
From: Andoni [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 6:25 PM
To: Tomcat Users List
Subject: Precompiling JSPs
Hello,
I have a build.cmd file that I have had and modified for every project
I've done for years. I should
Have you tried compiling the servlet source files in the work directory?
On Wednesday 18 June 2003 05:25 am, Andoni wrote:
Hello,
I have a build.cmd file that I have had and modified for every project I've
done for years. I should probably go learn ANT or some other build
technique but
Andoni,
I do this in Sun One Studio, where I do all my Java development.
You can compile JSPs just as you can compile java source.
Andy
-Original Message-
From: Andoni [mailto:[EMAIL PROTECTED]
Sent: 18 June 2003 10:25
To: Tomcat Users List
Subject: Precompiling JSPs
Hello
Message-
From: Andy Eastham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 10:37 AM
To: Tomcat Users List
Subject: RE: Precompiling JSPs
Andoni,
I do this in Sun One Studio, where I do all my Java development.
You can compile JSPs just as you can compile java source.
Andy
On 08-09 15:21, Rossen Raykov wrote:
Try something like:
property name=build.compiler value=jikes/
path id=compile.classpath
pathelement location=${java.home}/jre/lib/rt.jar/
pathelement location=${java.home}/lib/tools.jar/
pathelement location=${tomcat.lib}/jasper-compiler.jar/
Hi all,
I'm having some issues with using Ant's jspc task (I have a thread going
on the Ant mailing list), is there any way to manually call the compilation
for Tomcat's build? Somehow, Tomcat must do it, so I figure there has to be
a way to kluge something together that does the same thing?
]
Subject: Precompiling JSPs for Tomcat
Hi all,
I'm having some issues with using Ant's jspc task (I have a
thread going
on the Ant mailing list), is there any way to manually call
the compilation
for Tomcat's build? Somehow, Tomcat must do it, so I figure
there has to be
a way
Hai all,
As suggested I can precompile the jsps to classes,but the problem is
1)With jspc I am able to parse the jsps to java files.Now I can
compile.But tomcat follows its own naming convention when compiling the
jsps to classes upon request(if it is not precompiled).Shall I have to
follow the
Using Tomcat, is there a way like in RESIN, to precompile all jsps ?
Regards,
Stephane
Check out the jspc.bat file shipped with Tomcat.
--- Stéphane_Laurière [EMAIL PROTECTED] wrote:
Using Tomcat, is there a way like in RESIN, to precompile all jsps ?
Regards,
Stephane
=
Wyn Easton
[EMAIL PROTECTED]
__
Do You Yahoo!?
22 matches
Mail list logo