• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSP Precompilation using ANT

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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"
destdir="${output}">
<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
.7.0\lib\ant-launcher.jar;D:\opt\JRun4\lib;C:\j2sdk1.4.2_04\jre\bin;D:\opt\JRun4\bin;D:\Sachin\ANT_Script\apache-ant-1.7.0\lib\ant-antlr.jar;D:\Sachin
\ANT_Script\apache-ant-1.7.0\lib\ant-apache-bcel.jar;D:\Sachin\ANT_Script\apache-ant-1.7.0\lib\ant-apache-bsf.jar;D:\Sachin\ANT_Script\apache-ant-1.7.
0\lib\ant-apache-log4j.jar;D:\Sachin\ANT_Script\apache-ant-1.7.0\lib\ant-apache-oro.jar;D:\Sachin\ANT_Script\apache-ant-1.7.0\lib\ant-apache-regexp.ja
r;D:\Sachin\ANT_Script\apache-ant-1.7.0\lib\ant-apache-resolver.jar;D:\Sachin\ANT_Script\apache-ant-1.7.0\lib\ant-commons-logging.jar;D:\Sachin\ANT_Sc
ript\apache-ant-1.7.0\lib\ant-commons-net.jar;D:\Sachin\ANT_Script\apache-ant-1.7.0\lib\ant-contrib-1.0b3.jar;D:\Sachin\ANT_Script\apache-ant-1.7.0\li
b\ant-jai.jar;D:\Sachin\ANT_Script\apache-ant-1.7.0\lib\ant-javamail.jar;D:\Sachin\ANT_Script\apache-ant-1.7.0\lib\ant-jdepend.jar;D:\Sachin\ANT_Scrip
t\apache-ant-1.7.0\lib\ant-jmf.?

Please help me on this. It is urgent.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
-Ben
 
Let me tell you a story about a man named Jed. He made this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic