Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Precompilation using ANT

 
SachinJ Joshi
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • 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.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic