This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes JSP Precompilation using ANT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP Precompilation using ANT" Watch "JSP Precompilation using ANT" New topic

JSP Precompilation using ANT

SachinJ Joshi

Joined: Jun 05, 2008
Posts: 19
I am trying to do pre-compilation of JSPs using ANT. I am using JRUN server on my local. following is the entry in my build.xml for jspc command.

<jspc srcdir="${compile1}/consumer"
<include name="**/*.jsp"/>[/B]

where in consumer i m having my JSPs. and output is my destination. I got following error:

D:\Sachin\ANT_Script\build.xml:128: CreateProcess: C:\j2sdk1.4.2_04\jre\bin\java.exe -classpath D:\Sachin\ANT_Script\apache-ant-1

Please help me on this. It is urgent.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Originally posted by SachinJ Joshi:
Please help me on this. It is urgent.

SachinJ Joshi
Welcome to JavaRanch!

In an effort to help you get the most from our forums, we've compiled a
list of tips for asking questions here. You can find the list in our
FAQ section here.
In particular please see:
EaseUp to find out why adding words like "urgent" or "asap" to your posts or subject lines can often slow down or halt responses to your questions altogether. Often the only responses you'll get when you do this are posts talking about the use of the word "urgent"; something you obviously don't want.

Again, welcome to JavaRanch and good luck with your question.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: JSP Precompilation using ANT
Similar Threads
Ant's JSPC task and Tomcat 4.1.24LE - Broken?
Ant error on trying to run an taskdef
javax.mail Error CreateProcess:
uriRoot implicitly set to