wood burning stoves 2.0*
The moose likes JSP and the fly likes Ant Script to compile JSP files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Ant Script to compile JSP files" Watch "Ant Script to compile JSP files" New topic
Author

Ant Script to compile JSP files

Hyndavi Padamata
Greenhorn

Joined: Apr 19, 2007
Posts: 12
Hi,

I need one Ant Script to compile jsp files. Normally using Ant we can make jar files. But i could not find how to compile jsp files using Ant. Can any one help me in that.

Thanks,
Regards,
Hyndavi NP
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

<jspc /> is the task you can use. However, its not as straight forward as that. Depending on how your used includes in your JSP it might be very difficult to compile them outside the container.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Hyndavi Padamata
Greenhorn

Joined: Apr 19, 2007
Posts: 12
Thanks for the reply.

I also found the same in INTERNET. But i found it will not be much useful as you said.

any way thanks once again.

Thanks,
Regards,
Hyndavi NP
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Ant Script to compile JSP files
 
Similar Threads
WEB-INF/classes/_pageflow folder missing using ant scripts
Writing build scripts for Ant
How to compile multiple java file in different package with one script?
Ant in Sun One: problem
JSP Precompile