wood burning stoves
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 Java Interview Guide this week in the Jobs Discussion 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: 20
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: java.io.IOException: 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: http://aspose.com/file-tools
subject: JSP Precompilation using ANT
It's not a secret anymore!